From 3872efa606d56b1d9b4ff584d25a73f833e730a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 23 Jul 2014 18:05:20 +0200 Subject: [PATCH] glib2: Fix glib-gettextize Of course it was made from a template which has datadir=@datadir@ ... and the next line: gettext_dir=$prefix/shared/glib-2.0/gettext Go figure :-D --- dev-libs/glib/patches/glib2-2.38.1.patch | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dev-libs/glib/patches/glib2-2.38.1.patch b/dev-libs/glib/patches/glib2-2.38.1.patch index 2c0beba7e..4774b8c3e 100644 --- a/dev-libs/glib/patches/glib2-2.38.1.patch +++ b/dev-libs/glib/patches/glib2-2.38.1.patch @@ -431,3 +431,29 @@ index 2620cb6..34f1edd 100644 #if defined(G_OS_WIN32) static void load_user_special_dirs (void) +From 76b841117910d28f624d0758a276ef9e6816bb73 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= +Date: Wed, 23 Jul 2014 17:39:04 +0200 +Subject: [PATCH] Fix path in glib-gettextize + +Why define datadir if you use $prefix/share/ ? +--- + glib-gettextize.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/glib-gettextize.in b/glib-gettextize.in +index 7166cf7..a175578 100644 +--- a/glib-gettextize.in ++++ b/glib-gettextize.in +@@ -52,7 +52,7 @@ esac + datarootdir=@datarootdir@ + datadir=@datadir@ + +-gettext_dir=$prefix/share/glib-2.0/gettext ++gettext_dir=$datadir/glib-2.0/gettext + + while test $# -gt 0; do + case "$1" in +-- +1.8.3.4 +