ports/115791: [PATCH] net-mgmt/aguri: fix GCC 4.2 builds
Hung-Yi Chen
gaod at hychen.org
Fri Aug 24 20:00:06 UTC 2007
>Number: 115791
>Category: ports
>Synopsis: [PATCH] net-mgmt/aguri: fix GCC 4.2 builds
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 24 20:00:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Hung-Yi Chen
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD gaod.tfcis.org 6.2-STABLE FreeBSD 6.2-STABLE #18: Fri Aug 3 04:02:30 CST
>Description:
Fix build breakage under gcc 4.2
>How-To-Repeat:
>Fix:
--- patch-Makefile begins here ---
--- Makefile.orig 2003-03-13 13:01:28.000000000 +0800
+++ Makefile 2007-08-25 02:34:34.000000000 +0800
@@ -11,9 +11,9 @@
scripts/makeimages.pl scripts/density.pl
CFLAGS= -O2 -Wall -DNDEBUG
-DEFINES= -DINET6 -DAGURI_STATS $(SYS_DEFINES) # -DXTREE
-INCLUDES= -I. $(COMPAT_INCLUDES) $(SYS_INCLUDES) # -I/usr/X11R6/include
-LIBS= $(SYS_LIBS) -lpcap # -R/usr/X11R6/lib -L/usr/X11R6/lib -lX11
+DEFINES= -DINET6 -DAGURI_STATS $(SYS_DEFINES) -DXTREE
+INCLUDES= -I. $(COMPAT_INCLUDES) $(SYS_INCLUDES) -I${X11BASE}/include
+LIBS= $(SYS_LIBS) -lpcap -R${X11BASE}/lib -L${X11BASE}/lib -lX11
all: $(PROG)
--- patch-Makefile ends here ---
--- patch-aguri.h begins here ---
--- aguri.h.orig 2003-03-12 22:09:41.000000000 +0800
+++ aguri.h 2007-08-25 02:33:28.000000000 +0800
@@ -32,7 +32,6 @@
#define AGURI_VERSION "0.7"
extern char *fmt_string;
-extern int read_count;
extern struct timeval start_time, end_time;
extern int debug;
extern int time_slot;
--- patch-aguri.h ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list