[oe-commits] Marko Lindqvist : oprofileui-server: replace obsolete automake macros with working ones

git at git.openembedded.org git at git.openembedded.org
Fri Feb 22 14:09:17 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 254799258ead1b7a59c301ad2d3e3c7e5b9fb8db
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=254799258ead1b7a59c301ad2d3e3c7e5b9fb8db

Author: Marko Lindqvist <cazfi74 at gmail.com>
Date:   Sun Feb 17 10:52:21 2013 +0200

oprofileui-server: 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.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

Signed-off-by: Marko Lindqvist <cazfi74 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../obsolete_automake_macros.patch                 |   20 ++++++++++++++++++++
 .../oprofile/oprofileui-server_git.bb              |    6 ++++--
 2 files changed, 24 insertions(+), 2 deletions(-)

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
index 0000000..2f86f48
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofileui-server/obsolete_automake_macros.patch
@@ -0,0 +1,20 @@
+Upstream-Status: Pending
+
+Signed-off-by: Marko Lindqvist <cazfi74 at 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
diff --git a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
index e75923f..6b848af 100644
--- a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
@@ -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"
 





More information about the Openembedded-commits mailing list