]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk+: replace obsolete automake macros with working ones
authorMarko Lindqvist <cazfi74@gmail.com>
Thu, 10 Jan 2013 10:03:08 +0000 (12:03 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Jan 2013 08:09:29 +0000 (08:09 +0000)
Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-gnome/gtk+/gtk+-2.24.14/obsolete_automake_macros.patch [new file with mode: 0644]
meta/recipes-gnome/gtk+/gtk+_2.24.14.bb

diff --git a/meta/recipes-gnome/gtk+/gtk+-2.24.14/obsolete_automake_macros.patch b/meta/recipes-gnome/gtk+/gtk+-2.24.14/obsolete_automake_macros.patch
new file mode 100644 (file)
index 0000000..322de8f
--- /dev/null
@@ -0,0 +1,23 @@
+Upstream-Status: Accepted [https://bugzilla.gnome.org/show_bug.cgi?id=691267]
+
+Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
+diff -Nurd gtk+-2.24.14/configure.in gtk+-2.24.14/configure.in
+--- gtk+-2.24.14/configure.in  2012-12-06 05:46:07.000000000 +0200
++++ gtk+-2.24.14/configure.in  2013-01-07 04:18:43.546039799 +0200
+@@ -51,7 +51,7 @@
+ cflags_set=${CFLAGS+set}
+
+ AM_INIT_AUTOMAKE([no-define -Wno-portability dist-bzip2])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ # Support silent build rules, requires at least automake-1.11. Enable
+ # by either passing --enable-silent-rules to configure or passing V=0
+@@ -300,7 +300,6 @@
+
+ # Checks for programs.
+ AC_ISC_POSIX
+-AM_PROG_CC_STDC
+ AM_PROG_CC_C_O
+ AC_PROG_INSTALL
+ AC_PROG_MAKE_SET
index 028b2384c1232ba1b10881c2d74b114c56e1ef62..d794840bfc3fd0e668bac2b408c0c6504dfd094b 100644 (file)
@@ -14,6 +14,7 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.24/gtk+-${PV}.tar.xz \
            file://0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch \
            file://doc-fixes.patch \
            file://0001-GtkButton-do-not-prelight-in-touchscreen-mode.patch \
+           file://obsolete_automake_macros.patch \
          "
 
 # TO MERGE