diff options
author | marcus <marcus@FreeBSD.org> | 2003-02-15 02:30:05 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-02-15 02:30:05 +0800 |
commit | 07b907c9b3bf88f879ce0bbf81befe3bb181729a (patch) | |
tree | 5ebbff9f26ee17ddd1976e16d696821880aba3f4 /finance/gnucash-devel | |
parent | 601399ad5fccfdc8a5a5ba785985012f48a8f994 (diff) | |
download | freebsd-ports-gnome-07b907c9b3bf88f879ce0bbf81befe3bb181729a.tar.gz freebsd-ports-gnome-07b907c9b3bf88f879ce0bbf81befe3bb181729a.tar.zst freebsd-ports-gnome-07b907c9b3bf88f879ce0bbf81befe3bb181729a.zip |
Fix I18N support.
Reported by: Burkard Meyendriesch <bm@malepartus.de>
Diffstat (limited to 'finance/gnucash-devel')
-rw-r--r-- | finance/gnucash-devel/Makefile | 1 | ||||
-rw-r--r-- | finance/gnucash-devel/files/patch-configure | 55 | ||||
-rw-r--r-- | finance/gnucash-devel/files/patch-src_app-utils_i18n.h | 8 |
3 files changed, 61 insertions, 3 deletions
diff --git a/finance/gnucash-devel/Makefile b/finance/gnucash-devel/Makefile index dadb24e1fde0..4c985aad6d6e 100644 --- a/finance/gnucash-devel/Makefile +++ b/finance/gnucash-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnucash PORTVERSION= 1.8.1 +PORTREVISION= 1 CATEGORIES= finance gnome MASTER_SITES= http://www.gnucash.org/pub/gnucash/sources/stable/ \ ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \ diff --git a/finance/gnucash-devel/files/patch-configure b/finance/gnucash-devel/files/patch-configure index 164cccc98f79..e2f06e615c1b 100644 --- a/finance/gnucash-devel/files/patch-configure +++ b/finance/gnucash-devel/files/patch-configure @@ -1,6 +1,55 @@ ---- configure.orig Mon Feb 3 02:20:35 2003 -+++ configure Tue Feb 4 22:00:37 2003 -@@ -13115,7 +13116,7 @@ +--- configure.orig Mon Feb 10 01:26:24 2003 ++++ configure Fri Feb 14 13:11:41 2003 +@@ -3535,10 +3535,10 @@ + #include "confdefs.h" + #include <libintl.h> + extern int _nl_msg_cat_cntr; +-extern int *_nl_domain_bindings; ++extern int *libintl_nl_domain_bindings; + int main() { + bindtextdomain ("", ""); +-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings ++return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings + ; return 0; } + EOF + if { (eval echo configure:3545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +@@ -3924,7 +3924,7 @@ + #include "confdefs.h" + #include <libintl.h> + extern int _nl_msg_cat_cntr; +-extern int *_nl_domain_bindings; ++extern int *libintl_nl_domain_bindings; + extern + #ifdef __cplusplus + "C" +@@ -3932,7 +3932,7 @@ + const char *_nl_expand_alias (); + int main() { + bindtextdomain ("", ""); +-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0) ++return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings + *_nl_expand_alias (0) + ; return 0; } + EOF + if { (eval echo configure:3939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +@@ -3952,7 +3952,7 @@ + #include "confdefs.h" + #include <libintl.h> + extern int _nl_msg_cat_cntr; +-extern int *_nl_domain_bindings; ++extern int *libintl_nl_domain_bindings; + extern + #ifdef __cplusplus + "C" +@@ -3960,7 +3960,7 @@ + const char *_nl_expand_alias (); + int main() { + bindtextdomain ("", ""); +-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0) ++return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings + *_nl_expand_alias (0) + ; return 0; } + EOF + if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +@@ -13115,7 +13115,7 @@ echo "configure:13116: checking for gtkhtml < 1.1" >&5 GTKHTML_LIBS=`$GNOME_CONFIG --libs gtkhtml` GTKHTML_CFLAGS=`$GNOME_CONFIG --cflags gtkhtml` diff --git a/finance/gnucash-devel/files/patch-src_app-utils_i18n.h b/finance/gnucash-devel/files/patch-src_app-utils_i18n.h new file mode 100644 index 000000000000..0625fd7df4b9 --- /dev/null +++ b/finance/gnucash-devel/files/patch-src_app-utils_i18n.h @@ -0,0 +1,8 @@ +--- src/app-utils/i18n.h.orig Fri Feb 14 12:35:54 2003 ++++ src/app-utils/i18n.h Fri Feb 14 12:36:07 2003 +@@ -26,4 +26,4 @@ + #endif + + #define TEXT_DOMAIN "gnucash" +-#define LOCALE_DIR "/usr/local/share/locale" ++#define LOCALE_DIR "%%PREFIX%%/share/locale" |