Hello community, here is the log from the commit of package mpir for openSUSE:Factory checked in at 2015-04-07 09:30:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mpir (Old) and /work/SRC/openSUSE:Factory/.mpir.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mpir" Changes: -------- New Changes file: --- /dev/null 2015-03-12 01:14:30.992027505 +0100 +++ /work/SRC/openSUSE:Factory/.mpir.new/mpir.changes 2015-04-07 09:30:04.000000000 +0200 @@ -0,0 +1,64 @@ +------------------------------------------------------------------- +Tue Mar 31 18:33:23 UTC 2015 - jeng...@inai.de + +- Remove implicit --with-pic (only useful for static libs) +- Set license to LGPL-3.0+ + +------------------------------------------------------------------- +Wed Oct 15 10:39:04 UTC 2014 - jeng...@inai.de + +- Add t_assign.diff to fix a testsuite compile failure with gcc 4.3 + +------------------------------------------------------------------- +Sat Oct 11 20:01:02 UTC 2014 - jeng...@inai.de + +- Make package build on SLE11 again + +------------------------------------------------------------------- +Fri Feb 7 12:54:35 UTC 2014 - jeng...@inai.de + +- Add patch 0001-Fix-bug-in-t-scan-test.patch to fix failure + in test suite + +------------------------------------------------------------------- +Thu Dec 6 17:20:04 UTC 2012 - jeng...@inai.de + +- Update to new upstream release 2.6.0 +* Completely new FFT implementation +- Update to new upstream release 2.5.2 +* Support more CPUs +* Additional macros for mpfr-3.1.0 support +* Redc_1 assembly code for sandybridge and bobcat +- Update to new upstream release 2.5.1 +* Correct very rare errors in multiplication code +* Correct very rare errors in GCD,GCDEXT and invert code +- Update to new upstream release 2.5.0 +* Toom22 speedup via assembler +* New x86_64 assembler code +* New Toom eval function using the new assembler code +* Detect another Sandybridge CPU +* New GCD code (by the GMP project) + +------------------------------------------------------------------- +Thu Sep 15 19:20:13 UTC 2011 - jeng...@medozas.de + +- Update to 2.4.0 +* Correct incorrect parameter type for mpz_cdiv_q_2exp +* Sandybridge and Bobcat have been tuned +* Bulldozer cpu detection +* Initial support for intmax functions +- Minor cleanups: blank lines/indent (rest is autoformatted), use + %{?_smp_mflags} for parallel building, and remove redundant + %clean section +- Add baselibs.conf + +------------------------------------------------------------------- +Wed Sep 16 02:30:29 CEST 2009 - crrodrig...@suse.de + +- update to version 1.2.1 + +------------------------------------------------------------------- +Thu May 28 19:28:33 CEST 2009 - crrodrig...@suse.de + +- initial package + New: ---- 0001-Fix-bug-in-t-scan-test.patch gmp-noexec.diff mpir-2.6.0.tar.lzma mpir.changes mpir.spec t_assign.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mpir.spec ++++++ # # spec file for package mpir # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mpir %define lname libmpir11 %define lnamexx libmpirxx4 Version: 2.6.0 Release: 0 Summary: Multiprecision integer library derived from GMP License: LGPL-3.0+ Group: Productivity/Scientific/Math URL: http://mpir.org/ #Git-Clone: git://github.com/wbhart/mpir #Git-Web: https://github.com/wbhart/mpir Source: http://mpir.org/%name-%version.tar.lzma Patch1: gmp-noexec.diff Patch2: 0001-Fix-bug-in-t-scan-test.patch Patch3: t_assign.diff BuildRoot: %_tmppath/%name-%version-build BuildRequires: gcc-c++ BuildRequires: lzma %description MPIR is a library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. It has a rich set of functions, and the functions have a regular interface. %package -n %lname Summary: Multiprecision integer library derived from GMP Group: System/Libraries %description -n %lname MPIR is a library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. It has a rich set of functions, and the functions have a regular interface. %package -n %lnamexx Summary: Multiprecision integer library derived from GMP Group: System/Libraries %description -n %lnamexx MPIR is a library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. It has a rich set of functions, and the functions have a regular interface. %package -n libmpir-devel Summary: Multiprecision integer library derived from GMP Group: Development/Libraries/C and C++ Requires: %lname = %version Requires: %lnamexx = %version Requires: libstdc++-devel PreReq: %install_info_prereq %description -n libmpir-devel MPIR is an open source multiprecision integer library derived from version 4.2.1 of the GMP. MPIR is a library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. It has a rich set of functions, and the functions have a regular interface. This subpackage contains libraries and header files for developing applications that want to make use of libmpir. %prep %setup -q %patch -P 1 -P 2 -P 3 -p1 %build export CFLAGS="%optflags -fexceptions" export CXXFLAGS="%optflags -fexceptions" # SLES11 %%configure contains --target=, but this is wrong to use. # Override with empty value to calm the scripts flagging uses of --target. %configure --target="" --disable-static \ --disable-mpfr --enable-cxx make %{?_smp_mflags} %install %make_install rm -f "%buildroot/%_libdir"/*.la; %check make check %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %post -n %lnamexx -p /sbin/ldconfig %postun -n %lnamexx -p /sbin/ldconfig %post -n libmpir-devel %install_info --info-dir=%_infodir %_infodir/%name.info.gz %install_info --info-dir=%_infodir %_infodir/%name.info-1.gz %install_info --info-dir=%_infodir %_infodir/%name.info-2.gz %preun -n libmpir-devel %install_info_delete --info-dir=%_infodir %_infodir/%name.info.gz %install_info_delete --info-dir=%_infodir %_infodir/%name.info-1.gz %install_info_delete --info-dir=%_infodir %_infodir/%name.info-2.gz %files -n %lname %defattr(-, root, root) %_libdir/libmpir.so.* %files -n %lnamexx %defattr(-, root, root) %_libdir/libmpirxx.so.* %files -n libmpir-devel %defattr(-, root, root) %doc COPYING README %_includedir/*.h %_libdir/libmpir.so %_libdir/libmpirxx.so %_infodir/mpir.info*.gz %changelog ++++++ 0001-Fix-bug-in-t-scan-test.patch ++++++ >From cd371dfbaca8a73806e7e304fdb18ad5866c15cc Mon Sep 17 00:00:00 2001 From: Jean-Pierre Flori <jean-pierre.fl...@ssi.gouv.fr> Date: Tue, 30 Jul 2013 22:53:35 +0200 Subject: [PATCH] Fix bug in t-scan test. Reported by Daniel R. Grayson and fixed by Leif Leonhardy. --- tests/mpz/t-scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mpz/t-scan.c b/tests/mpz/t-scan.c index a52c011..7bcd26d 100644 --- a/tests/mpz/t-scan.c +++ b/tests/mpz/t-scan.c @@ -84,7 +84,7 @@ check_ref (void) for (isize = 0; isize <= size; isize++) { - for (oindex = 0; oindex <= numberof (offset); oindex++) + for (oindex = 0; oindex < numberof (offset); oindex++) { o = offset[oindex]; if ((int) isize*GMP_NUMB_BITS < -o) -- 1.8.4.5 ++++++ gmp-noexec.diff ++++++ --- mpn/m4-ccas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Index: mpir-2.6.0/mpn/m4-ccas =================================================================== --- mpir-2.6.0.orig/mpn/m4-ccas +++ mpir-2.6.0/mpn/m4-ccas @@ -88,8 +88,11 @@ if test $SEEN_O = no; then CC="$CC -o $BASENAME.o" fi +echo '.section .note.GNU-stack,"",@progbits' > $TMP +echo '.previous' >> $TMP + echo "$M4 $DEFS $ASM >$TMP" -$M4 $DEFS $ASM >$TMP || exit +$M4 $DEFS $ASM >>$TMP || exit echo "$CC" $CC || exit ++++++ t_assign.diff ++++++ From: Jan Engelhardt <jeng...@inai.de> Date: 2014-10-15 12:38:30.296690020 +0200 Let building the testsuite succeed on SLE11SP3's gcc 4.3 on x86. g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fexceptions -c -o t-assign.o t-assign.cc t-assign.cc:124: error: integer constant is too large for 'long' type t-assign.cc:127: error: integer constant is too large for 'long' type t-assign.cc:132: error: integer constant is too large for 'long' type t-assign.cc:135: error: integer constant is too large for 'long' type --- tests/cxx/t-assign.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: mpir-2.6.0/tests/cxx/t-assign.cc =================================================================== --- mpir-2.6.0.orig/tests/cxx/t-assign.cc +++ mpir-2.6.0/tests/cxx/t-assign.cc @@ -121,18 +121,18 @@ check_mpz (void) #ifdef MPIRXX_HAVE_LLONG // operator=(unsigned long int) { - unsigned long long int a = 0x1234567812345678; + unsigned long long int a = 0x1234567812345678ULL; mpz_class b; b = a; - ASSERT_ALWAYS(b == 0x1234567812345678); + ASSERT_ALWAYS(b == 0x1234567812345678ULL); } // operator=(unsigned long int) { - long long int a = 0xfedcba9876543210; + long long int a = 0xfedcba9876543210ULL; mpz_class b; b = a; - ASSERT_ALWAYS(b == (mpir_si)0xfedcba9876543210); + ASSERT_ALWAYS(b == (mpir_si)0xfedcba9876543210ULL); } #endif