summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-24 18:49:45 +0000
committerMike Frysinger <vapier@gentoo.org>2012-12-24 18:49:45 +0000
commitf46dccbe2974557e4b1dc8b9e3dd1c0326568ec7 (patch)
tree6d77cb3ff2523d37d312add095cec0587cdaa14e /dev-libs/gmp
parentStable on amd64, wrt bug #448448 (diff)
downloadgentoo-2-f46dccbe2974557e4b1dc8b9e3dd1c0326568ec7.tar.gz
gentoo-2-f46dccbe2974557e4b1dc8b9e3dd1c0326568ec7.tar.bz2
gentoo-2-f46dccbe2974557e4b1dc8b9e3dd1c0326568ec7.zip
Update nopie test patch #448188 by Timo Kamph.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r--dev-libs/gmp/ChangeLog6
-rw-r--r--dev-libs/gmp/files/gmp-5.1.0-x86-nopie-tests.patch119
-rw-r--r--dev-libs/gmp/gmp-5.1.0.ebuild4
3 files changed, 126 insertions, 3 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog
index 89897292b399..e5ac8fd2b2d1 100644
--- a/dev-libs/gmp/ChangeLog
+++ b/dev-libs/gmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/gmp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.170 2012/12/20 03:08:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.171 2012/12/24 18:49:45 vapier Exp $
+
+ 24 Dec 2012; Mike Frysinger <vapier@gentoo.org>
+ +files/gmp-5.1.0-x86-nopie-tests.patch, gmp-5.1.0.ebuild:
+ Update nopie test patch #448188 by Timo Kamph.
*gmp-5.1.0 (20 Dec 2012)
diff --git a/dev-libs/gmp/files/gmp-5.1.0-x86-nopie-tests.patch b/dev-libs/gmp/files/gmp-5.1.0-x86-nopie-tests.patch
new file mode 100644
index 000000000000..f21479f91110
--- /dev/null
+++ b/dev-libs/gmp/files/gmp-5.1.0-x86-nopie-tests.patch
@@ -0,0 +1,119 @@
+2010-07-27 Magnus Granberg <zorry@gentoo.org>
+
+ #236054
+ tests/Makefile.in add -nopie to CFLAGS
+ test/misc/Makefile.in likewise
+ test/mpbsd/Makefile.in likewise
+ test/mpf/Makefile.in likewise
+ test/mpn/Makefile.in likewise
+ test/mpq/Makefile.in likewise
+ test/mpz/Makefile.in likewise
+ test/randMakefile.in likewise
+ test/cxx/Makefile.in likewise and CXXFLAGS
+
+--- a/tests/Makefile.in 2010-07-27 00:53:05.000000000 +0000
++++ b/tests/Makefile.in 2010-07-27 00:35:10.000000000 +0000
+@@ -200,7 +200,7 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+--- a/tests/devel/Makefile.in 2010-07-27 00:53:05.000000000 +0000
++++ b/tests/devel/Makefile.in 2010-07-27 00:35:10.000000000 +0000
+@@ -200,7 +200,7 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+--- a/tests/misc/Makefile.in 2010-07-27 00:53:05.000000000 +0000
++++ b/tests/misc/Makefile.in 2010-07-27 00:35:10.000000000 +0000
+@@ -200,7 +200,7 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+--- a/tests/mpf/Makefile.in 2010-07-27 00:53:05.000000000 +0000
++++ b/tests/mpf/Makefile.in 2010-07-27 00:35:10.000000000 +0000
+@@ -200,7 +200,7 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+--- a/tests/mpn/Makefile.in 2010-07-27 00:53:05.000000000 +0000
++++ b/tests/mpn/Makefile.in 2010-07-27 00:35:10.000000000 +0000
+@@ -200,7 +200,7 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+--- a/tests/mpq/Makefile.in 2010-07-27 00:53:05.000000000 +0000
++++ b/tests/mpq/Makefile.in 2010-07-27 00:35:10.000000000 +0000
+@@ -200,7 +200,7 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+--- a/tests/mpz/Makefile.in 2010-07-27 00:53:05.000000000 +0000
++++ b/tests/mpz/Makefile.in 2010-07-27 00:35:10.000000000 +0000
+@@ -200,7 +200,7 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+--- a/tests/rand/Makefile.in 2010-07-27 00:53:05.000000000 +0000
++++ b/tests/rand/Makefile.in 2010-07-27 00:35:10.000000000 +0000
+@@ -200,7 +200,7 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+--- a/tests/cxx/Makefile.in 2010-02-06 12:43:21.000000000 +0000
++++ b/tests/cxx/Makefile.in 2010-07-27 01:31:43.000000000 +0000
+@@ -189,13 +189,13 @@
+ CC = @CC@
+ CCAS = @CCAS@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -nopie
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CPP_FOR_BUILD = @CPP_FOR_BUILD@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+-CXXFLAGS = @CXXFLAGS@
++CXXFLAGS = @CXXFLAGS@ -nopie
+ CYGPATH_W = @CYGPATH_W@
+ DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
+ DEFS = @DEFS@
diff --git a/dev-libs/gmp/gmp-5.1.0.ebuild b/dev-libs/gmp/gmp-5.1.0.ebuild
index a7e5c657038b..c52d5d92ff7b 100644
--- a/dev-libs/gmp/gmp-5.1.0.ebuild
+++ b/dev-libs/gmp/gmp-5.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.1.0.ebuild,v 1.1 2012/12/20 03:08:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.1.0.ebuild,v 1.2 2012/12/24 18:49:45 vapier Exp $
inherit flag-o-matic eutils libtool unpacker toolchain-funcs
@@ -33,7 +33,7 @@ src_unpack() {
# disable -fPIE -pie in the tests for x86 #236054
if use x86 && gcc-specs-pie ; then
- epatch "${FILESDIR}"/${PN}-5.0.1-x86-nopie-tests.patch
+ epatch "${FILESDIR}"/${PN}-5.1.0-x86-nopie-tests.patch
fi
# note: we cannot run autotools here as gcc depends on this package