From conrads@serene.no-ip.org  Fri Jun 22 03:34:10 2007
Return-Path: <conrads@serene.no-ip.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4956D16A400
	for <freebsd-gnats-submit@freebsd.org>; 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 <freebsd-gnats-submit@freebsd.org>; 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" <conrads@cox.net>
Reply-To: "Conrad J. Sabatier" <conrads@cox.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: kris@obsecurity.org
Subject: textproc/glimpse: fix build breakage under gcc 4.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         113932
>Category:       ports
>Synopsis:       textproc/glimpse: fix build breakage under gcc 4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 22 03:40:03 GMT 2007
>Closed-Date:    Sat Jun 23 03:48:33 GMT 2007
>Last-Modified:  Sat Jun 23 03:50:04 GMT 2007
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Fri Jun 22 04:25:06 UTC 2007 
Responsible-Changed-Why:  
I'll take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113932 
State-Changed-From-To: open->feedback 
State-Changed-By: beech 
State-Changed-When: Fri Jun 22 20:30:11 UTC 2007 
State-Changed-Why:  
Awaiting maintainer feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113932 
State-Changed-From-To: feedback->closed 
State-Changed-By: beech 
State-Changed-When: Sat Jun 23 03:48:10 UTC 2007 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113932 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113932: commit references a PR
Date: Sat, 23 Jun 2007 03:47:36 +0000 (UTC)

 beech       2007-06-23 03:47:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/glimpse     Makefile pkg-plist 
   Added files:
     textproc/glimpse/files patch-index-glimpse.c 
   Log:
   - Fix build w/gcc-4.2
   - Add mirror
   - Makefile tweaks
   
   PR:             ports/113932
   Submitted by:   Conrad J. Sabatier  <conrads@cox.net> (maintainer)
   Approved by:    sat (mentor)
   
   Revision  Changes    Path
   1.29      +11 -7     ports/textproc/glimpse/Makefile
   1.1       +14 -0     ports/textproc/glimpse/files/patch-index-glimpse.c (new)
   1.7       +0 -3      ports/textproc/glimpse/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
