diff options
-rw-r--r-- | meta/recipes-support/gmp/gmp/gmp_fix_for_automake-1.12.patch | 48 | ||||
-rw-r--r-- | meta/recipes-support/gmp/gmp_5.0.4.bb | 6 |
2 files changed, 52 insertions, 2 deletions
diff --git a/meta/recipes-support/gmp/gmp/gmp_fix_for_automake-1.12.patch b/meta/recipes-support/gmp/gmp/gmp_fix_for_automake-1.12.patch new file mode 100644 index 0000000000..8ff1bcfad2 --- /dev/null +++ b/meta/recipes-support/gmp/gmp/gmp_fix_for_automake-1.12.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | automake 1.12 has depricated automatic de-ANSI-fication support | ||
4 | |||
5 | this 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 | |||
10 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
11 | 2012/05/02 | ||
12 | |||
13 | Index: gmp-5.0.4/configure.in | ||
14 | =================================================================== | ||
15 | --- gmp-5.0.4.orig/configure.in | ||
16 | +++ gmp-5.0.4/configure.in | ||
17 | @@ -59,7 +59,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 | @@ -2236,9 +2236,6 @@ fi | ||
27 | echo " MPN_PATH=\"$path\"" | ||
28 | |||
29 | |||
30 | -# Automake ansi2knr support. | ||
31 | -AM_C_PROTOTYPES | ||
32 | - | ||
33 | CL_AS_NOEXECSTACK | ||
34 | |||
35 | GMP_PROG_AR | ||
36 | Index: gmp-5.0.4/Makefile.am | ||
37 | =================================================================== | ||
38 | --- gmp-5.0.4.orig/Makefile.am | ||
39 | +++ gmp-5.0.4/Makefile.am | ||
40 | @@ -25,7 +25,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_5.0.4.bb b/meta/recipes-support/gmp/gmp_5.0.4.bb index 9adcc3f445..cb2ca5b983 100644 --- a/meta/recipes-support/gmp/gmp_5.0.4.bb +++ b/meta/recipes-support/gmp/gmp_5.0.4.bb | |||
@@ -2,10 +2,12 @@ require gmp.inc | |||
2 | LICENSE="LGPLv3&GPLv3" | 2 | LICENSE="LGPLv3&GPLv3" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
4 | file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790" | 4 | file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790" |
5 | PR = "r0" | 5 | PR = "r1" |
6 | 6 | ||
7 | SRC_URI_append += "file://use-includedir.patch \ | 7 | SRC_URI_append += "file://use-includedir.patch \ |
8 | file://gmp_fix_for_x32.patch" | 8 | file://gmp_fix_for_x32.patch \ |
9 | file://gmp_fix_for_automake-1.12.patch \ | ||
10 | " | ||
9 | 11 | ||
10 | export CC_FOR_BUILD = "${BUILD_CC}" | 12 | export CC_FOR_BUILD = "${BUILD_CC}" |
11 | 13 | ||