Fix build on -current (cope with removal of wait union, and remove
bogus duplicate declarations of functions in system headers)
This commit is contained in:
parent
5b93a61d57
commit
e163238c68
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68845
11
chinese/cxterm/files/patch-charproc.c
Normal file
11
chinese/cxterm/files/patch-charproc.c
Normal file
@ -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();
|
11
chinese/cxterm/files/patch-cit2tit.c
Normal file
11
chinese/cxterm/files/patch-cit2tit.c
Normal file
@ -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"
|
12
chinese/cxterm/files/patch-main.c
Normal file
12
chinese/cxterm/files/patch-main.c
Normal file
@ -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
|
11
chinese/cxterm/files/patch-tit2cit.c
Normal file
11
chinese/cxterm/files/patch-tit2cit.c
Normal file
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user