diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-05-02 13:49:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:17:56 +0100 |
commit | 05fe6c0ab908e5d471e45f8fa9e2bb881d745f1b (patch) | |
tree | ecce4b3135561bf09833577c9a9c614b2374f2de | |
parent | fca50f021a818556ceaa20ce31199131dcdec83c (diff) | |
download | poky-05fe6c0ab908e5d471e45f8fa9e2bb881d745f1b.tar.gz |
mpfr: fix build with automake 1.12
(From OE-Core rev: 000bfb7961ad106a93be8fc98118c533bd6b690d)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/mpfr/mpfr-3.1.0/mpfr_fix_for_automake-1.12.patch | 35 | ||||
-rw-r--r-- | meta/recipes-support/mpfr/mpfr_3.1.0.bb | 7 |
2 files changed, 39 insertions, 3 deletions
diff --git a/meta/recipes-support/mpfr/mpfr-3.1.0/mpfr_fix_for_automake-1.12.patch b/meta/recipes-support/mpfr/mpfr-3.1.0/mpfr_fix_for_automake-1.12.patch new file mode 100644 index 0000000000..5b0a24aa3e --- /dev/null +++ b/meta/recipes-support/mpfr/mpfr-3.1.0/mpfr_fix_for_automake-1.12.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | this patch avoids these issues with automake 1.12 | ||
4 | |||
5 | | configure.ac:304: error: automatic de-ANSI-fication support has been removed | ||
6 | | tests/Makefile.am:12: error: automatic de-ANSI-fication support has been removed | ||
7 | |||
8 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@.intel.com> | ||
9 | 2012/05/02 | ||
10 | |||
11 | Index: mpfr-3.1.0/configure.ac | ||
12 | =================================================================== | ||
13 | --- mpfr-3.1.0.orig/configure.ac | ||
14 | +++ mpfr-3.1.0/configure.ac | ||
15 | @@ -301,7 +301,6 @@ if test "$test_CFLAGS" != set && test -n | ||
16 | fi | ||
17 | |||
18 | AM_PROG_CC_C_O | ||
19 | -AM_C_PROTOTYPES | ||
20 | |||
21 | case $host in | ||
22 | *-apple-darwin*) | ||
23 | Index: mpfr-3.1.0/tests/Makefile.am | ||
24 | =================================================================== | ||
25 | --- mpfr-3.1.0.orig/tests/Makefile.am | ||
26 | +++ mpfr-3.1.0/tests/Makefile.am | ||
27 | @@ -9,7 +9,7 @@ | ||
28 | # PARTICULAR PURPOSE. | ||
29 | |||
30 | |||
31 | -AUTOMAKE_OPTIONS = 1.6 gnu $(top_builddir)/ansi2knr | ||
32 | +AUTOMAKE_OPTIONS = 1.6 gnu | ||
33 | |||
34 | # tversion is run | ||
35 | # * at the beginning so that the user gets a possible version error | ||
diff --git a/meta/recipes-support/mpfr/mpfr_3.1.0.bb b/meta/recipes-support/mpfr/mpfr_3.1.0.bb index 102ec696dc..e7e20cefbc 100644 --- a/meta/recipes-support/mpfr/mpfr_3.1.0.bb +++ b/meta/recipes-support/mpfr/mpfr_3.1.0.bb | |||
@@ -3,11 +3,12 @@ LICENSE="GPLv3&LGPLv3" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
4 | file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6" | 4 | file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6" |
5 | DEPENDS = "gmp" | 5 | DEPENDS = "gmp" |
6 | PR = "r1" | 6 | PR = "r2" |
7 | 7 | ||
8 | SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2 \ | 8 | SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2 \ |
9 | file://long-long-thumb.patch \ | 9 | file://long-long-thumb.patch \ |
10 | " | 10 | file://mpfr_fix_for_automake-1.12.patch \ |
11 | " | ||
11 | 12 | ||
12 | SRC_URI[md5sum] = "238ae4a15cc3a5049b723daef5d17938" | 13 | SRC_URI[md5sum] = "238ae4a15cc3a5049b723daef5d17938" |
13 | SRC_URI[sha256sum] = "74a7bbbad168dd1cc414f1c9210b8fc16ccfc8e422d34b3371a8978e31eab680" | 14 | SRC_URI[sha256sum] = "74a7bbbad168dd1cc414f1c9210b8fc16ccfc8e422d34b3371a8978e31eab680" |