diff options
author | miwi <miwi@FreeBSD.org> | 2009-03-14 22:12:24 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-03-14 22:12:24 +0800 |
commit | b1f6aa44d2f3cadb3c82502b350c49ccb6a73c03 (patch) | |
tree | 8f32a7a777418451728311fc42d541d5ca6257d7 | |
parent | 8f035933f87e216fafdfd8db29dce1bc5ab83259 (diff) | |
download | freebsd-ports-gnome-b1f6aa44d2f3cadb3c82502b350c49ccb6a73c03.tar.gz freebsd-ports-gnome-b1f6aa44d2f3cadb3c82502b350c49ccb6a73c03.tar.zst freebsd-ports-gnome-b1f6aa44d2f3cadb3c82502b350c49ccb6a73c03.zip |
- Fix native language support
PR: 132467
Submitted by: Ports Fury
-rw-r--r-- | audio/tagtool/Makefile | 2 | ||||
-rw-r--r-- | audio/tagtool/files/patch-configure | 21 | ||||
-rw-r--r-- | audio/tagtool/files/patch-src__main.c | 10 |
3 files changed, 32 insertions, 1 deletions
diff --git a/audio/tagtool/Makefile b/audio/tagtool/Makefile index d8696a4b43df..79dfd67ac10f 100644 --- a/audio/tagtool/Makefile +++ b/audio/tagtool/Makefile @@ -7,7 +7,7 @@ PORTNAME= tagtool PORTVERSION= 0.12.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= SF diff --git a/audio/tagtool/files/patch-configure b/audio/tagtool/files/patch-configure new file mode 100644 index 000000000000..ed110dcd32e5 --- /dev/null +++ b/audio/tagtool/files/patch-configure @@ -0,0 +1,21 @@ +--- configure.orig 2007-02-28 05:34:14.000000000 +0900 ++++ configure 2009-03-09 02:12:05.000000000 +0900 +@@ -9044,8 +9044,10 @@ + + glib_save_prefix="$prefix" + glib_save_exec_prefix="$exec_prefix" ++glib_save_datarootdir="$datarootdir" + test "x$prefix" = xNONE && prefix=$ac_default_prefix + test "x$exec_prefix" = xNONE && exec_prefix=$prefix ++datarootdir=`eval echo "${datarootdir}"` + if test "x$CATOBJEXT" = "x.mo" ; then + localedir=`eval echo "${libdir}/locale"` + else +@@ -9053,6 +9055,7 @@ + fi + prefix="$glib_save_prefix" + exec_prefix="$glib_save_exec_prefix" ++datarootdir="$glib_save_datarootdir" + + cat >>confdefs.h <<_ACEOF + #define LOCALEDIR "$localedir" diff --git a/audio/tagtool/files/patch-src__main.c b/audio/tagtool/files/patch-src__main.c new file mode 100644 index 000000000000..32f3890dc762 --- /dev/null +++ b/audio/tagtool/files/patch-src__main.c @@ -0,0 +1,10 @@ +--- src/main.c.orig 2006-12-18 03:01:22.000000000 +0900 ++++ src/main.c 2009-03-09 02:20:45.000000000 +0900 +@@ -120,6 +120,7 @@ + } + } + ++ gtk_set_locale(); + gtk_init(&argc, &argv); + + if (argc > 1) |