From root@distalzou.net  Thu Mar 16 05:53:23 2006
Return-Path: <root@distalzou.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5315D16A425;
	Thu, 16 Mar 2006 05:53:23 +0000 (UTC)
	(envelope-from root@distalzou.net)
Received: from mail.distalzou.net (203.141.139.231.user.ad.il24.net [203.141.139.231])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 54D6C43D7C;
	Thu, 16 Mar 2006 05:53:18 +0000 (GMT)
	(envelope-from root@distalzou.net)
Received: from root by mail.distalzou.net with local (Exim 4.60 (FreeBSD))
	(envelope-from <root@distalzou.net>)
	id 1FJlQD-0008Qu-O7; Thu, 16 Mar 2006 14:53:17 +0900
Message-Id: <E1FJlQD-0008Qu-O7@mail.distalzou.net>
Date: Thu, 16 Mar 2006 14:53:17 +0900
From: Tod McQuillin <devin@spamcop.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gnome@FreeBSD.org
Subject: [PATCH] textproc/enchant: [Fix build on 4.x]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         94536
>Category:       ports
>Synopsis:       [PATCH] textproc/enchant: [Fix build on 4.x]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 16 15:09:23 GMT 2006
>Closed-Date:    Thu Mar 16 15:43:06 GMT 2006
>Last-Modified:  Thu Mar 16 15:43:06 GMT 2006
>Originator:     Tod McQuillin
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD plexi.pun-pun.prv 4.11-STABLE FreeBSD 4.11-STABLE #3: Sat Mar 11 09:28:19 JST 2006
>Description:
Remove a C99ism so gcc 2.95 can build it on FreeBSD 4.x.

Added file(s):
- files/patch-src_enchant.c

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- enchant-1.2.3.patch begins here ---
Index: files/patch-src_enchant.c
===================================================================
RCS file: files/patch-src_enchant.c
diff -N files/patch-src_enchant.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src_enchant.c	16 Mar 2006 05:50:24 -0000
@@ -0,0 +1,18 @@
+--- src/enchant.c-	Thu Mar 16 14:48:20 2006
++++ src/enchant.c	Thu Mar 16 14:50:03 2006
+@@ -125,6 +125,7 @@
+ enchant_get_module_dir (void)
+ {
+ 	char * module_dir = NULL;
++	char * prefix = NULL;
+ 
+ #ifdef XP_TARGET_COCOA
+ 	return g_strdup ([[EnchantResourceProvider instance] moduleFolder]);
+@@ -136,7 +137,6 @@
+ 		return module_dir;
+ 
+ 	/* Dynamically locate library and search for modules relative to it. */
+-	char * prefix = NULL;
+ 	prefix = enchant_get_prefix_dir();
+ 	if(prefix)
+ 		{
--- enchant-1.2.3.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Mar 16 15:12:31 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94536 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Mar 16 15:42:59 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94536 
>Unformatted:
