Hello community,

here is the log from the commit of package gmp for openSUSE:Factory checked in 
at 2017-01-19 10:34:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmp (Old)
 and      /work/SRC/openSUSE:Factory/.gmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gmp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gmp/gmp.changes  2016-07-09 09:21:08.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.gmp.new/gmp.changes     2017-01-19 
10:34:46.521883568 +0100
@@ -1,0 +2,17 @@
+Wed Jan  4 08:20:17 UTC 2017 - [email protected]
+
+- Update to GMP 6.1.2 release.
+  * Mini-GMP: Fixed a division bug, which on a machine with 64-bit
+    unsigned long affects approximately 1 out of 2^32 divisors.
+  * Mini-GMP: Fix mpz_set_str crash on inputs with a large number of
+    leading zeros. Also stricter input validation, rejecting inputs
+    with no digits.
+  * Handle more systems which require PIC code in static libraries (e.g.,
+    "hardened" Gentoo and Debian 9).
+  * Configuration for arm (-32 and -64) has been rewritten, fixing poor
+    code selection for many CPUs.
+  * Mini-GMP: Updated to the latest development version, including
+    new functions mpn_com and mpn_neg.
+- Add gmp-6.1.2-conftest.patch to fix configure test.
+
+-------------------------------------------------------------------

Old:
----
  gmp-6.1.1.tar.xz
  gmp-6.1.1.tar.xz.sig

New:
----
  gmp-6.1.2-conftest.patch
  gmp-6.1.2.tar.xz
  gmp-6.1.2.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gmp.spec ++++++
--- /var/tmp/diff_new_pack.wUS7eE/_old  2017-01-19 10:34:46.921827159 +0100
+++ /var/tmp/diff_new_pack.wUS7eE/_new  2017-01-19 10:34:46.921827159 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gmp
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           gmp
-Version:        6.1.1
+Version:        6.1.2
 Release:        0
 Summary:        The GNU MP Library
 License:        GPL-3.0+ and LGPL-3.0+
@@ -28,6 +28,7 @@
 Source2:        %{name}.keyring
 Source3:        baselibs.conf
 Patch0:         gmp-noexec.diff
+Patch1:         gmp-6.1.2-conftest.patch
 BuildRequires:  gcc-c++
 BuildRequires:  xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -68,6 +69,7 @@
 %prep
 %setup -q
 %patch0
+%patch1
 
 %build
 export CFLAGS="%{optflags} -fexceptions"

++++++ gmp-6.1.2-conftest.patch ++++++
--- acinclude.m4.orig   2017-01-04 11:40:34.672561902 +0100
+++ acinclude.m4        2017-01-04 11:40:42.324648573 +0100
@@ -741,7 +741,7 @@
   long i;
   for (i = 0; i < 88 + 1; i++)
     a[i] = ~0L;
-  r = malloc (10000 * sizeof (unsigned long));
+  r = calloc (10000, sizeof (unsigned long));
   r2 = r;
   for (i = 0; i < 528; i += 23)
     {
--- configure.orig      2017-01-04 11:42:54.678147652 +0100
+++ configure   2017-01-04 11:46:36.468659624 +0100
@@ -6776,7 +6776,7 @@
   long i;
   for (i = 0; i < 88 + 1; i++)
     a[i] = ~0L;
-  r = malloc (10000 * sizeof (unsigned long));
+  r = calloc (10000, sizeof (unsigned long));
   r2 = r;
   for (i = 0; i < 528; i += 23)
     {
@@ -8394,7 +8394,7 @@
   long i;
   for (i = 0; i < 88 + 1; i++)
     a[i] = ~0L;
-  r = malloc (10000 * sizeof (unsigned long));
+  r = calloc (10000, sizeof (unsigned long));
   r2 = r;
   for (i = 0; i < 528; i += 23)
     {
++++++ gmp-6.1.1.tar.xz -> gmp-6.1.2.tar.xz ++++++
++++ 15267 lines of diff (skipped)



Reply via email to