oprofileui-server: replace obsolete automake macros with working ones
authorMarko Lindqvist <cazfi74@gmail.com>
Sun, 17 Feb 2013 08:52:21 +0000 (10:52 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Feb 2013 14:09:20 +0000 (06:09 -0800)
Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

(From OE-Core rev: 254799258ead1b7a59c301ad2d3e3c7e5b9fb8db)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/oprofile/oprofileui-server/obsolete_automake_macros.patch [new file with mode: 0644]
meta/recipes-kernel/oprofile/oprofileui-server_git.bb

diff --git a/meta/recipes-kernel/oprofile/oprofileui-server/obsolete_automake_macros.patch b/meta/recipes-kernel/oprofile/oprofileui-server/obsolete_automake_macros.patch
new file mode 100644 (file)
index 0000000..2f86f48
--- /dev/null
@@ -0,0 +1,20 @@
+Upstream-Status: Pending
+
+Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
+diff --git a/configure.ac b/configure.ac
+index 2a7010b..62a177e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,11 +3,10 @@ dnl Process this file with autoconf to produce a configure script.
+ AC_INIT(oprofileui, 0.2.0)
+
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ AC_ISC_POSIX
+ AC_PROG_CC
+-AM_PROG_CC_STDC
+ AC_HEADER_STDC
+ AC_PROG_RANLIB
+ AC_PROG_INTLTOOL
index e75923f..6b848af 100644 (file)
@@ -2,12 +2,14 @@ require oprofileui.inc
 
 SRCREV = "82ecf8c6b53b84f80682a8312f9defa83a95f2a3"
 PV = "0.0+git${SRCPV}"
-PR = "r0"
+PR = "r1"
 
 S = "${WORKDIR}/git"
 
 SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git \
-           file://init"
+           file://init \
+           file://obsolete_automake_macros.patch \
+"
 
 EXTRA_OECONF += "--disable-client --enable-server"