From patchwork Sun Jan 6 23:49:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v2, 06/15] glib-2.0: replace obsolete automake macros with working ones Date: Sun, 06 Jan 2013 23:49:32 -0000 From: Marko Lindqvist X-Patchwork-Id: 42131 Message-Id: <1357516181-5358-7-git-send-email-cazfi74@gmail.com> To: openembedded-core@lists.openembedded.org Add obsolete-automake-macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Signed-off-by: Marko Lindqvist --- .../glib-2.0/glib-2.0/obsolete_automake_macros.patch | 13 +++++++++++++ meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/obsolete_automake_macros.patch diff --git a/meta/recipes-core/glib-2.0/glib-2.0/obsolete_automake_macros.patch b/meta/recipes-core/glib-2.0/glib-2.0/obsolete_automake_macros.patch new file mode 100644 index 0000000..e3b35bf --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/obsolete_automake_macros.patch @@ -0,0 +1,13 @@ +Upstream-Status: Accepted (https://bugzilla.gnome.org/show_bug.cgi?id=691011) + +Signed-off-by: Marko Lindqvist +diff -Nurd glib-2.34.3/configure.ac glib-2.34.3/configure.ac +--- glib-2.34.3/configure.ac 2012-11-26 19:10:04.000000000 +0200 ++++ glib-2.34.3/configure.ac 2013-01-02 15:49:27.832183712 +0200 +@@ -291,7 +291,6 @@ + AM_CONDITIONAL(HAVE_CXX, [test "$CXX" != ""]) + AC_LANG_RESTORE + +-AM_PROG_CC_STDC + AM_PROG_CC_C_O + AC_PROG_INSTALL diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb index 9854585..e1d44e2 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb @@ -1,6 +1,6 @@ require glib.inc -PR = "r0" +PR = "r1" PE = "1" DEPENDS += "libffi python-argparse-native zlib" @@ -12,6 +12,7 @@ SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1] SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ file://configure-libtool.patch \ file://glib-2.0_fix_for_x32.patch \ + file://obsolete_automake_macros.patch \ file://Makefile-ptest.patch \ file://run-ptest \ "