Accepting request 312940 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/312940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpfr?expand=0&rev=38
This commit is contained in:
Stephan Kulow 2015-07-05 15:50:25 +00:00 committed by Git OBS Bridge
commit 89844b211f
7 changed files with 22 additions and 30 deletions

View File

@ -1,17 +0,0 @@
diff -Naurd mpfr-3.1.2-a/src/strtofr.c mpfr-3.1.2-b/src/strtofr.c
--- mpfr-3.1.2-a/src/strtofr.c 2013-03-13 15:37:32.000000000 +0000
+++ mpfr-3.1.2-b/src/strtofr.c 2014-12-04 01:41:57.287791246 +0000
@@ -473,8 +473,10 @@
/* prec bits corresponds to ysize limbs */
ysize_bits = ysize * GMP_NUMB_BITS;
/* and to ysize_bits >= prec > MPFR_PREC (x) bits */
- y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 1);
- y += ysize; /* y has (ysize+1) allocated limbs */
+ /* we need to allocate one more limb to work around bug
+ https://gmplib.org/list-archives/gmp-bugs/2013-December/003267.html */
+ y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 2);
+ y += ysize; /* y has (ysize+2) allocated limbs */
/* pstr_size is the number of characters we read in pstr->mant
to have at least ysize full limbs.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b
size 1225496

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEABECAAYFAlFAnbgACgkQmAwZdpjDc50lWACgkuETs4EfD6RyxKejqG+QL9u6
JLEAnRbMHrz3T0fuzBi8x119ErGqv4as
=XXsp
-----END PGP SIGNATURE-----

3
mpfr-3.1.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f63bb459157cacd223caac545cb816bcdb5a0de28b809e7748b82e9eb89b0afd
size 1281323

7
mpfr-3.1.3.tar.bz2.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlWEdB8ACgkQmAwZdpjDc51XaQCeM/w5Ur0Jn4hOV1hLzWiXcexj
6gkAnA0mcUx3YgHYxfGxu3Qy3nS48nMc
=hLhj
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Jun 21 15:09:38 UTC 2015 - astieger@suse.com
- update to 3.1.3:
* Better support for Automake 1.13+ (now used to generate the
tarball).
* Improved MPFR manual.
* Bug fixes (see <http://www.mpfr.org/mpfr-3.1.2/#fixed> and
ChangeLog file)
- drop upstreamed mpfr-3.1.2-patch11.diff
-------------------------------------------------------------------
Sun Mar 1 10:57:39 UTC 2015 - mpluskal@suse.com

View File

@ -17,7 +17,7 @@
Name: mpfr
Version: 3.1.2
Version: 3.1.3
Release: 0
Summary: The GNU multiple-precision floating-point library
License: LGPL-3.0+
@ -27,7 +27,6 @@ Source0: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2
Source1: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2.asc
Source2: %{name}.keyring
Source3: baselibs.conf
Patch1: mpfr-3.1.2-patch11.diff
BuildRequires: gmp-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -67,7 +66,6 @@ based on the GMP multiple-precision library.
%prep
%setup -q
%patch1 -p1
%build
%configure \