summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-05-04 10:07:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-25 11:18:01 +0100
commit04bdcbe62f49424f09f79662f15207866b1c50aa (patch)
tree8b4b282b1b60f481546bcca65ef2fac4d8517e18 /meta/recipes-support/gmp
parent2c90a0a75b0eee684896c7cd1bdbb7cf7dc60314 (diff)
downloadpoky-04bdcbe62f49424f09f79662f15207866b1c50aa.tar.gz
gmp-4.2.1: fix build with automake 1.12
(From OE-Core rev: f48e5acc0dd3a61c80feb22698e3a7bb5986146b) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp')
-rw-r--r--meta/recipes-support/gmp/gmp-4.2.1/gmp_fix_for_automake-1.12.patch48
-rw-r--r--meta/recipes-support/gmp/gmp_4.2.1.bb6
2 files changed, 52 insertions, 2 deletions
diff --git a/meta/recipes-support/gmp/gmp-4.2.1/gmp_fix_for_automake-1.12.patch b/meta/recipes-support/gmp/gmp-4.2.1/gmp_fix_for_automake-1.12.patch
new file mode 100644
index 0000000000..fbd8a39d01
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp-4.2.1/gmp_fix_for_automake-1.12.patch
@@ -0,0 +1,48 @@
1Upstream-Status: Pending
2
3automake 1.12 has depricated automatic de-ANSI-fication support
4
5this patch avoids these kinds of errors:
6
7| configure.in:2240: error: automatic de-ANSI-fication support has been removed
8| Makefile.am:28: error: automatic de-ANSI-fication support has been removed
9
10Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
112012/05/02
12
13Index: gmp-4.2.1/configure.in
14===================================================================
15--- gmp-4.2.1.orig/configure.in
16+++ gmp-4.2.1/configure.in
17@@ -67,7 +67,7 @@ dnl
18 dnl Note that there's a copy of these options in the top-level Makefile.am,
19 dnl so update there too if changing anything.
20 dnl
21-AM_INIT_AUTOMAKE([1.8 gnu no-dependencies $(top_builddir)/ansi2knr])
22+AM_INIT_AUTOMAKE([1.8 gnu no-dependencies])
23 AM_CONFIG_HEADER(config.h:config.in)
24 AM_MAINTAINER_MODE
25
26@@ -2022,9 +2022,6 @@ fi
27 echo " MPN_PATH=\"$path\""
28
29
30-# Automake ansi2knr support.
31-AM_C_PROTOTYPES
32-
33 GMP_PROG_AR
34 GMP_PROG_NM
35
36Index: gmp-4.2.1/Makefile.am
37===================================================================
38--- gmp-4.2.1.orig/Makefile.am
39+++ gmp-4.2.1/Makefile.am
40@@ -27,7 +27,7 @@
41 # Makefiles in subdirectories, but here we must omit it so automake gives
42 # the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
43 #
44-AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies ansi2knr
45+AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
46
47
48 # Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the
diff --git a/meta/recipes-support/gmp/gmp_4.2.1.bb b/meta/recipes-support/gmp/gmp_4.2.1.bb
index 280b1ab14f..49ee59b7dc 100644
--- a/meta/recipes-support/gmp/gmp_4.2.1.bb
+++ b/meta/recipes-support/gmp/gmp_4.2.1.bb
@@ -6,10 +6,12 @@ LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \
7 file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ 7 file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \
8 file://gmp-h.in;startline=6;endline=21;md5=5e25ffd16996faba8c1cd27b04b16099" 8 file://gmp-h.in;startline=6;endline=21;md5=5e25ffd16996faba8c1cd27b04b16099"
9PR = "r1" 9PR = "r2"
10 10
11SRC_URI = "${GNU_MIRROR}/gmp/${BP}.tar.bz2 \ 11SRC_URI = "${GNU_MIRROR}/gmp/${BP}.tar.bz2 \
12 file://disable-stdc.patch" 12 file://disable-stdc.patch \
13 file://gmp_fix_for_automake-1.12.patch \
14 "
13 15
14SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3" 16SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3"
15SRC_URI[sha256sum] = "d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941" 17SRC_URI[sha256sum] = "d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941"