ports/94536: [PATCH] textproc/enchant: [Fix build on 4.x]

Tod McQuillin devin at spamcop.net
Thu Mar 16 15:10:07 UTC 2006


>Number:         94536
>Category:       ports
>Synopsis:       [PATCH] textproc/enchant: [Fix build on 4.x]
>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:   Thu Mar 16 15:09:23 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list