diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-05-04 10:07:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:18:01 +0100 |
commit | 04bdcbe62f49424f09f79662f15207866b1c50aa (patch) | |
tree | 8b4b282b1b60f481546bcca65ef2fac4d8517e18 /meta/recipes-support/gmp/gmp-4.2.1 | |
parent | 2c90a0a75b0eee684896c7cd1bdbb7cf7dc60314 (diff) | |
download | poky-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/gmp-4.2.1')
-rw-r--r-- | meta/recipes-support/gmp/gmp-4.2.1/gmp_fix_for_automake-1.12.patch | 48 |
1 files changed, 48 insertions, 0 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 @@ | |||
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-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 | |||
36 | Index: 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 | ||