From: Nitin A Kamble Date: Wed, 2 May 2012 20:49:21 +0000 (-0700) Subject: mpfr: fix build with automake 1.12 X-Git-Tag: rev_ivi_2015_02_04~17132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69a5b6a8286962d1fc488b37413232819b621175;p=scm%2Fbb%2Ftizen-distro.git mpfr: fix build with automake 1.12 (From OE-Core rev: 000bfb7961ad106a93be8fc98118c533bd6b690d) Signed-off-by: Nitin A Kamble Signed-off-by: Richard Purdie --- 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 0000000..5b0a24a --- /dev/null +++ b/meta/recipes-support/mpfr/mpfr-3.1.0/mpfr_fix_for_automake-1.12.patch @@ -0,0 +1,35 @@ +Upstream-Status: Pending + +this patch avoids these issues with automake 1.12 + +| configure.ac:304: error: automatic de-ANSI-fication support has been removed +| tests/Makefile.am:12: error: automatic de-ANSI-fication support has been removed + +Signed-Off-By: Nitin A Kamble +2012/05/02 + +Index: mpfr-3.1.0/configure.ac +=================================================================== +--- mpfr-3.1.0.orig/configure.ac ++++ mpfr-3.1.0/configure.ac +@@ -301,7 +301,6 @@ if test "$test_CFLAGS" != set && test -n + fi + + AM_PROG_CC_C_O +-AM_C_PROTOTYPES + + case $host in + *-apple-darwin*) +Index: mpfr-3.1.0/tests/Makefile.am +=================================================================== +--- mpfr-3.1.0.orig/tests/Makefile.am ++++ mpfr-3.1.0/tests/Makefile.am +@@ -9,7 +9,7 @@ + # PARTICULAR PURPOSE. + + +-AUTOMAKE_OPTIONS = 1.6 gnu $(top_builddir)/ansi2knr ++AUTOMAKE_OPTIONS = 1.6 gnu + + # tversion is run + # * 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 102ec69..e7e20ce 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" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6" DEPENDS = "gmp" -PR = "r1" +PR = "r2" SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2 \ - file://long-long-thumb.patch \ -" + file://long-long-thumb.patch \ + file://mpfr_fix_for_automake-1.12.patch \ + " SRC_URI[md5sum] = "238ae4a15cc3a5049b723daef5d17938" SRC_URI[sha256sum] = "74a7bbbad168dd1cc414f1c9210b8fc16ccfc8e422d34b3371a8978e31eab680"