summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-20 14:24:20 +0000
committerMike Frysinger <vapier@gentoo.org>2008-08-20 14:24:20 +0000
commit7ff450864e2dfa9c46d3190c7ca906f7ff685bef (patch)
tree16757ce48bba5c24cc005718588f8fdc1d99883d /dev-libs/mpfr
parentVersion bump. (diff)
downloadhistorical-7ff450864e2dfa9c46d3190c7ca906f7ff685bef.tar.gz
historical-7ff450864e2dfa9c46d3190c7ca906f7ff685bef.tar.bz2
historical-7ff450864e2dfa9c46d3190c7ca906f7ff685bef.zip
Apply upstream patch01 for mpfr-2.3.1.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.2 x86_64
Diffstat (limited to 'dev-libs/mpfr')
-rw-r--r--dev-libs/mpfr/ChangeLog8
-rw-r--r--dev-libs/mpfr/Manifest12
-rw-r--r--dev-libs/mpfr/files/2.3.1/patch01209
-rw-r--r--dev-libs/mpfr/mpfr-2.3.1_p1.ebuild46
4 files changed, 269 insertions, 6 deletions
diff --git a/dev-libs/mpfr/ChangeLog b/dev-libs/mpfr/ChangeLog
index 29ee609f71ad..7a4b9f1d694f 100644
--- a/dev-libs/mpfr/ChangeLog
+++ b/dev-libs/mpfr/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/mpfr
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.75 2008/05/02 04:55:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.76 2008/08/20 14:24:19 vapier Exp $
+
+*mpfr-2.3.1_p1 (20 Aug 2008)
+
+ 20 Aug 2008; Mike Frysinger <vapier@gentoo.org> +files/2.3.1/patch01,
+ +mpfr-2.3.1_p1.ebuild:
+ Apply upstream patch01 for mpfr-2.3.1.
02 May 2008; Mike Frysinger <vapier@gentoo.org> mpfr-2.3.1.ebuild:
Drop the hardcoded shared/static flags as the default is to build both and
diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest
index c35534183ffd..def1e85b2e1b 100644
--- a/dev-libs/mpfr/Manifest
+++ b/dev-libs/mpfr/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX 2.3.1/patch01 8409 RMD160 ab6214e9177740552b5dfb543c5202b6d7c298da SHA1 3fe727c465ea76e2a2fc81ad470872d4c466343c SHA256 452e7bec28f702f0220f2d4445760e21bba8e5922788979a7ed3bc3c51129cdb
DIST mpfr-2.3.1.tar.bz2 888921 RMD160 bee605214c22b6a918eef9b9bb77d12b4c4f1188 SHA1 302ebc61d24bed644e88e6ba269b2ec4146947a5 SHA256 d857f9df4a6cf50d0bc57dd11296dd1a8d1ac709442875ea4fcd757a89da8430
EBUILD mpfr-2.3.1.ebuild 1320 RMD160 66c83ccd340bc86c874dc62913b9422a711209d1 SHA1 d3fea9aa3ce3a979958ad4c9841e317071a191e6 SHA256 52ec6fedccdd15f1fd4907486754592f7b4a1e2fd3e909eb8d9735c3af9c2ae2
-MISC ChangeLog 9204 RMD160 cfcfa842c5a25b306e74d4d15bd28ce75032a8d6 SHA1 988d76ef47fe98d23d96927a78fe59473b144d7d SHA256 111f251f07ad4b0975e5138dbc9f3e57f877a2e37bedfef1943336bb64d970cc
+EBUILD mpfr-2.3.1_p1.ebuild 1387 RMD160 d9afa909b6dc0e7416b8cd7f30d0677b02c6a565 SHA1 e988a1fcc92041adba8c7faa63c0ca0d842ad159 SHA256 95446c8e24e776df2314bf6b6f0d74e3b477153bee69d78f0d4f104507e621cd
+MISC ChangeLog 9373 RMD160 2e7e61e1cb4f9278e00f14e608dc36efd263e386 SHA1 05615733f6faacd766a7a3a7fed8fcf602e28630 SHA256 c4c16e81700e0b83862925630cfae453a939af819f7ed3bce4c22446dd5428f3
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFIGp7Sj9hvisErhMIRAk3BAJ9VikYrosipuC8woa/xVSOnY+KebACgkS8/
-uBuCDCEOKTZ2a9UEGzGCT8w=
-=GlcO
+iEYEARECAAYFAkisKRgACgkQ67wieSYcaxcPSgCePu2n3YnvqCJMWvv5j31bYL+U
+eVMAnjVVDYb5spcfFmzkKc+JpMc60GQR
+=jSUj
-----END PGP SIGNATURE-----
diff --git a/dev-libs/mpfr/files/2.3.1/patch01 b/dev-libs/mpfr/files/2.3.1/patch01
new file mode 100644
index 000000000000..7c16c1b59d9f
--- /dev/null
+++ b/dev-libs/mpfr/files/2.3.1/patch01
@@ -0,0 +1,209 @@
+diff -Naurd mpfr-2.3.1-a/acinclude.m4 mpfr-2.3.1-b/acinclude.m4
+--- mpfr-2.3.1-a/acinclude.m4 2008-01-23 13:36:46.000000000 +0000
++++ mpfr-2.3.1-b/acinclude.m4 2008-01-23 13:36:46.000000000 +0000
+@@ -286,6 +286,9 @@
+ dnl important to run the test below.
+ if test "$enable_thread_safe" = yes; then
+ AC_CACHE_CHECK([for TLS support], mpfr_cv_working_tls, [
++saved_CPPFLAGS="$CPPFLAGS"
++# The -I$srcdir is necessary when objdir is different from srcdir.
++CPPFLAGS="$CPPFLAGS -I$srcdir"
+ AC_RUN_IFELSE([
+ #define MPFR_USE_THREAD_SAFE 1
+ #include "mpfr-thread.h"
+@@ -297,6 +300,7 @@
+ [AC_MSG_RESULT(no)
+ AC_MSG_ERROR([please configure with --disable-thread-safe])],
+ [mpfr_cv_working_tls="cannot test, assume yes"])
++CPPFLAGS="$saved_CPPFLAGS"
+ ])
+ fi
+ ])
+diff -Naurd mpfr-2.3.1-a/configure mpfr-2.3.1-b/configure
+--- mpfr-2.3.1-a/configure 2008-01-29 08:51:07.000000000 +0000
++++ mpfr-2.3.1-b/configure 2008-05-10 23:49:37.000000000 +0000
+@@ -7528,6 +7528,9 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+
++saved_CPPFLAGS="$CPPFLAGS"
++# The -I$srcdir is necessary when objdir is different from srcdir.
++CPPFLAGS="$CPPFLAGS -I$srcdir"
+ if test "$cross_compiling" = yes; then
+ mpfr_cv_working_tls="cannot test, assume yes"
+ else
+@@ -7578,6 +7581,7 @@
+ fi
+
+
++CPPFLAGS="$saved_CPPFLAGS"
+
+ fi
+ { echo "$as_me:$LINENO: result: $mpfr_cv_working_tls" >&5
+@@ -9278,7 +9282,7 @@
+ ;;
+ *-*-irix6*)
+ # Find out which ABI we are using.
+- echo '#line 9281 "configure"' > conftest.$ac_ext
++ echo '#line 9285 "configure"' > conftest.$ac_ext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+@@ -11103,11 +11107,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:11106: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:11110: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+- echo "$as_me:11110: \$? = $ac_status" >&5
++ echo "$as_me:11114: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+@@ -11393,11 +11397,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:11396: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:11400: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+- echo "$as_me:11400: \$? = $ac_status" >&5
++ echo "$as_me:11404: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+@@ -11497,11 +11501,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:11500: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:11504: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+- echo "$as_me:11504: \$? = $ac_status" >&5
++ echo "$as_me:11508: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+@@ -13859,7 +13863,7 @@
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+-#line 13862 "configure"
++#line 13866 "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -13959,7 +13963,7 @@
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+-#line 13962 "configure"
++#line 13966 "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -16379,11 +16383,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:16382: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:16386: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+- echo "$as_me:16386: \$? = $ac_status" >&5
++ echo "$as_me:16390: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+@@ -16483,11 +16487,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:16486: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:16490: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+- echo "$as_me:16490: \$? = $ac_status" >&5
++ echo "$as_me:16494: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+@@ -18060,11 +18064,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:18063: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:18067: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+- echo "$as_me:18067: \$? = $ac_status" >&5
++ echo "$as_me:18071: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+@@ -18164,11 +18168,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:18167: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:18171: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+- echo "$as_me:18171: \$? = $ac_status" >&5
++ echo "$as_me:18175: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+@@ -20364,11 +20368,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:20367: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:20371: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+- echo "$as_me:20371: \$? = $ac_status" >&5
++ echo "$as_me:20375: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+@@ -20654,11 +20658,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:20657: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:20661: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+- echo "$as_me:20661: \$? = $ac_status" >&5
++ echo "$as_me:20665: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+@@ -20758,11 +20762,11 @@
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+- (eval echo "\"\$as_me:20761: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:20765: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+- echo "$as_me:20765: \$? = $ac_status" >&5
++ echo "$as_me:20769: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
diff --git a/dev-libs/mpfr/mpfr-2.3.1_p1.ebuild b/dev-libs/mpfr/mpfr-2.3.1_p1.ebuild
new file mode 100644
index 000000000000..8a8ae13261ec
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-2.3.1_p1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.3.1_p1.ebuild,v 1.1 2008/08/20 14:24:19 vapier Exp $
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-current/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=dev-libs/gmp-4.1.4-r2"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack "${MY_P}.tar.bz2"
+ cd "${S}"
+ [[ ${PLEVEL} == ${PV} ]] && return 0
+ for ((i=1; i<=PLEVEL; ++i)) ; do
+ patch=patch$(printf '%02d' ${i})
+ if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+ epatch "${FILESDIR}"/${MY_PV}/${patch}
+ elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+ epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+ else
+ ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+ die "patch ${i} missing - please report to bugs.gentoo.org"
+ fi
+ done
+ find -type f -print0 | xargs -0 touch -r configure
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+ dohtml *.html
+}