Accepting request 262027 from devel:libraries:c_c++
- Make gmp-noexec.diff compatible with arm - Use correct version number (forwarded request 261998 from Andreas_Schwab) OBS-URL: https://build.opensuse.org/request/show/262027 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gmp?expand=0&rev=45
This commit is contained in:
commit
250083207d
@ -1,15 +1,13 @@
|
|||||||
--- mpn/m4-ccas.xx 2007-01-13 19:33:32.000000000 +0100
|
Index: mpn/m4-ccas
|
||||||
+++ mpn/m4-ccas 2007-01-13 19:34:19.000000000 +0100
|
===================================================================
|
||||||
@@ -88,8 +88,11 @@
|
--- mpn/m4-ccas.orig
|
||||||
CC="$CC -o $BASENAME.o"
|
+++ mpn/m4-ccas
|
||||||
fi
|
@@ -100,6 +100,8 @@ fi
|
||||||
|
|
||||||
+echo '.section .note.GNU-stack,"",@progbits' > $TMP
|
|
||||||
+echo '.previous' >> $TMP
|
|
||||||
+
|
|
||||||
echo "$M4 $DEFS $ASM >$TMP"
|
echo "$M4 $DEFS $ASM >$TMP"
|
||||||
-$M4 $DEFS $ASM >$TMP || exit
|
$M4 $DEFS $ASM >$TMP || exit
|
||||||
+$M4 $DEFS $ASM >>$TMP || exit
|
|
||||||
|
|
||||||
|
+echo '.section .note.GNU-stack,"",%progbits' >> $TMP
|
||||||
|
+
|
||||||
echo "$CC"
|
echo "$CC"
|
||||||
$CC || exit
|
$CC || exit
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 08:29:15 UTC 2014 - schwab@suse.de
|
||||||
|
|
||||||
|
- Make gmp-noexec.diff compatible with arm
|
||||||
|
- Use correct version number
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 7 00:41:24 UTC 2014 - afaerber@suse.de
|
Fri Nov 7 00:41:24 UTC 2014 - afaerber@suse.de
|
||||||
|
|
||||||
|
8
gmp.spec
8
gmp.spec
@ -22,13 +22,13 @@ BuildRequires: gcc-c++
|
|||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: gmp-64bit
|
Obsoletes: gmp-64bit
|
||||||
%endif
|
%endif
|
||||||
Version: 6.0.0a
|
Version: 6.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The GNU MP Library
|
Summary: The GNU MP Library
|
||||||
License: GPL-3.0+ and LGPL-3.0+
|
License: GPL-3.0+ and LGPL-3.0+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://gmplib.org/
|
Url: http://gmplib.org/
|
||||||
Source: ftp://ftp.gmplib.org/pub/%{name}/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.gmplib.org/pub/%{name}/%{name}-%{version}a.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch0: gmp-noexec.diff
|
Patch0: gmp-noexec.diff
|
||||||
Patch1: gmp-6.0.0-ppc64-gcd.diff
|
Patch1: gmp-6.0.0-ppc64-gcd.diff
|
||||||
@ -72,11 +72,9 @@ huge numbers (integer and floating point).
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-6.0.0
|
%setup -q
|
||||||
%ifnarch %arm
|
|
||||||
%patch0
|
%patch0
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fexceptions"
|
export CFLAGS="$RPM_OPT_FLAGS -fexceptions"
|
||||||
|
Loading…
Reference in New Issue
Block a user