From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 22 03:40:04 2007 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 2512A16A46C for ; Fri, 22 Jun 2007 03:40:04 +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 F34B713C480 for ; Fri, 22 Jun 2007 03:40:03 +0000 (UTC) (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 l5M3e3Fc067426 for ; Fri, 22 Jun 2007 03:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5M3e3gR067425; Fri, 22 Jun 2007 03:40:03 GMT (envelope-from gnats) Resent-Date: Fri, 22 Jun 2007 03:40:03 GMT Resent-Message-Id: <200706220340.l5M3e3gR067425@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, "Conrad J. Sabatier" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4956D16A400 for ; Fri, 22 Jun 2007 03:34:10 +0000 (UTC) (envelope-from conrads@serene.no-ip.org) Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.freebsd.org (Postfix) with ESMTP id CFDCC13C45D for ; Fri, 22 Jun 2007 03:34:09 +0000 (UTC) (envelope-from conrads@serene.no-ip.org) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao105.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070622033409.QBQD8837.eastrmmtao105.cox.net@eastrmimpo02.cox.net>; Thu, 21 Jun 2007 23:34:09 -0400 Received: from serene.no-ip.org ([72.200.17.85]) by eastrmimpo02.cox.net with bizsmtp id ETZe1X00J1q7YRk0000000; Thu, 21 Jun 2007 23:34:08 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.14.1/8.14.1) with ESMTP id l5M3XY8E061448; Thu, 21 Jun 2007 22:33:34 -0500 (CDT) (envelope-from conrads@serene.no-ip.org) Received: (from root@localhost) by serene.no-ip.org (8.14.1/8.14.1/Submit) id l5M3X7mf052529; Thu, 21 Jun 2007 22:33:07 -0500 (CDT) (envelope-from conrads) Message-Id: <200706220333.l5M3X7mf052529@serene.no-ip.org> Date: Thu, 21 Jun 2007 22:33:07 -0500 (CDT) From: "Conrad J. Sabatier" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: kris@obsecurity.org Subject: ports/113932: textproc/glimpse: fix build breakage under gcc 4.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Conrad J. Sabatier" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 03:40:04 -0000 >Number: 113932 >Category: ports >Synopsis: textproc/glimpse: fix build breakage under gcc 4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jun 22 03:40:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Conrad J. Sabatier >Release: FreeBSD 7.0-CURRENT amd64 >Organization: none >Environment: System: FreeBSD serene.no-ip.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Jun 19 22:22:02 CDT 2007 root@serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64 >Description: Fix build breakage under gcc 4.2 (static declaration following non-static) >How-To-Repeat: N/A >Fix: Add the following patch to port's files directory --- patch-index__glimpse.c begins here --- --- ./index/glimpse.c.orig 2007-06-21 22:24:44.000000000 -0500 +++ ./index/glimpse.c 2007-06-21 22:25:15.000000000 -0500 @@ -23,7 +23,7 @@ /* 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"; +char * TEMP_DIR = "/tmp"; #endif /* BUILDCAST */ extern int indexable_char[256]; extern int GenerateHash; --- patch-index__glimpse.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: