diff options
author | hans <hans@pkgsrc.org> | 2012-02-16 16:47:57 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-16 16:47:57 +0000 |
commit | b546c53c83eb5b13e575e062da3b44c972a476e1 (patch) | |
tree | c1ca64dc90f41190c2efdc9c7f508c8800e29d82 /comms/estic/patches | |
parent | d6f049fcd5581cb782d6f13f41cfd36c7be5abae (diff) | |
download | pkgsrc-b546c53c83eb5b13e575e062da3b44c972a476e1.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'comms/estic/patches')
-rw-r--r-- | comms/estic/patches/patch-.._spunk_machine.h | 11 | ||||
-rw-r--r-- | comms/estic/patches/patch-.._spunk_menuedit.h | 12 | ||||
-rw-r--r-- | comms/estic/patches/patch-.._spunk_menuitem.h | 13 | ||||
-rw-r--r-- | comms/estic/patches/patch-.._spunk_str.cc | 12 | ||||
-rw-r--r-- | comms/estic/patches/patch-.._spunk_xsrc_screen.cc | 15 | ||||
-rw-r--r-- | comms/estic/patches/patch-aa | 19 | ||||
-rw-r--r-- | comms/estic/patches/patch-af | 4 | ||||
-rw-r--r-- | comms/estic/patches/patch-ag | 4 | ||||
-rw-r--r-- | comms/estic/patches/patch-ar | 15 | ||||
-rw-r--r-- | comms/estic/patches/patch-devstate.cc | 12 | ||||
-rw-r--r-- | comms/estic/patches/patch-iclog.cc | 12 |
11 files changed, 120 insertions, 9 deletions
diff --git a/comms/estic/patches/patch-.._spunk_machine.h b/comms/estic/patches/patch-.._spunk_machine.h index 821f450e453..694622a55b8 100644 --- a/comms/estic/patches/patch-.._spunk_machine.h +++ b/comms/estic/patches/patch-.._spunk_machine.h @@ -1,4 +1,4 @@ -$NetBSD: patch-.._spunk_machine.h,v 1.1 2011/11/27 19:36:09 joerg Exp $ +$NetBSD: patch-.._spunk_machine.h,v 1.2 2012/02/16 16:47:58 hans Exp $ --- ../spunk/machine.h.orig 2011-11-27 02:08:02.000000000 +0000 +++ ../spunk/machine.h @@ -11,3 +11,12 @@ $NetBSD: patch-.._spunk_machine.h,v 1.1 2011/11/27 19:36:09 joerg Exp $ # error Byte order not defined! #endif +@@ -312,7 +312,7 @@ typedef unsigned u32; + + #ifdef SOLARIS + +-#include <sys/endian.h> ++#include <sys/byteorder.h> + #ifdef _BIG_ENDIAN + # define CPU_BIG_ENDIAN + #else diff --git a/comms/estic/patches/patch-.._spunk_menuedit.h b/comms/estic/patches/patch-.._spunk_menuedit.h new file mode 100644 index 00000000000..1763c5f683f --- /dev/null +++ b/comms/estic/patches/patch-.._spunk_menuedit.h @@ -0,0 +1,12 @@ +$NetBSD: patch-.._spunk_menuedit.h,v 1.1 2012/02/16 16:47:58 hans Exp $ + +--- ../spunk/menuedit.h.orig 1996-11-07 18:06:48.000000000 +0100 ++++ ../spunk/menuedit.h 2012-01-25 18:38:05.997403890 +0100 +@@ -28,6 +28,7 @@ + #include "datetime.h" + #include "charset.h" + ++#undef CS + + + /*****************************************************************************/ diff --git a/comms/estic/patches/patch-.._spunk_menuitem.h b/comms/estic/patches/patch-.._spunk_menuitem.h new file mode 100644 index 00000000000..f018f8292e1 --- /dev/null +++ b/comms/estic/patches/patch-.._spunk_menuitem.h @@ -0,0 +1,13 @@ +$NetBSD: patch-.._spunk_menuitem.h,v 1.1 2012/02/16 16:47:58 hans Exp $ + +--- ../spunk/menuitem.h.orig 1996-12-10 14:41:04.000000000 +0100 ++++ ../spunk/menuitem.h 2012-01-25 18:39:54.872853784 +0100 +@@ -27,7 +27,7 @@ + #include "datetime.h" + #include "charset.h" + +- ++#undef CS + + /*****************************************************************************/ + /* class MenueLine */ diff --git a/comms/estic/patches/patch-.._spunk_str.cc b/comms/estic/patches/patch-.._spunk_str.cc new file mode 100644 index 00000000000..6f966b22ddb --- /dev/null +++ b/comms/estic/patches/patch-.._spunk_str.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-.._spunk_str.cc,v 1.1 2012/02/16 16:47:58 hans Exp $ + +--- ../spunk/str.cc.orig 1996-12-01 11:23:50.000000000 +0100 ++++ ../spunk/str.cc 2012-01-25 18:54:36.312130772 +0100 +@@ -31,6 +31,7 @@ + #include "stream.h" + #include "streamid.h" + ++#undef CS + + + // Register class String diff --git a/comms/estic/patches/patch-.._spunk_xsrc_screen.cc b/comms/estic/patches/patch-.._spunk_xsrc_screen.cc new file mode 100644 index 00000000000..7b90923ce0a --- /dev/null +++ b/comms/estic/patches/patch-.._spunk_xsrc_screen.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-.._spunk_xsrc_screen.cc,v 1.1 2012/02/16 16:47:58 hans Exp $ + +--- ../spunk/xsrc/screen.cc.orig 1996-11-07 18:06:58.000000000 +0100 ++++ ../spunk/xsrc/screen.cc 2012-01-25 18:43:41.244123272 +0100 +@@ -21,6 +21,10 @@ + + #include <string.h> + ++#ifdef __sun ++#include <alloca.h> ++#endif ++ + #include "../cont.h" + #include "../winattr.h" + #include "../environ.h" diff --git a/comms/estic/patches/patch-aa b/comms/estic/patches/patch-aa index 6d858883163..8b48251c821 100644 --- a/comms/estic/patches/patch-aa +++ b/comms/estic/patches/patch-aa @@ -1,7 +1,22 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/02/10 18:34:23 tron Exp $ +$NetBSD: patch-aa,v 1.2 2012/02/16 16:47:58 hans Exp $ --- estic.cc.orig Wed Mar 5 21:20:42 1997 +++ estic.cc Sat Feb 10 18:38:34 2001 +@@ -1,5 +1,4 @@ +-/*****************************************************************************/ +-/* */ ++/*****************************************************************************/ /* */ + /* ESTIC.CC */ + /* */ + /* (C) 1995-97 Ullrich von Bassewitz */ +@@ -71,6 +70,7 @@ + #endif + #include "estic.h" + ++#undef FS + + + /*****************************************************************************/ @@ -80,9 +80,9 @@ @@ -15,7 +30,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/02/10 18:34:23 tron Exp $ static const char VersionStr [] = "1.50"; static const char VersionID [] = "ESTIC-Version"; -@@ -138,7 +138,7 @@ +@@ -138,7 +138,7 @@ const u16 msCLIWinWarning IstecApp::IstecApp (int argc, char* argv []): Program (argc, argv, CreateMenueBar, CreateStatusLine, "estic"), StatusFlags (0), diff --git a/comms/estic/patches/patch-af b/comms/estic/patches/patch-af index 5444132c865..bb3f1b80825 100644 --- a/comms/estic/patches/patch-af +++ b/comms/estic/patches/patch-af @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.1.1.1 2001/02/10 18:34:23 tron Exp $ +$NetBSD: patch-af,v 1.2 2012/02/16 16:47:58 hans Exp $ --- make/freebsd-x.mak.orig Fri Jan 31 03:57:24 1997 +++ make/freebsd-x.mak Sat Feb 10 18:38:34 2001 @@ -13,7 +13,7 @@ $NetBSD: patch-af,v 1.1.1.1 2001/02/10 18:34:23 tron Exp $ -CFLAGS = -DFREEBSD -g -Wall -I$(INCDIR) -x c++ -L /usr/X11R6/lib -fno-implicit-templates -DEXPLICIT_TEMPLATES - -+CFLAGS += -DFREEBSD -Wall -I$(INCDIR) -fno-implicit-templates -DEXPLICIT_TEMPLATES ++CFLAGS += $(CPPFLAGS) -Wall -I$(INCDIR) -fno-implicit-templates -DEXPLICIT_TEMPLATES # ------------------------------------------------------------------------------ # Implicit rules diff --git a/comms/estic/patches/patch-ag b/comms/estic/patches/patch-ag index 53ae0eb3e40..461ab12e59e 100644 --- a/comms/estic/patches/patch-ag +++ b/comms/estic/patches/patch-ag @@ -1,4 +1,4 @@ -$NetBSD: patch-ag,v 1.4 2006/09/08 07:35:50 joerg Exp $ +$NetBSD: patch-ag,v 1.5 2012/02/16 16:47:58 hans Exp $ --- ../spunk/make/freebsd-x.mak.orig 1996-11-24 22:33:26.000000000 +0100 +++ ../spunk/make/freebsd-x.mak @@ -10,7 +10,7 @@ $NetBSD: patch-ag,v 1.4 2006/09/08 07:35:50 joerg Exp $ # Flags for the gnu compiler -CFLAGS = -DFREEBSD -DUSE_OLD_TTY -g -Wall -x c++ -I /usr/X11R6/include -fno-implicit-templates -DEXPLICIT_TEMPLATES -+CFLAGS += -DFREEBSD -Wall -I$(X11BASE)/include -fno-implicit-templates -DEXPLICIT_TEMPLATES ++CFLAGS += $(CPPFLAGS) -Wall -I$(X11BASE)/include -fno-implicit-templates -DEXPLICIT_TEMPLATES LIB = spunk.a ZIPFILE = spunk.zip diff --git a/comms/estic/patches/patch-ar b/comms/estic/patches/patch-ar index 41b345e4103..93783549660 100644 --- a/comms/estic/patches/patch-ar +++ b/comms/estic/patches/patch-ar @@ -1,8 +1,19 @@ -$NetBSD: patch-ar,v 1.1.1.1 2001/02/10 18:34:23 tron Exp $ +$NetBSD: patch-ar,v 1.2 2012/02/16 16:47:58 hans Exp $ --- ../spunk/menue.cc.orig Sun Jan 26 18:17:32 1997 +++ ../spunk/menue.cc Sat Feb 10 18:38:35 2001 -@@ -495,8 +495,8 @@ +@@ -26,6 +26,10 @@ + #include <stdlib.h> + #endif + ++#ifdef __sun ++#include <alloca.h> ++#endif ++ + #include "keydef.h" + #include "screen.h" + #include "winattr.h" +@@ -495,8 +499,8 @@ void GenericMenue::DynamicRight () i16 GenericMenue::GetChoice () { diff --git a/comms/estic/patches/patch-devstate.cc b/comms/estic/patches/patch-devstate.cc new file mode 100644 index 00000000000..b3201341545 --- /dev/null +++ b/comms/estic/patches/patch-devstate.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-devstate.cc,v 1.1 2012/02/16 16:47:58 hans Exp $ + +--- devstate.cc.orig 1997-01-31 03:57:14.000000000 +0100 ++++ devstate.cc 2012-01-25 18:49:00.031935640 +0100 +@@ -38,6 +38,7 @@ + #include "iccom.h" + #include "iclog.h" + ++#undef DS + + + /*****************************************************************************/ diff --git a/comms/estic/patches/patch-iclog.cc b/comms/estic/patches/patch-iclog.cc new file mode 100644 index 00000000000..70c474fa4ba --- /dev/null +++ b/comms/estic/patches/patch-iclog.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-iclog.cc,v 1.1 2012/02/16 16:47:58 hans Exp $ + +--- iclog.cc.orig 2012-01-25 18:32:44.447476635 +0100 ++++ iclog.cc 2012-01-25 18:50:27.905634296 +0100 +@@ -31,6 +31,7 @@ + #include "iccli.h" + #include "iclog.h" + ++#undef DS + + + /*****************************************************************************/ |