From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 24 20:00:05 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E78A016A469 for ; Fri, 24 Aug 2007 20:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B359913C48A for ; Fri, 24 Aug 2007 20:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7OK05nW000748 for ; Fri, 24 Aug 2007 20:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7OK05LG000743; Fri, 24 Aug 2007 20:00:05 GMT (envelope-from gnats) Resent-Date: Fri, 24 Aug 2007 20:00:05 GMT Resent-Message-Id: <200708242000.l7OK05LG000743@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hung-Yi Chen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DAD116A420 for ; Fri, 24 Aug 2007 19:53:51 +0000 (UTC) (envelope-from root@gaod.tfcis.org) Received: from gaod.tfcis.org (gaod.tfcis.org [210.70.137.25]) by mx1.freebsd.org (Postfix) with SMTP id E08BC13C4B5 for ; Fri, 24 Aug 2007 19:53:40 +0000 (UTC) (envelope-from root@gaod.tfcis.org) Received: by gaod.tfcis.org (Postfix, from userid 0) id 43DFB5644B; Sat, 25 Aug 2007 03:37:47 +0800 (CST) Message-Id: <20070824193747.43DFB5644B@gaod.tfcis.org> Date: Sat, 25 Aug 2007 03:37:47 +0800 (CST) From: Hung-Yi Chen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: yb@bashibuzuk.net Subject: ports/115791: [PATCH] net-mgmt/aguri: fix GCC 4.2 builds X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2007 20:00:06 -0000 >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: