diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-25 13:27:41 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-25 13:27:41 +0000 |
commit | f13a4b29b1705211bafaddb1c679601f9fc53ae1 (patch) | |
tree | f07bb3a2b4b39445ff89c240339320b57d3eeaa3 /x11/xmon | |
parent | a021c166410a65c24f9f5bb315818811891667a4 (diff) | |
download | ports-f13a4b29b1705211bafaddb1c679601f9fc53ae1.tar.gz ports-f13a4b29b1705211bafaddb1c679601f9fc53ae1.zip |
Fix build on -CURRENT.
Submitted by: Volker Stolz
Notes
Notes:
svn path=/head/; revision=94774
Diffstat (limited to 'x11/xmon')
-rw-r--r-- | x11/xmon/files/patch-main.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/x11/xmon/files/patch-main.c b/x11/xmon/files/patch-main.c new file mode 100644 index 000000000000..363643e42c4a --- /dev/null +++ b/x11/xmon/files/patch-main.c @@ -0,0 +1,50 @@ + +>Submitter-Id: current-users +>Originator: Volker Stolz +>Organization: Lehrstuhl für Informatik II +>Confidential: no +>Synopsis: [patch] x11/xmon: Fix build on -CURRENT +>Severity: non-critical +>Priority: low +>Category: ports +>Class: sw-bug +>Release: FreeBSD 4.9-RC i386 +>Environment: +System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-RC FreeBSD 4.9-RC #10: Tue Oct 7 12:32:25 CEST 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386 + + +>Description: +Fix conflicting prototypes on -CURRENT. + +Noten by: bento +Tested on: -CURRENT, -STABLE +>How-To-Repeat: +http://bento.freebsd.org/errorlogs/i386-5-latest/xmon-1.5.6.log +>Fix: +Add new patch-file files/patch-main.c: + +--- patch-main.c begins here --- +--- main.c.orig Tue Nov 25 14:05:21 2003 ++++ main.c Tue Nov 25 14:06:05 2003 +@@ -36,6 +36,9 @@ + #include <fcntl.h> + #endif + ++#include <stdlib.h> ++#include <unistd.h> ++ + #include "xmond.h" + #include "select_args.h" + #include "commands.h" +@@ -74,9 +77,6 @@ + #if (mskcnt>4) + static Bool ANYSET P((long *src)); + #endif +- +-extern char *getenv(); +-extern int gethostname P((char *name, int namelen )); + + /* end function prototypes */ + +--- patch-main.c ends here --- + |