From 0beee6281fed3926b6871dbfdd907416d4a04886 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 10 Jan 2013 12:03:08 +0200 Subject: gtk+: replace obsolete automake macros with working ones Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Signed-off-by: Marko Lindqvist Signed-off-by: Saul Wold --- .../gtk+-2.24.14/obsolete_automake_macros.patch | 23 ++++++++++++++++++++++ meta/recipes-gnome/gtk+/gtk+_2.24.14.bb | 1 + 2 files changed, 24 insertions(+) create mode 100644 meta/recipes-gnome/gtk+/gtk+-2.24.14/obsolete_automake_macros.patch (limited to 'meta/recipes-gnome/gtk+') 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 index 0000000000..322de8fd4a --- /dev/null +++ b/meta/recipes-gnome/gtk+/gtk+-2.24.14/obsolete_automake_macros.patch @@ -0,0 +1,23 @@ +Upstream-Status: Accepted [https://bugzilla.gnome.org/show_bug.cgi?id=691267] + +Signed-off-by: Marko Lindqvist +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 diff --git a/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb b/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb index 028b2384c1..d794840bfc 100644 --- a/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb +++ b/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb @@ -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 -- cgit 1.2.3-korg