diff options
author | Bogdan Marinescu <bogdan.a.marinescu@intel.com> | 2013-05-07 13:20:53 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-12 09:37:28 +0100 |
commit | 821d0366a7946140c24fa6629f84aea52a50a444 (patch) | |
tree | a469eda592000571a2d2b8665a47b6a96e9a5045 | |
parent | c4c053b8f31ee47db99a15282ccc1c4038f20907 (diff) | |
download | poky-821d0366a7946140c24fa6629f84aea52a50a444.tar.gz |
libmpc: upgraded to 1.0.1
License changed from LGPLv2 to LGPLv3.
The automake patch was integrated upstream in a different form.
(From OE-Core rev: 3e6d3ffee6d7a37981d22c2719dc5bd7aface9fb)
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libmpc/libmpc.inc | 2 | ||||
-rw-r--r-- | meta/recipes-support/libmpc/libmpc/libmpc_fix_for_automake-1.12.patch | 26 | ||||
-rw-r--r-- | meta/recipes-support/libmpc/libmpc_0.8.2.bb | 16 | ||||
-rw-r--r-- | meta/recipes-support/libmpc/libmpc_1.0.1.bb | 13 |
4 files changed, 14 insertions, 43 deletions
diff --git a/meta/recipes-support/libmpc/libmpc.inc b/meta/recipes-support/libmpc/libmpc.inc index 6e18e588be..0788dc261d 100644 --- a/meta/recipes-support/libmpc/libmpc.inc +++ b/meta/recipes-support/libmpc/libmpc.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | DESCRIPTION = "Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr" | 1 | DESCRIPTION = "Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr" |
2 | HOMEPAGE = "http://www.multiprecision.org/" | 2 | HOMEPAGE = "http://www.multiprecision.org/" |
3 | LICENSE = "LGPLv2" | 3 | LICENSE = "LGPLv3" |
4 | SECTION = "libs" | 4 | SECTION = "libs" |
5 | 5 | ||
6 | inherit autotools | 6 | inherit autotools |
diff --git a/meta/recipes-support/libmpc/libmpc/libmpc_fix_for_automake-1.12.patch b/meta/recipes-support/libmpc/libmpc/libmpc_fix_for_automake-1.12.patch deleted file mode 100644 index 75fa28e338..0000000000 --- a/meta/recipes-support/libmpc/libmpc/libmpc_fix_for_automake-1.12.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | this fix avoids this error with automake 1.12 | ||
4 | |||
5 | | automake: warnings are treated as errors | ||
6 | | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libmpc.la': linking libtool libraries using a non-POSIX | ||
7 | | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' | ||
8 | |||
9 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
10 | 2012/05/02 | ||
11 | |||
12 | Index: mpc-0.8.2/configure.ac | ||
13 | =================================================================== | ||
14 | --- mpc-0.8.2.orig/configure.ac | ||
15 | +++ mpc-0.8.2/configure.ac | ||
16 | @@ -86,6 +86,10 @@ AC_PROG_EGREP | ||
17 | AC_PROG_SED | ||
18 | AC_LANG(C) | ||
19 | |||
20 | +# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it | ||
21 | +m4_pattern_allow([AM_PROG_AR]) | ||
22 | +AM_PROG_AR | ||
23 | + | ||
24 | dnl Check for GMP CFLAGS in gmp.h | ||
25 | if test -z "$user_redefine_cc" ; then | ||
26 | MPC_GMP_CC_CFLAGS | ||
diff --git a/meta/recipes-support/libmpc/libmpc_0.8.2.bb b/meta/recipes-support/libmpc/libmpc_0.8.2.bb deleted file mode 100644 index 7a372bab68..0000000000 --- a/meta/recipes-support/libmpc/libmpc_0.8.2.bb +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | require libmpc.inc | ||
2 | |||
3 | DEPENDS = "gmp mpfr" | ||
4 | |||
5 | PR = "r1" | ||
6 | LICENSE="LGPLv2.1" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
8 | SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz \ | ||
9 | file://libmpc_fix_for_automake-1.12.patch" | ||
10 | |||
11 | SRC_URI[md5sum] = "e98267ebd5648a39f881d66797122fb6" | ||
12 | SRC_URI[sha256sum] = "ae79f8d41d8a86456b68607e9ca398d00f8b7342d1d83bcf4428178ac45380c7" | ||
13 | |||
14 | S = "${WORKDIR}/mpc-${PV}" | ||
15 | BBCLASSEXTEND = "native nativesdk" | ||
16 | |||
diff --git a/meta/recipes-support/libmpc/libmpc_1.0.1.bb b/meta/recipes-support/libmpc/libmpc_1.0.1.bb new file mode 100644 index 0000000000..0b4766ca8b --- /dev/null +++ b/meta/recipes-support/libmpc/libmpc_1.0.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | require libmpc.inc | ||
2 | |||
3 | DEPENDS = "gmp mpfr" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" | ||
6 | SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz" | ||
7 | |||
8 | SRC_URI[md5sum] = "b32a2e1a3daa392372fbd586d1ed3679" | ||
9 | SRC_URI[sha256sum] = "ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff" | ||
10 | |||
11 | S = "${WORKDIR}/mpc-${PV}" | ||
12 | BBCLASSEXTEND = "native nativesdk" | ||
13 | |||