diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch b/meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch new file mode 100644 index 0000000000..e54a8e5106 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | # an very old patch cherry-picked in every glib-2.0 patch directory. The earliest container | ||
2 | # for it is 2.6.5 in OE. The earliest commit for it is c8e5702127e507e82e6f68a4b8c546803accea9d | ||
3 | # in OE side which ports from previous bitkeeper SCM. In OE side it's only used til 2.12.4. | ||
4 | # | ||
5 | # keep it since it's always cleaner to not hardcode destination path. Use @datadir@ is more | ||
6 | # portable here. mark for upstream | ||
7 | # | ||
8 | # by Kevin Tian <kevin.tian@intel.com>, 06/25/2010 | ||
9 | # Rebased by Dongxiao Xu <dongxiao.xu@intel.com>, 11/16/2010 | ||
10 | |||
11 | diff -ruN glib-2.27.3-orig/glib-gettextize.in glib-2.27.3/glib-gettextize.in | ||
12 | --- glib-2.27.3-orig/glib-gettextize.in 2009-04-01 07:04:20.000000000 +0800 | ||
13 | +++ glib-2.27.3/glib-gettextize.in 2010-11-16 12:55:06.874605916 +0800 | ||
14 | @@ -52,7 +52,7 @@ | ||
15 | datadir=@datadir@ | ||
16 | datarootdir=@datarootdir@ | ||
17 | |||
18 | -gettext_dir=$prefix/share/glib-2.0/gettext | ||
19 | +gettext_dir=@datadir@/glib-2.0/gettext | ||
20 | |||
21 | while test $# -gt 0; do | ||
22 | case "$1" in | ||