- Update to version 3.1.1.

* Bug fixes

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=20
This commit is contained in:
Richard Biener 2012-07-04 08:51:38 +00:00 committed by Git OBS Bridge
parent 18b58a1f5a
commit 921d79a8f1
5 changed files with 20 additions and 61 deletions

View File

@ -1,50 +0,0 @@
diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES
--- mpfr-3.1.0-a/PATCHES 2011-10-05 21:39:57.000000000 +0000
+++ mpfr-3.1.0-b/PATCHES 2011-10-05 21:39:57.000000000 +0000
@@ -0,0 +1 @@
+mpfr_unlikely
diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION
--- mpfr-3.1.0-a/VERSION 2011-10-03 08:17:15.000000000 +0000
+++ mpfr-3.1.0-b/VERSION 2011-10-05 21:39:57.000000000 +0000
@@ -1 +1 @@
-3.1.0
+3.1.0-p1
diff -Naurd mpfr-3.1.0-a/src/mpfr-impl.h mpfr-3.1.0-b/src/mpfr-impl.h
--- mpfr-3.1.0-a/src/mpfr-impl.h 2011-10-03 08:17:09.000000000 +0000
+++ mpfr-3.1.0-b/src/mpfr-impl.h 2011-10-05 21:39:57.000000000 +0000
@@ -988,10 +988,11 @@
******************************************************/
/* Theses macros help the compiler to determine if a test is
- * likely or unlikely. */
+ likely or unlikely. The !! is necessary in case x is larger
+ than a long. */
#if __MPFR_GNUC(3,0) || __MPFR_ICC(8,1,0)
# define MPFR_LIKELY(x) (__builtin_expect(!!(x),1))
-# define MPFR_UNLIKELY(x) (__builtin_expect((x),0))
+# define MPFR_UNLIKELY(x) (__builtin_expect(!!(x),0))
#else
# define MPFR_LIKELY(x) (x)
# define MPFR_UNLIKELY(x) (x)
diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h
--- mpfr-3.1.0-a/src/mpfr.h 2011-10-03 08:17:09.000000000 +0000
+++ mpfr-3.1.0-b/src/mpfr.h 2011-10-05 21:39:57.000000000 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define MPFR_VERSION_PATCHLEVEL 0
-#define MPFR_VERSION_STRING "3.1.0"
+#define MPFR_VERSION_STRING "3.1.0-p1"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c
--- mpfr-3.1.0-a/src/version.c 2011-10-03 08:17:09.000000000 +0000
+++ mpfr-3.1.0-b/src/version.c 2011-10-05 21:39:57.000000000 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "3.1.0";
+ return "3.1.0-p1";
}

View File

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

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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 4 08:29:16 UTC 2012 - rguenther@suse.com
- Update to version 3.1.1.
* Bug fixes
-------------------------------------------------------------------
Mon Feb 13 10:50:39 UTC 2012 - coolo@suse.com

View File

@ -18,16 +18,15 @@
Name: mpfr
BuildRequires: gmp-devel
Version: 3.1.0
Version: 3.1.1
Release: 0
Summary: The MPFR multiple-precision floating-point library
Summary: The GNU multiple-precision floating-point library
License: LGPL-3.0+
Group: Development/Libraries/C and C++
Url: http://www.mpfr.org/
Source: mpfr-%{version}.tar.bz2
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch1: %{name}-%{version}-patch01.diff
%description
The MPFR library is a C library for multiple-precision floating-point
@ -42,7 +41,7 @@ mantissa).
%package -n libmpfr4
Summary: MPFR multiple-precision floating-point computation shared library
Summary: The GNU multiple-precision floating-point shared library
Group: Development/Libraries/C and C++
%description -n libmpfr4
@ -52,18 +51,22 @@ based on the GMP multiple-precision library.
%package devel
Summary: MPFR multiple-precision floating-point library development files
Summary: Development files for the GNU multiple-precision floating-point library
Group: Development/Libraries/C and C++
Requires: libmpfr4 = %{version} gmp-devel
Requires: gmp-devel
Requires: libmpfr4 = %{version}
PreReq: %install_info_prereq
%description devel
MPFR multiple-precision floating-point library development files
Development files for the GNU multiple-precision floating-point library.
The MPFR library is a C library for multiple-precision floating-point
computations with exact rounding (also called correct rounding). It is
based on the GMP multiple-precision library.
%prep
%setup -q
%patch1 -p1
%build
%configure \