diff options
author | 2017-01-15 19:27:57 +0000 | |
---|---|---|
committer | 2017-01-15 19:28:11 +0000 | |
commit | f07eeec3c59081e46fda12c83bed06e4cc6e0f91 (patch) | |
tree | db0a26d2530cf8361019ded03971ebc9f2f873ee /sci-libs/mpir/files | |
parent | sci-biology/rebase: Drop old (diff) | |
download | gentoo-f07eeec3c59081e46fda12c83bed06e4cc6e0f91.tar.gz gentoo-f07eeec3c59081e46fda12c83bed06e4cc6e0f91.tar.bz2 gentoo-f07eeec3c59081e46fda12c83bed06e4cc6e0f91.zip |
sci-libs/mpir: Version Bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs/mpir/files')
-rw-r--r-- | sci-libs/mpir/files/mpir-2.2.0-yasm.patch | 54 | ||||
-rw-r--r-- | sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch | 145 |
2 files changed, 145 insertions, 54 deletions
diff --git a/sci-libs/mpir/files/mpir-2.2.0-yasm.patch b/sci-libs/mpir/files/mpir-2.2.0-yasm.patch deleted file mode 100644 index e717891a4e64..000000000000 --- a/sci-libs/mpir/files/mpir-2.2.0-yasm.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff -U 3 -dHrN mpir-2.2.0.orig/configure.in mpir-2.2.0/configure.in ---- mpir-2.2.0.orig/configure.in 2010-12-16 10:16:19.000000000 +0100 -+++ mpir-2.2.0/configure.in 2010-12-16 10:16:53.000000000 +0100 -@@ -1455,8 +1455,6 @@ - ;; - esac - --AM_CONDITIONAL(BUILD_YASM, test "$want_yasm" = "yes") -- - CFLAGS_or_unset=${CFLAGS-'(unset)'} - CPPFLAGS_or_unset=${CPPFLAGS-'(unset)'} - -@@ -1848,7 +1846,7 @@ - GMP_CHECK_LIBM_FOR_BUILD - - --MPIR_AS="/yasm/yasm" -+MPIR_AS="yasm" - - # How to assemble, used with CFLAGS etc, see mpn/Makeasm.am. - # Using the compiler is a lot easier than figuring out how to invoke the -@@ -3161,9 +3159,6 @@ - # FIXME: Upcoming version of autoconf/automake don't like broken lines. - # Right now automake isn't accepting the new AC_CONFIG_FILES scheme. - --# allways configure all subdirectorys , even if there are not going to be built , --AC_CONFIG_SUBDIRS([yasm]) -- - case $host in - *-w64-mingw*) - if test $enable_fat = yes; then -diff -U 3 -dHrN mpir-2.2.0.orig/Makefile.am mpir-2.2.0/Makefile.am ---- mpir-2.2.0.orig/Makefile.am 2010-12-16 10:16:21.000000000 +0100 -+++ mpir-2.2.0/Makefile.am 2010-12-16 10:17:19.000000000 +0100 -@@ -95,10 +95,6 @@ - - SUBDIRS = tests - --if BUILD_YASM --SUBDIRS += yasm --endif -- - SUBDIRS += mpn mpz mpq mpf printf scanf cxx tune doc - - EXTRA_DIST = configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf -diff -U 3 -dHrN mpir-2.2.0.orig/mpn/Makeasm.am mpir-2.2.0/mpn/Makeasm.am ---- mpir-2.2.0.orig/mpn/Makeasm.am 2010-12-16 10:16:18.000000000 +0100 -+++ mpir-2.2.0/mpn/Makeasm.am 2010-12-16 10:16:35.000000000 +0100 -@@ -112,4 +112,4 @@ - # .as assembler, assembled with Yasm - - .as.lo: -- $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/strip_fPIC.sh $(top_builddir)$(MPIR_AS) -I $(top_builddir) $(OBJECT_FORMAT) $(GSYM_FLAG) -o $@ `test -f '$<' || echo '$(srcdir)/'`$< -+ $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/strip_fPIC.sh $(MPIR_AS) -I $(top_builddir) $(OBJECT_FORMAT) $(GSYM_FLAG) -o $@ `test -f '$<' || echo '$(srcdir)/'`$< diff --git a/sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch b/sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch new file mode 100644 index 000000000000..f02df55ccf98 --- /dev/null +++ b/sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch @@ -0,0 +1,145 @@ +--- a/configure.ac 2009-11-28 10:48:59.196977657 +0000 ++++ b/configure.ac 2009-11-28 10:54:50.717976971 +0000 +@@ -361,7 +361,7 @@ + # hugely bloat the output. + + +-AC_ARG_VAR(ABI, [desired ABI (for processors supporting more than one ABI)]) ++AC_ARG_VAR(MPIRABI, [desired ABI (for processors supporting more than one ABI)]) + + # abilist needs to be non-empty, "standard" is just a generic name here + abilist="standard" +@@ -1590,7 +1590,7 @@ + + cat >&AC_FD_CC <<EOF + User: +-ABI=$ABI ++MPIRABI=$MPIRABI + CC=$CC + CFLAGS=$CFLAGS_or_unset + CPPFLAGS=$CPPFLAGS_or_unset +@@ -1611,22 +1611,22 @@ + # If the user specifies an ABI then it must be in $abilist, after that + # $abilist is restricted to just that choice. + # +-if test -n "$ABI"; then ++if test -n "$MPIRABI"; then + found=no + for abi in $abilist; do +- if test $abi = "$ABI"; then found=yes; break; fi ++ if test $abi = "$MPIRABI"; then found=yes; break; fi + done + if test $found = no; then +- AC_MSG_ERROR([ABI=$ABI is not among the following valid choices: $abilist]) ++ AC_MSG_ERROR([MPIRABI=$MPIRABI is not among the following valid choices: $abilist]) + fi +- abilist="$ABI" ++ abilist="$MPIRABI" + fi + + found_compiler=no + + for abi in $abilist; do + +- echo "checking ABI=$abi" ++ echo "checking MPIRABI=$abi" + + # Suppose abilist="64 32", then for abi=64, will have abi1="_64" and + # abi2="_64". For abi=32, will have abi1="_32" and abi2="". This is how +@@ -1879,7 +1879,7 @@ + done + fi + +- ABI="$abi" ++ MPIRABI="$abi" + CC="$cc" + CFLAGS="$cflags" + CPPFLAGS="$cppflags" +@@ -1895,8 +1895,8 @@ + AC_SUBST(GMP_CFLAGS) + + # Could easily have this in config.h too, if desired. +- ABI_nodots=`echo $ABI | sed 's/\./_/'` +- GMP_DEFINE_RAW("define_not_for_expansion(\`HAVE_ABI_$ABI_nodots')", POST) ++ ABI_nodots=`echo $MPIRABI | sed 's/\./_/'` ++ GMP_DEFINE_RAW("define_not_for_expansion(\`HAVE_ABI_$MPIRABI_nodots')", POST) + + + # GMP_LDFLAGS substitution, selected according to ABI. +@@ -2094,7 +2094,7 @@ + # + case $host in + X86_PATTERN | X86_64_PATTERN) +- if test "$ABI" = 32; then ++ if test "$MPIRABI" = 32; then + case "$path $fat_path" in + *mmx*) GMP_ASM_X86_MMX( , [GMP_STRIP_PATH(*mmx*)]) ;; + esac +@@ -2108,7 +2108,7 @@ + + cat >&AC_FD_CC <<EOF + Decided: +-ABI=$ABI ++MPIRABI=$MPIRABI + CC=$CC + CFLAGS=$CFLAGS + CPPFLAGS=$CPPFLAGS +@@ -2117,7 +2117,7 @@ + CXXFLAGS=$CXXFLAGS + path=$path + EOF +-echo "using ABI=\"$ABI\"" ++echo "using MPIRABI=\"$MPIRABI\"" + echo " CC=\"$CC\"" + echo " CFLAGS=\"$CFLAGS\"" + echo " CPPFLAGS=\"$CPPFLAGS\"" +@@ -2593,7 +2593,7 @@ + + + if test -n "$fat_path"; then +- if test "$ABI" = 64; then ++ if test "$MPIRABI" = 64; then + fat_path="$fat_path_64" + fi + +@@ -3099,19 +3099,19 @@ + GMP_INCLUDE_MPN(powerpc32/powerpc-defs.m4) + case $host in + *-*-aix*) +- case $ABI in ++ case $MPIRABI in + 64 | aix64) GMP_INCLUDE_MPN(powerpc64/aix.m4) ;; + *) GMP_INCLUDE_MPN(powerpc32/aix.m4) ;; + esac + ;; + *-*-linux* | *-*-*bsd*) +- case $ABI in ++ case $MPIRABI in + mode64) GMP_INCLUDE_MPN(powerpc64/elf.m4) ;; + mode32 | 32) GMP_INCLUDE_MPN(powerpc32/elf.m4) ;; + esac + ;; + *-*-darwin*) +- case $ABI in ++ case $MPIRABI in + mode64) GMP_INCLUDE_MPN(powerpc64/darwin.m4) ;; + mode32 | 32) GMP_INCLUDE_MPN(powerpc32/darwin.m4) ;; + esac +@@ -3126,7 +3126,7 @@ + GMP_INCLUDE_MPN(powerpc32/aix.m4) + ;; + sparcv9*-*-* | ultrasparc*-*-* | sparc64-*-*) +- case $ABI in ++ case $MPIRABI in + 64) + GMP_ASM_SPARC_REGISTER + ;; +@@ -3134,7 +3134,7 @@ + ;; + X86_PATTERN | X86_64_PATTERN) + GMP_ASM_ALIGN_FILL_0x90 +- case $ABI in ++ case $MPIRABI in + 32) + GMP_INCLUDE_MPN(x86/x86-defs.m4) + AC_DEFINE(HAVE_HOST_CPU_FAMILY_x86) |