diff options
author | kris <kris@FreeBSD.org> | 2002-10-26 09:25:32 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-10-26 09:25:32 +0800 |
commit | 8121c2b39b1c426ffc473f69970f4e31e86c5fd0 (patch) | |
tree | a1312c2cb0e8b0b0136ad4f0c62d2e180b94541d /chinese | |
parent | d309bc27e5c656571937687bafaaf1f84990f629 (diff) | |
download | freebsd-ports-gnome-8121c2b39b1c426ffc473f69970f4e31e86c5fd0.tar.gz freebsd-ports-gnome-8121c2b39b1c426ffc473f69970f4e31e86c5fd0.tar.zst freebsd-ports-gnome-8121c2b39b1c426ffc473f69970f4e31e86c5fd0.zip |
Fix build on -current (cope with removal of wait union, and remove
bogus duplicate declarations of functions in system headers)
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/cxterm/files/patch-charproc.c | 11 | ||||
-rw-r--r-- | chinese/cxterm/files/patch-cit2tit.c | 11 | ||||
-rw-r--r-- | chinese/cxterm/files/patch-main.c | 12 | ||||
-rw-r--r-- | chinese/cxterm/files/patch-tit2cit.c | 11 |
4 files changed, 45 insertions, 0 deletions
diff --git a/chinese/cxterm/files/patch-charproc.c b/chinese/cxterm/files/patch-charproc.c new file mode 100644 index 000000000000..b4fa4a986dff --- /dev/null +++ b/chinese/cxterm/files/patch-charproc.c @@ -0,0 +1,11 @@ +--- cxterm/charproc.c.orig Fri Oct 25 11:49:49 2002 ++++ cxterm/charproc.c Fri Oct 25 11:52:44 2002 +@@ -108,8 +108,6 @@ + + extern Widget toplevel; + extern void exit(); +-extern char *malloc(); +-extern char *realloc(); + + static void VTallocbuf(); + static int finput(); diff --git a/chinese/cxterm/files/patch-cit2tit.c b/chinese/cxterm/files/patch-cit2tit.c new file mode 100644 index 000000000000..280f7d5d1d91 --- /dev/null +++ b/chinese/cxterm/files/patch-cit2tit.c @@ -0,0 +1,11 @@ +--- utils/cit2tit.c.orig Fri Oct 25 11:56:53 2002 ++++ utils/cit2tit.c Fri Oct 25 11:57:01 2002 +@@ -29,8 +29,6 @@ + #include <ctype.h> + #include <stdio.h> + +-extern char *malloc(), *calloc(), *realloc(); +- + extern char *HZencodeName(); /* from HZutil.c */ + + #include "HZtable.h" diff --git a/chinese/cxterm/files/patch-main.c b/chinese/cxterm/files/patch-main.c new file mode 100644 index 000000000000..1ba7f91b3439 --- /dev/null +++ b/chinese/cxterm/files/patch-main.c @@ -0,0 +1,12 @@ +--- cxterm/main.c.orig Fri Oct 25 11:44:46 2002 ++++ cxterm/main.c Fri Oct 25 11:47:13 2002 +@@ -223,6 +223,9 @@ + #ifndef linux + #include <sgtty.h> + #endif ++#ifdef __FreeBSD__ ++#define USE_POSIX_WAIT ++#endif + #include <sys/resource.h> + #define HAS_UTMP_UT_HOST + #define HAS_BSD_GROUPS diff --git a/chinese/cxterm/files/patch-tit2cit.c b/chinese/cxterm/files/patch-tit2cit.c new file mode 100644 index 000000000000..f9c8dbbdcbce --- /dev/null +++ b/chinese/cxterm/files/patch-tit2cit.c @@ -0,0 +1,11 @@ +--- utils/tit2cit.c.orig Fri Oct 25 11:54:40 2002 ++++ utils/tit2cit.c Fri Oct 25 11:54:50 2002 +@@ -54,8 +54,6 @@ + #include <ctype.h> + #include <stdio.h> + +-extern char *malloc(), *calloc(), *realloc(); +- + extern int HZencode(); /* from HZutil.o */ + extern int HZgetprompt(); /* from HZutil.o */ + |