summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-05-17 15:18:54 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-17 21:18:44 +0100
commit7cfaf9f6799f75a5b967a549c31f990539583577 (patch)
tree66703cc3840222b5b54da0300772617f5e361e46 /meta/recipes-gnome/gnome
parentd972c6239eb0d7153940ebecb5e3301d51a33110 (diff)
downloadpoky-7cfaf9f6799f75a5b967a549c31f990539583577.tar.gz
gnome-doc-utils: Update AM_GLIB_GNU_GETTEXT macro
This fixes error: m4_copy: won't overwrite defined macro: glib_DEFUN with glib-2.0 >= 2.48. (From OE-Core rev: ce508c68bbea40d7f51c1975566ca70fcaa743a3) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gnome')
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils/0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch40
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb1
2 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils/0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch b/meta/recipes-gnome/gnome/gnome-doc-utils/0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch
new file mode 100644
index 0000000000..4cfcabd385
--- /dev/null
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils/0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch
@@ -0,0 +1,40 @@
1From 426e38468463a4abb495cf6a269b9635b2107519 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Tue, 17 May 2016 13:51:24 +0300
4Subject: [PATCH] glib-gettext.m4: Update AM_GLIB_GNU_GETTEXT to match glib
5
6This avoids
7 error: m4_copy: won't overwrite defined macro: glib_DEFUN
8
9Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
10Upstream-Status: Inappropriate [No upstream]
11---
12 m4/glib-gettext.m4 | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
14
15diff --git a/m4/glib-gettext.m4 b/m4/glib-gettext.m4
16index 81f8fd2..e2b142b 100644
17--- a/m4/glib-gettext.m4
18+++ b/m4/glib-gettext.m4
19@@ -310,7 +310,7 @@ msgstr ""
20 # on various variables needed by the Makefile.in.in installed by
21 # glib-gettextize.
22 dnl
23-glib_DEFUN([GLIB_GNU_GETTEXT],
24+AU_DEFUN([GLIB_GNU_GETTEXT],
25 [AC_REQUIRE([AC_PROG_CC])dnl
26 AC_REQUIRE([AC_HEADER_STDC])dnl
27
28@@ -381,7 +381,8 @@ glib_DEFUN([GLIB_GNU_GETTEXT],
29 rm -f po/POTFILES
30 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
31 < $srcdir/po/POTFILES.in > po/POTFILES
32- ])
33+ ]
34+ [[$0: This macro is deprecated. You should use upstream gettext instead.]])
35
36 # AX_GLIB_DEFINE_LOCALEDIR(VARIABLE)
37 # -------------------------------
38--
392.1.4
40
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb
index 78cc005f99..ed01ea7b53 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.10.bb
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \
5SRC_URI += "file://xsltproc_nonet.patch \ 5SRC_URI += "file://xsltproc_nonet.patch \
6 file://use-usr-bin-env-for-python-in-xml2po.patch \ 6 file://use-usr-bin-env-for-python-in-xml2po.patch \
7 file://sysrooted-pkg-config.patch \ 7 file://sysrooted-pkg-config.patch \
8 file://0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch \
8 " 9 "
9 10
10SRC_URI[archive.md5sum] = "3c64ad7bacd617b04999e4a168afaac5" 11SRC_URI[archive.md5sum] = "3c64ad7bacd617b04999e4a168afaac5"