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: ports/94536: [PATCH] textproc/enchant: [Fix build on 4.x] Message-ID: <E1FJlQD-0008Qu-O7@mail.distalzou.net> Resent-Message-ID: <200603161509.k2GF9NEb082119@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FJlQD-0008Qu-O7>