aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/re2c
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-17 15:17:14 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-07-22 00:01:52 +0200
commit33f132ef09f5bc7d8b8e7ecbaf1b6fd1db2b6782 (patch)
tree6b32a1cac758275c634c111c4872c3649eccea3d /meta-oe/recipes-support/re2c
parent55ba655244ff10314b10077fb352b905e91b522b (diff)
downloadmeta-openembedded-contrib-33f132ef09f5bc7d8b8e7ecbaf1b6fd1db2b6782.tar.gz
re2c: Fix for modern automake
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/re2c')
-rw-r--r--meta-oe/recipes-support/re2c/re2c/configure.patch18
-rw-r--r--meta-oe/recipes-support/re2c/re2c_0.13.5.bb3
2 files changed, 20 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/re2c/re2c/configure.patch b/meta-oe/recipes-support/re2c/re2c/configure.patch
new file mode 100644
index 0000000000..8ca0969ad6
--- /dev/null
+++ b/meta-oe/recipes-support/re2c/re2c/configure.patch
@@ -0,0 +1,18 @@
+Modernise configure to work with modern automake.
+
+RP 2014/7/14
+
+Upstream-Status: Pending
+
+Index: re2c-0.13.5/configure.in
+===================================================================
+--- re2c-0.13.5.orig/configure.in 2008-05-25 14:42:34.000000000 +0000
++++ re2c-0.13.5/configure.in 2014-07-17 14:10:40.595821292 +0000
+@@ -1,6 +1,6 @@
+ AC_PREREQ([2.57])
+ AC_INIT(re2c, 0.13.5, re2c-general@lists.sourceforge.net)
+-AM_INIT_AUTOMAKE(re2c, $PACKAGE_VERSION)
++AM_INIT_AUTOMAKE([foreign])
+ AC_CONFIG_SRCDIR(actions.cc)
+ AM_CONFIG_HEADER(config.h)
+
diff --git a/meta-oe/recipes-support/re2c/re2c_0.13.5.bb b/meta-oe/recipes-support/re2c/re2c_0.13.5.bb
index fff7a782a6..dcac940f81 100644
--- a/meta-oe/recipes-support/re2c/re2c_0.13.5.bb
+++ b/meta-oe/recipes-support/re2c/re2c_0.13.5.bb
@@ -5,7 +5,8 @@ SECTION = "devel"
LICENSE = "PD"
LIC_FILES_CHKSUM = "file://README;beginline=180;md5=822830a2204aef353f2c489f62e02089"
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
+ file://configure.patch"
SRC_URI[md5sum] = "4a97d8f77ed6d2c76c8bd840a43f5633"
SRC_URI[sha256sum] = "f3a995139af475e80a30207d02728b1e0065b0caade7375e974cb1b14861668c"