diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 01:25:32 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 01:25:32 +0000 |
commit | e163238c6820b1341f156acfb92b96096065d8ca (patch) | |
tree | 47ef764d718e139aa672353ce8315b2c48843205 | |
parent | Add #includes needed to unbreak build on -current (diff) |
Fix build on -current (cope with removal of wait union, and remove
bogus duplicate declarations of functions in system headers)
-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 */ + |