summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2013-01-10 12:03:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-15 08:09:29 +0000
commit17a58db25657184e0770d29391062e7f93d5bb5b (patch)
tree0b4bc3bb92f7933187ac83f246f12b0314194960 /meta/recipes-support/gmp
parent0beee6281fed3926b6871dbfdd907416d4a04886 (diff)
downloadopenembedded-core-17a58db25657184e0770d29391062e7f93d5bb5b.tar.gz
openembedded-core-17a58db25657184e0770d29391062e7f93d5bb5b.tar.bz2
openembedded-core-17a58db25657184e0770d29391062e7f93d5bb5b.zip
gmp: 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@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Conflicts: meta/recipes-support/gmp/gmp_5.1.0.bb
Diffstat (limited to 'meta/recipes-support/gmp')
-rw-r--r--meta/recipes-support/gmp/gmp-5.1.0/obsolete_automake_macros.patch13
-rw-r--r--meta/recipes-support/gmp/gmp_5.1.0.bb3
2 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp-5.1.0/obsolete_automake_macros.patch b/meta/recipes-support/gmp/gmp-5.1.0/obsolete_automake_macros.patch
new file mode 100644
index 0000000000..adff6ca19c
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp-5.1.0/obsolete_automake_macros.patch
@@ -0,0 +1,13 @@
+Upstream-Status: Accepted
+
+Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
+diff -Nurd gmp-5.1.0/configure.in gmp-5.1.0/configure.in
+--- gmp-5.1.0/configure.in 2012-12-18 21:05:09.000000000 +0200
++++ gmp-5.1.0/configure.in 2013-01-02 06:00:41.552958778 +0200
+@@ -67,7 +67,7 @@
+ dnl so update there too if changing anything.
+ dnl
+ AM_INIT_AUTOMAKE([1.8 gnu no-dependencies])
+-AM_CONFIG_HEADER(config.h:config.in)
++AC_CONFIG_HEADERS(config.h:config.in)
+ AM_MAINTAINER_MODE
diff --git a/meta/recipes-support/gmp/gmp_5.1.0.bb b/meta/recipes-support/gmp/gmp_5.1.0.bb
index eb5ef33ddf..6591ebe80b 100644
--- a/meta/recipes-support/gmp/gmp_5.1.0.bb
+++ b/meta/recipes-support/gmp/gmp_5.1.0.bb
@@ -3,9 +3,12 @@ LICENSE="LGPLv3&GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790"
+PR = "r1"
+
SRC_URI_append = " file://use-includedir.patch \
file://gmp_fix_for_x32.patch \
file://187b7b1646ee.patch \
+ file://obsolete_automake_macros.patch \
"
SRC_URI[md5sum] = "362cf515aff8dc240958ce47418e4c78"