ports/59680: [patch] x11/xmon: Fix build on -CURRENT
Volker Stolz
stolz at i2.informatik.rwth-aachen.de
Tue Nov 25 13:20:30 UTC 2003
>Number: 59680
>Category: ports
>Synopsis: [patch] x11/xmon: Fix build on -CURRENT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 25 05:20:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Volker Stolz
>Release: FreeBSD 4.9-RC i386
>Organization:
Lehrstuhl für Informatik II
>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 at 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 ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list