From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 15 00:06:15 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2260B16A415 for ; Fri, 15 Dec 2006 00:06:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1386243CAF for ; Thu, 14 Dec 2006 23:58:42 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBF00KA1045159 for ; Fri, 15 Dec 2006 00:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBF00KkC045158; Fri, 15 Dec 2006 00:00:20 GMT (envelope-from gnats) Resent-Date: Fri, 15 Dec 2006 00:00:20 GMT Resent-Message-Id: <200612150000.kBF00KkC045158@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, trasz Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD42416A494 for ; Thu, 14 Dec 2006 23:50:55 +0000 (UTC) (envelope-from trasz@pin.if.uz.zgora.pl) Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 657AD43CCB for ; Thu, 14 Dec 2006 23:49:00 +0000 (GMT) (envelope-from trasz@pin.if.uz.zgora.pl) Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001) id 0840639DBB; Fri, 15 Dec 2006 00:53:49 +0100 (CET) Message-Id: <20061214235349.0840639DBB@pin.if.uz.zgora.pl> Date: Fri, 15 Dec 2006 00:53:49 +0100 (CET) From: trasz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/106738: [PATCH] www/harvest: fix build with gcc41 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, 15 Dec 2006 00:06:15 -0000 >Number: 106738 >Category: ports >Synopsis: [PATCH] www/harvest: fix build with gcc41 >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 Dec 15 00:00:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006 >Description: Fix build with gcc41 and pet portlint. http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/harvest-1.9.14.log Added file(s): - files/patch-components-broker-standard-glimpse-index-glimpse.c Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- harvest-1.9.14.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/harvest/files/patch-components-broker-standard-glimpse-index-glimpse.c /home/trasz/harvest/files/patch-components-broker-standard-glimpse-index-glimpse.c --- /usr/ports/www/harvest/files/patch-components-broker-standard-glimpse-index-glimpse.c Thu Jan 1 01:00:00 1970 +++ /home/trasz/harvest/files/patch-components-broker-standard-glimpse-index-glimpse.c Fri Dec 15 00:52:17 2006 @@ -0,0 +1,17 @@ +--- components/broker/standard/glimpse/index/glimpse.c.orig Fri Dec 15 00:28:32 2006 ++++ components/broker/standard/glimpse/index/glimpse.c Fri Dec 15 00:29:46 2006 +@@ -18,12 +18,13 @@ + extern char INDEX_DIR[MAX_LINE_LEN]; + extern struct stat istbuf; + +-extern char *TEMP_DIR; /* directory to store glimpse temporary files, usually /tmp unless -T is specified */ + #ifdef BUILDCAST + /* TEMP_DIR is normally defined in ../main.c; if we're building + * buildcast, that's not linked in, so we need to define one here. */ + /* char * TEMP_DIR = NULL; */ + static char * TEMP_DIR = "/tmp"; ++#else ++extern char *TEMP_DIR; /* directory to store glimpse temporary files, usually /tmp unless -T is specified */ + #endif /* BUILDCAST */ + extern int indexable_char[256]; + extern int GenerateHash; diff -ruN --exclude=CVS /usr/ports/www/harvest/pkg-plist /home/trasz/harvest/pkg-plist --- /usr/ports/www/harvest/pkg-plist Fri Dec 5 22:44:23 2003 +++ /home/trasz/harvest/pkg-plist Fri Dec 15 00:53:05 2006 @@ -435,4 +435,4 @@ @dirrm share/idzebra/tab @dirrm share/idzebra @dirrm share -@unexec rmdir %D +@dirrmtry %D --- harvest-1.9.14.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: