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] Message-ID: <E1FJlQD-0008Qu-O7@mail.distalzou.net>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Tod McQuillin >Organization: >Confidential: no >Synopsis: [PATCH] textproc/enchant: [Fix build on 4.x] >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 4.11-STABLE i386 >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 ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FJlQD-0008Qu-O7>