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

git at git.openembedded.org git at git.openembedded.org
Thu Jan 10 11:20:18 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 83ee268bcf0adf967b2e4762ea5a15eb19cebe34
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=83ee268bcf0adf967b2e4762ea5a15eb19cebe34

Author: Marko Lindqvist <cazfi74 at gmail.com>
Date:   Mon Jan  7 13:22:39 2013 +0200

xmlto: 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 <cazfi74 at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../xmlto-0.0.25/obsolete_automake_macros.patch    |   12 ++++++++++++
 meta-oe/recipes-support/xmlto/xmlto_0.0.25.bb      |    6 +++++-
 2 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-support/xmlto/xmlto-0.0.25/obsolete_automake_macros.patch b/meta-oe/recipes-support/xmlto/xmlto-0.0.25/obsolete_automake_macros.patch
new file mode 100644
index 0000000..faa8acc
--- /dev/null
+++ b/meta-oe/recipes-support/xmlto/xmlto-0.0.25/obsolete_automake_macros.patch
@@ -0,0 +1,12 @@
+diff -Nurd xmlto-0.0.25/configure.in xmlto-0.0.25/configure.in
+--- xmlto-0.0.25/configure.in	2011-12-01 17:49:00.000000000 +0200
++++ xmlto-0.0.25/configure.in	2013-01-07 05:24:16.169953519 +0200
+@@ -1,7 +1,7 @@
+ AC_INIT(xmlto, 0.0.25)
+ AC_CONFIG_SRCDIR(xmlto.spec.in)
+ AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects 1.6])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ AC_PROG_CC
+ AM_PROG_CC_C_O
diff --git a/meta-oe/recipes-support/xmlto/xmlto_0.0.25.bb b/meta-oe/recipes-support/xmlto/xmlto_0.0.25.bb
index 806ea2e..447c791 100644
--- a/meta-oe/recipes-support/xmlto/xmlto_0.0.25.bb
+++ b/meta-oe/recipes-support/xmlto/xmlto_0.0.25.bb
@@ -5,7 +5,11 @@ LICENSE = "GPLv2"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
-SRC_URI = "https://fedorahosted.org/releases/x/m/xmlto/xmlto-${PV}.tar.gz" 
+PR = "r1"
+
+SRC_URI = "https://fedorahosted.org/releases/x/m/xmlto/xmlto-${PV}.tar.gz \
+           file://obsolete_automake_macros.patch \
+"
 SRC_URI[md5sum] = "a88cd3f08789b4825d1ac89fa065170d"
 SRC_URI[sha256sum] = "c52b56d929e8d20fc19cd3b7ec238f8d039730c56ee311cc352e843147e3e31a"
 





More information about the Openembedded-commits mailing list