Accepting request 448713 from devel:libraries:c_c++
- 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.
OBS-URL: https://build.opensuse.org/request/show/448713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gmp?expand=0&rev=49
This commit is contained in:
+17
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 4 08:20:17 UTC 2017 - rguenther@suse.com
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 30 07:34:19 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
|
||||
@@ -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 @@ Source1: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.xz.si
|
||||
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 @@ huge numbers (integer and floating point).
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fexceptions"
|
||||
|
||||
LFS
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
--- 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)
|
||||
{
|
||||
LFS
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user