From 489fa4bcb5f946d203c40f8e67b285337085617c Mon Sep 17 00:00:00 2001 From: bms Date: Tue, 25 Nov 2003 13:27:41 +0000 Subject: Fix build on -CURRENT. Submitted by: Volker Stolz --- x11/xmon/files/patch-main.c | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 x11/xmon/files/patch-main.c (limited to 'x11/xmon') 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 + #endif + ++#include ++#include ++ + #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 --- + -- cgit