summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-24 12:06:54 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-24 12:08:18 -0400
commit23ca5009c0030b47c56da03d29493bc2dfd0e559 (patch)
treefbb6b4dd29f712b59c358972d77e058544324dd1 /dev-libs/gmp
parentdev-libs/gmp: mark 6.0.0a alpha/arm/arm64/ia64/m68k/s390/sh stable #562082 (diff)
downloadgentoo-23ca5009c0030b47c56da03d29493bc2dfd0e559.tar.gz
gentoo-23ca5009c0030b47c56da03d29493bc2dfd0e559.tar.bz2
gentoo-23ca5009c0030b47c56da03d29493bc2dfd0e559.zip
dev-libs/gmp: drop old versions
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r--dev-libs/gmp/Manifest15
-rw-r--r--dev-libs/gmp/files/gmp-5.0.0-s390.diff68
-rw-r--r--dev-libs/gmp/files/gmp-5.0.1-perfpow-test.patch36
-rw-r--r--dev-libs/gmp/files/gmp-5.0.1-x86-nopie-tests.patch130
-rw-r--r--dev-libs/gmp/files/gmp-5.0.2-unnormalised-dividends.patch21
-rw-r--r--dev-libs/gmp/files/gmp-5.0.2-x32-bugfix.patch94
-rw-r--r--dev-libs/gmp/files/gmp-5.0.2-x32-support.patch41
-rw-r--r--dev-libs/gmp/files/gmp-5.0.5-x32-support.patch41
-rw-r--r--dev-libs/gmp/files/gmp-5.1.0-armv4.patch12
-rw-r--r--dev-libs/gmp/files/gmp-5.1.0-x32-support.patch42
-rw-r--r--dev-libs/gmp/files/gmp-5.1.0-x86-nopie-tests.patch119
-rw-r--r--dev-libs/gmp/gmp-5.0.1.ebuild87
-rw-r--r--dev-libs/gmp/gmp-5.0.2.ebuild86
-rw-r--r--dev-libs/gmp/gmp-5.0.2_p1.ebuild102
-rw-r--r--dev-libs/gmp/gmp-5.0.3.ebuild101
-rw-r--r--dev-libs/gmp/gmp-5.0.4.ebuild101
-rw-r--r--dev-libs/gmp/gmp-5.0.5.ebuild101
-rw-r--r--dev-libs/gmp/gmp-5.1.0.ebuild116
-rw-r--r--dev-libs/gmp/gmp-5.1.1.ebuild115
-rw-r--r--dev-libs/gmp/gmp-5.1.2.ebuild114
-rw-r--r--dev-libs/gmp/gmp-5.1.3.ebuild114
21 files changed, 0 insertions, 1656 deletions
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
index e3496e9016e8..ee9a5490ac45 100644
--- a/dev-libs/gmp/Manifest
+++ b/dev-libs/gmp/Manifest
@@ -1,20 +1,5 @@
DIST gmp-4.3.2.tar.bz2 1897483 SHA256 936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775 SHA512 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf WHIRLPOOL ab3d9c95b436df3782830da0874307d5577b83c111c2fae4a9063d4083f97c5c12643b154c1bd9a588945e5a677fb8ab416c394ced3e9b0aa671b2238bcb9b40
-DIST gmp-5.0.1.tar.bz2 2006109 SHA256 a2a610f01fd3298dc08c87bf30498c2402590e1bcb227fc40b15ee6d280939fb SHA512 9a128f7e192e5f1233ec068b04ba4789cd10ae1ca1a21d1089b9b596022f7dfb66c313599b5de462135b1556a8f8e72bce1b5f4666b1eeed1652e3d7f2f5d168 WHIRLPOOL e19602c9914ed0bcd60aa198cb6f4b35a8f133381808f0a0f0759987407aa8e356bf8cba99b4f4e44f526412a80ee1dbdd6fd2adaa88f8aaa1c7e7e881626f9a
-DIST gmp-5.0.2.tar.bz2 2024576 SHA256 dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28 SHA512 b53cc482e73aa91ae4f83301d9ef83a98cd85cfe53347e102a059fa477edceebded466223b436bc250314eb6ec2e53ecc4fa1528341435f09e232f0c4e305bad WHIRLPOOL a60dbfd26fca44edeab921d2293bb5cdea62ad5050ebbaa7d0e21fe2089deaa893d92abdd109e613edf234a36071d64422c04b24de3c952b0147a4310b4229d4
-DIST gmp-5.0.3.tar.xz 1685288 SHA256 438ee3e2d03a5b7c23e9f3f46919ab53cab102bcf4f3c34ea3a08486610fd450 SHA512 dc68ad36bbf515386d735784fe4583443eb6168d10c2967e47ce4bd541076a18c01bcc4b04261330ee0489560978234c36bf7064d611ce2f21ac38c37e6b34f0 WHIRLPOOL cf9a481f8a3c911ac023fcbbd5129bbd3ea7003bca745268b0f4f7cc94cff601d68a3cbe62037819e430677f49b182f0ceaf80c76c6b9bc39103f7973e9e2589
-DIST gmp-5.0.4.tar.xz 1689832 SHA256 4e6de1262ec94cce7833abb787a6d9157a822cc63d406c3d46c737e46ade1523 SHA512 68e2eca72aa8bdf4dd83da55625c32488015c10ea8aed79c8b861070de99bad0bb44b78c32655c12df90802bde564f98f41e8bffa1a1f522f3432271a8fcb00c WHIRLPOOL 85860d555f48062cac175a9cc239cf18c69ea68f98477f3b0ff75cc91b1b4c04e1bebbfe5699ea103031fe381f3cc93089065cbbd67ad5e923169b3f38469eaf
-DIST gmp-5.0.5.tar.xz 1671264 SHA256 e87015a825a2445e169931ee27849d52576a2d9e338d1383dcb36fed68d0006f SHA512 79f69ed7959af18e626d4b21b5707ebd7701261ebc2cc9f78fa03c5efa9eb1c1aef2ba8728cdbc34fb09ba333aeba0f88ba7e4d87d6a93b21f936f9d8ee1174a WHIRLPOOL c224f0ce28762e8987b5c5a817d24412d1c85e7bab2f173b138f463cc380d85ab02585d4c2a0e5052c34a405e6cec1f744edb0ee525002d6b77584ff6ecb601b
-DIST gmp-5.1.0.tar.xz 1806216 SHA256 c232d96b92ee251a6b8fdbf0a45d4db17a784846dfdfaf36651eeef2117a8991 SHA512 33b364bddfe829c78e3720ad15dc9fe5cf4c774e9a206ae0a8467666872d40148da07b8a4d8b251e3240c3c8b4eee5e082edc13aa208d3912f9f5d600d1110e8 WHIRLPOOL 28fb5693254bd25276348c8483ca8a7638c6a781d566e1dba085c581d3de7f99f9deee57bb613dbea78c0aeebf01e0eafe6003bd5327b48495c7f86b4dc3a92f
-DIST gmp-5.1.1.tar.xz 1812988 SHA256 4bd64d782fdeb61aeed45b434fca5246d66baa9de76f87cba30c38460d8834c2 SHA512 4cc3307411eb2144e87b791ee2f52e0020711638f911dfa3cc5929a57eda5ac7d9ca10c1c0bb75c96afc7ff7a9c6ad165bc87409b036c562867b4e5da15ba571 WHIRLPOOL 8a7afe06d530a15edb75a0c37c8497d1ab209dfeffebd44aecfcfe6b75586c182384cfdf8ea9b696ce968aed04944ec7c1c271730b65c34b2e3504d26565240e
-DIST gmp-5.1.2.tar.xz 1819560 SHA256 c7d943a6eceb4f0d3d3ab1176aec37853831cdfa281e012f8a344ba3ceefcbc2 SHA512 2c135bb6be908e93e63fe8828b2128b4e22e8ba29adf3cc917493ab66b42d54654dad7f101f902105e854731a69a202c38e34f119f642828fa5568ef21075c5a WHIRLPOOL dc18f8b2f7f592a52872f477ff375a29d58bca6661877bd0e4ef26766ed439e98172e277fed9f91d7204990b3030423bf6b3bff0b996ec371d6e681f8c21e504
DIST gmp-5.1.3.tar.xz 1818812 SHA256 dee2eda37f4ff541f30019932db0c37f6f77a30ba3609234933b1818f9b07071 SHA512 44bbec2b2a6480d4c9a9a633cca4fe0de966c13bc08bdcd8b934d81e21f3dfacaecf273f149dc613d365277d280ecee43cffdafaec1bd1239a7ed903f8658b5b WHIRLPOOL 0c4365a129136655046a8e46c4e2487a981c03de97ec47899f752cbd6e61661c6068b19c547acce8436f7a9af91396545c9bf7aa9de73a0f29384bbfebef927f
DIST gmp-6.0.0a.tar.xz 1904112 SHA256 9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764 SHA512 50368f4368b244b442438ce1768cf0f1166e490d1bafb8feda1ffc90fea3807e7328f30f3faa861799e4f5ff6e3113049ca3231b2f48571e4583fc3d60441816 WHIRLPOOL 81639a9d433ce9ccb26527af309c7c41437bb3463e5986cce3b35f81b527068a2304ec3287e660454f850dedab61463a077f49d4ea2b7ee87eec94b15730c394
-DIST gmp-man-5.0.2.pdf 1024222 SHA256 fcdd621dea0215b8920bdbfacf374ae8ef4f548a2d0c3e8d65d904f1b9d174d4 SHA512 95ea00ee16e87e9f379e76cd6c1a850866e5f22c0e6fc6e5deaae1213a694d28dd6fc09c105b5e71d4bb24e07ca8b77c56d756ef680beac1f64cc17ab51b246c WHIRLPOOL eaa78db21ee7dc8076a752cc949f336c1699c752626496d1490babc2d00115b08fa954ba9f732405d63bbdb43d97c43bed1917629fee1106e2e87942c78d6da8
-DIST gmp-man-5.0.3.pdf 1159053 SHA256 8f12da7b0665a2a0b5e1bc83c702e67b1b854382af5cba58c2859564fc930550 SHA512 4be246f234379033922255ece26f8f7b6056ee637f0d3964459829a946368ae01e2434b22fb1a180cf0a4efa7ad18d332d3e1a89cf9040d5f9f27e43cd3ca8ab WHIRLPOOL 50b27cccd274d84d2b35d2551089755b5b88837fb28a24c5e244c8706004925fe86ff81c2cc68d6125f2113b68a741b9a6615b931bf8260f2cd384dcd5115336
-DIST gmp-man-5.0.4.pdf 1160172 SHA256 c577d4dea9964e85c07f859d60833fc56d10aba16fd42f380939b0360f79defb SHA512 0159c748e75ba12a4fe3164e7071966e39475fa95b477e16de9cff095dd67c144c3aed24a611cf44c434bff9942faa432fb2222a7a27c587ed22a2df2f33a8c0 WHIRLPOOL df53ea3df9069c3958427ae18d29247c7502e5140b7c6f8c2b15d38aab308a9fa8dea8f3b636907ce5588cc738393e600e4f7160d502f42b6df339a7f76ad5ca
-DIST gmp-man-5.0.5.pdf 1162914 SHA256 33c7456155bf39704eb1c874849315a925140014b4ad8a8c6f0e07e4fde6a9f2 SHA512 2207266e1187f9951e01f02c6c70eb8bde78fd8d748f144c1bcb10702510f79ee9dd698347d80cac2445112c1554919e734dafd48ebc4662e39b9031b3147544 WHIRLPOOL 1becb075143db9fb26662fed68f760624d381306831a9a58234d5e82303290497bb7b99582a1ab77bd8a72de70e97b516e113264aa307774a4632faf223624c8
-DIST gmp-man-5.1.0.pdf 1156063 SHA256 def7bae39aaf2756cd074207c02afca8b3dde66111bbc17769f196082de2f28b SHA512 e3736853a20fbb0de86458a1e724f515429ac43458e62479e7721416553e6015b3d5e6de6a6f3b00f0a6530ba6c9556aa1d6283d9dced2c58e1ce96c73c367a5 WHIRLPOOL a2ec71ce7e4369575d17691c694f0d175afcbc1832fac1c0eefeee7d694280317d51cef6a6cf02c1a6f8e941c69900fa175ca049b5a30718d39d84254ec7be68
-DIST gmp-man-5.1.1.pdf 1156487 SHA256 c8c33650c321022c417275321b75e3b0c1bf87275f17323fa843778097449504 SHA512 3e855b882a039099bdc3719c94e4c18d0025e3a903b770752271a41dd9c5cf2b70654f6f59c32edfd4320e9954f679610764f379bd21b9d883d4fc20bd312f76 WHIRLPOOL b87d92601f3c170527192f78c60d6a137043f39772baabdd17957344207fbaae1ad88f03e22348e6e572f0a8a28ee1d80b3dc52015704cb52676b545ccb9f4e5
-DIST gmp-man-5.1.2.pdf 1156466 SHA256 2f059a5179c2ea971b9b16553b9f15504e82ef0b7bc7f0b80b1b4fe33147c21f SHA512 b6fc8d82bf15b3d550bf2388fefbba4c7e1bdd5b324d6be52e6398d7b8fb72dd4a59f498bec80a7c8382fe3b5c026434766f0c319742c1263326e0a5b589bb21 WHIRLPOOL b43d41bdf97b94c284fbff305d9968d3142f748b79df51b3e34aa4a576e1655ebe2d3c90473b95d90f79670ae7b100a7b5e5d26ae353470ef2e2f853748dce95
DIST gmp-man-5.1.3.pdf 1159009 SHA256 56b0e21329f46ef1d59c1f191afc82c59f8b72273a8131ed9b5000b7d0689c38 SHA512 ba6a4b0bd2b5ee4d284dd13e9c5531fcb9cfbbbc80f40df458d73c80a1aa250b750cfdd5039998e8b0c7259a8b4d24bd0c7b59a90108f9b680bee62e6948d59e WHIRLPOOL ade206d7e1f543ed028f51e247067eec4511bd0f2499103e1e6296fad2bf50c4f8e09cf7688cc5dd56ee572cf889508ac7918f85e5f91d29d088882f7734a4e0
DIST gmp-man-6.0.0a.pdf 1187496 SHA256 b38ed1d760b20c01b734b65380ab667373fa48d8203f762a434cd3f326c67a38 SHA512 528972502d65d23b58c47a594a628e648f11cc027bd0894a39b8f892bb421ceabb7f35640a9eede21cea791f5f597ed4661a1f73444c56a6fb31fa6e362d96c2 WHIRLPOOL e6c4eb3a9adc82496a1872223ceb153e05c3aabd2323aeb38064739a5200eb8fc24fa3bb96f5fb1e632cc90a2576bd3966bae3c7a7a0c750ca56faeb30837eea
diff --git a/dev-libs/gmp/files/gmp-5.0.0-s390.diff b/dev-libs/gmp/files/gmp-5.0.0-s390.diff
deleted file mode 100644
index 14771a438ede..000000000000
--- a/dev-libs/gmp/files/gmp-5.0.0-s390.diff
+++ /dev/null
@@ -1,68 +0,0 @@
-stolen from SuSE
-
---- configure.in
-+++ configure.in
-@@ -1050,6 +1050,9 @@
- ;;
-
-
-+ s390x-*-*)
-+ path="s390x" ;;
-+
- # IBM s/370 and similar
- [s3[6-9]0*-*-*])
- gcc_cflags="-O2 $fomit_frame_pointer"
---- configure
-+++ configure
-@@ -1050,6 +1050,9 @@
- ;;
-
-
-+ s390x-*-*)
-+ path="s390x" ;;
-+
- # IBM s/370 and similar
- s3[6-9]0*-*-*)
- gcc_cflags="-O2 $fomit_frame_pointer"
---- mpn/s390/gmp-mparam.h
-+++ mpn/s390/gmp-mparam.h
-@@ -20,7 +20,8 @@
- MA 02110-1301, USA. */
-
-
--/* GMP_LIMB_BITS etc generated by configure */
-+#define GMP_LIMB_BITS 32
-+#define BYTES_PER_MP_LIMB 4
-
-
- /* Generated by tuneup.c, 2001-12-03, gcc 2.95 */
---- mpn/s390x/gmp-mparam.h
-+++ mpn/s390x/gmp-mparam.h
-@@ -0,0 +1,27 @@
-+/* gmp-mparam.h -- Compiler/machine parameter header file.
-+
-+Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation, Inc.
-+
-+This file is part of the GNU MP Library.
-+
-+The GNU MP Library is free software; you can redistribute it and/or modify
-+it under the terms of the GNU Library General Public License as published by
-+the Free Software Foundation; either version 2 of the License, or (at your
-+option) any later version.
-+
-+The GNU MP Library is distributed in the hope that it will be useful, but
-+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-+License for more details.
-+
-+You should have received a copy of the GNU Library General Public License
-+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-+MA 02111-1307, USA. */
-+
-+#define GMP_LIMB_BITS 64
-+#define BYTES_PER_MP_LIMB 8
-+#define BITS_PER_LONGINT 64
-+#define BITS_PER_INT 32
-+#define BITS_PER_SHORTINT 16
-+#define BITS_PER_CHAR 8
diff --git a/dev-libs/gmp/files/gmp-5.0.1-perfpow-test.patch b/dev-libs/gmp/files/gmp-5.0.1-perfpow-test.patch
deleted file mode 100644
index d1b8706082f0..000000000000
--- a/dev-libs/gmp/files/gmp-5.0.1-perfpow-test.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-
-# HG changeset patch
-# User Torbjorn Granlund <tege@gmplib.org>
-# Date 1267122532 -3600
-# Node ID 794410151f5f966bcb5c3489b6441614990efe7c
-# Parent 948660e2e56d9cfaae035082b8fd473985505fb6
-Fix a test case to work for long long limbs.
-
-2010-02-25 Torbjorn Granlund <tege@gmplib.org>
-
- * tests/mpz/t-perfpow.c (check_random): Use mp_limb_t type for limb
- variables.
-
-diff -r 948660e2e56d -r 794410151f5f tests/mpz/t-perfpow.c
---- a/tests/mpz/t-perfpow.c Thu Feb 25 16:08:21 2010 +0100
-+++ b/tests/mpz/t-perfpow.c Thu Feb 25 19:28:52 2010 +0100
-@@ -2,7 +2,7 @@
-
- Contributed to the GNU project by Torbjorn Granlund and Martin Boij.
-
--Copyright 2008, 2009 Free Software Foundation, Inc.
-+Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
-
- This file is part of the GNU MP Library.
-
-@@ -109,7 +109,8 @@
- {
- mpz_t n, np, temp, primes[NRP];
- int i, j, k, unique, destroy, res;
-- unsigned long int nrprimes, primebits, g, exp[NRP], e;
-+ unsigned long int nrprimes, primebits;
-+ mp_limb_t g, exp[NRP], e;
- gmp_randstate_ptr rands;
-
- rands = RANDS;
-
diff --git a/dev-libs/gmp/files/gmp-5.0.1-x86-nopie-tests.patch b/dev-libs/gmp/files/gmp-5.0.1-x86-nopie-tests.patch
deleted file mode 100644
index e2ec26f4de2c..000000000000
--- a/dev-libs/gmp/files/gmp-5.0.1-x86-nopie-tests.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-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/mpbsd/Makefile.in 2010-07-27 00:53:05.000000000 +0000
-+++ b/tests/mpbsd/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/files/gmp-5.0.2-unnormalised-dividends.patch b/dev-libs/gmp/files/gmp-5.0.2-unnormalised-dividends.patch
deleted file mode 100644
index f29f2eca1a90..000000000000
--- a/dev-libs/gmp/files/gmp-5.0.2-unnormalised-dividends.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-
-# HG changeset patch
-# User Torbjorn Granlund <tege@gmplib.org>
-# Date 1310730221 -7200
-# Node ID 538dfce27f410b910d5e2f011119269e224d16a3
-# Parent 03ed209dd7efd4f4fff0ce297bb3a8f7e7ba2366
-(mpn_dcpi1_bdiv_q): Get mpn_sub_1 size argument right.
-
-diff -r 03ed209dd7ef -r 538dfce27f41 mpn/generic/dcpi1_bdiv_q.c
---- a/mpn/generic/dcpi1_bdiv_q.c Thu Jun 16 12:22:24 2011 +0200
-+++ b/mpn/generic/dcpi1_bdiv_q.c Fri Jul 15 13:43:41 2011 +0200
-@@ -130,7 +129,7 @@
- qn = nn - qn;
- while (qn > dn)
- {
-- mpn_sub_1 (np + dn, np + dn, qn, cy);
-+ mpn_sub_1 (np + dn, np + dn, qn - dn, cy);
- cy = mpn_dcpi1_bdiv_qr_n (qp, np, dp, dn, dinv, tp);
- qp += dn;
- np += dn;
-
diff --git a/dev-libs/gmp/files/gmp-5.0.2-x32-bugfix.patch b/dev-libs/gmp/files/gmp-5.0.2-x32-bugfix.patch
deleted file mode 100644
index a96136fcc3b8..000000000000
--- a/dev-libs/gmp/files/gmp-5.0.2-x32-bugfix.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-UpstreamStatus: Pending
-
-When LONG_MIN is passed to val, -val is undefined. This patch fixes
-it. See for details: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50066
-
-Received this patch from H.J. Lu <hjl.tools@gmail.com>
-
-Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/01
-
---- gmp-4.3.2/mpf/iset_si.c.ll 2010-01-07 12:09:03.000000000 -0800
-+++ gmp-4.3.2/mpf/iset_si.c 2011-11-30 16:42:35.827944358 -0800
-@@ -31,7 +31,7 @@ mpf_init_set_si (mpf_ptr r, long int val
- r->_mp_prec = prec;
- r->_mp_d = (mp_ptr) (*__gmp_allocate_func) ((prec + 1) * BYTES_PER_MP_LIMB);
-
-- vl = (mp_limb_t) (unsigned long int) (val >= 0 ? val : -val);
-+ vl = (mp_limb_t) (val >= 0 ? (unsigned long int) val : -(unsigned long int) val);
-
- r->_mp_d[0] = vl & GMP_NUMB_MASK;
- size = vl != 0;
---- gmp-4.3.2/mpf/set_si.c.ll 2010-01-07 12:09:03.000000000 -0800
-+++ gmp-4.3.2/mpf/set_si.c 2011-11-30 16:42:47.823878367 -0800
-@@ -27,7 +27,7 @@ mpf_set_si (mpf_ptr dest, long val)
- mp_size_t size;
- mp_limb_t vl;
-
-- vl = (mp_limb_t) (unsigned long int) (val >= 0 ? val : -val);
-+ vl = (mp_limb_t) (val >= 0 ? (unsigned long int) val : -(unsigned long int) val);
-
- dest->_mp_d[0] = vl & GMP_NUMB_MASK;
- size = vl != 0;
---- gmp-4.3.2/mpz/cmp_si.c.ll 2010-01-07 12:09:03.000000000 -0800
-+++ gmp-4.3.2/mpz/cmp_si.c 2011-11-30 13:44:25.923319700 -0800
-@@ -27,7 +27,7 @@ _mpz_cmp_si (mpz_srcptr u, signed long i
- {
- mp_size_t usize = u->_mp_size;
- mp_size_t vsize;
-- mp_limb_t u_digit;
-+ mp_limb_t u_digit, vl_digit;
-
- #if GMP_NAIL_BITS != 0
- /* FIXME. This isn't very pretty. */
-@@ -41,11 +41,14 @@ _mpz_cmp_si (mpz_srcptr u, signed long i
-
- vsize = 0;
- if (v_digit > 0)
-- vsize = 1;
-+ {
-+ vsize = 1;
-+ vl_digit = (mp_limb_t) (unsigned long) v_digit;
-+ }
- else if (v_digit < 0)
- {
- vsize = -1;
-- v_digit = -v_digit;
-+ vl_digit = (mp_limb_t) -(unsigned long) v_digit;
- }
-
- if (usize != vsize)
-@@ -56,10 +59,10 @@ _mpz_cmp_si (mpz_srcptr u, signed long i
-
- u_digit = u->_mp_d[0];
-
-- if (u_digit == (mp_limb_t) (unsigned long) v_digit)
-+ if (u_digit == vl_digit)
- return 0;
-
-- if (u_digit > (mp_limb_t) (unsigned long) v_digit)
-+ if (u_digit > vl_digit)
- return usize;
- else
- return -usize;
---- gmp-4.3.2/mpz/iset_si.c.ll 2010-01-07 12:09:03.000000000 -0800
-+++ gmp-4.3.2/mpz/iset_si.c 2011-11-30 13:44:25.924319695 -0800
-@@ -31,7 +31,7 @@ mpz_init_set_si (mpz_ptr dest, signed lo
- dest->_mp_alloc = 1;
- dest->_mp_d = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB);
-
-- vl = (mp_limb_t) (unsigned long int) (val >= 0 ? val : -val);
-+ vl = (mp_limb_t) (val >= 0 ? (unsigned long int) val : -(unsigned long int) val);
-
- dest->_mp_d[0] = vl & GMP_NUMB_MASK;
- size = vl != 0;
---- gmp-4.3.2/mpz/set_si.c.ll 2010-01-07 12:09:03.000000000 -0800
-+++ gmp-4.3.2/mpz/set_si.c 2011-11-30 13:44:25.947319574 -0800
-@@ -27,7 +27,7 @@ mpz_set_si (mpz_ptr dest, signed long in
- mp_size_t size;
- mp_limb_t vl;
-
-- vl = (mp_limb_t) (unsigned long int) (val >= 0 ? val : -val);
-+ vl = (mp_limb_t) (val >= 0 ? (unsigned long int) val : -(unsigned long int) val);
-
- dest->_mp_d[0] = vl & GMP_NUMB_MASK;
- size = vl != 0;
diff --git a/dev-libs/gmp/files/gmp-5.0.2-x32-support.patch b/dev-libs/gmp/files/gmp-5.0.2-x32-support.patch
deleted file mode 100644
index 28efee0a5eed..000000000000
--- a/dev-libs/gmp/files/gmp-5.0.2-x32-support.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Upstream-Status: Pending
-
-Add X32 support in gmp configure.
-
-Patch Originator: H J Lu @ Intel
-Patch modified for Yocto by Nitin Kamble
-Signed Off By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/11/21
-
---- gmp-4.3.2/configure
-+++ gmp-4.3.2/configure
-@@ -1499,6 +1499,21 @@
- path_64="x86_64/atom x86_64"
- ;;
- esac
-+
-+ # X32 support.
-+ case x"$path_64" in
-+ xx86_64*)
-+ abilist="x32 64 32"
-+ path_x32="$path_64"
-+ limb_x32=longlong
-+ cclist_x32="gcc"
-+ gcc_x32_cflags="-O2 -mx32"
-+ any_x32_testlist="sizeof-long-4"
-+ CALLING_CONVENTIONS_OBJS_x32='amd64call.lo amd64check$U.lo'
-+ SPEED_CYCLECOUNTER_OBJ_x32=x86_64.lo
-+ cyclecounter_size_x32=2
-+ ;;
-+ esac
- ;;
- esac
- ;;
-@@ -3039,7 +3058,7 @@
- ;;
- esac
- ;;
-- 64)
-+ 64|x32)
-
- echo "include_mpn(\`x86_64/x86_64-defs.m4')" >> $gmp_tmpconfigm4i
-
diff --git a/dev-libs/gmp/files/gmp-5.0.5-x32-support.patch b/dev-libs/gmp/files/gmp-5.0.5-x32-support.patch
deleted file mode 100644
index b6867bf03abe..000000000000
--- a/dev-libs/gmp/files/gmp-5.0.5-x32-support.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Upstream-Status: Pending
-
-Add X32 support in gmp configure.
-
-Patch Originator: H J Lu @ Intel
-Patch modified for Yocto by Nitin Kamble
-Signed Off By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/11/21
-
---- gmp-5.0.5/configure
-+++ gmp-5.0.5/configure
-@@ -5189,6 +5189,21 @@
- esac
- ;;
- esac
-+
-+ # X32 support.
-+ case x"$path_64" in
-+ xx86_64*)
-+ abilist="x32 64 32"
-+ path_x32="$path_64"
-+ limb_x32=longlong
-+ cclist_x32="gcc"
-+ gcc_x32_cflags="-O2 -mx32"
-+ any_x32_testlist="sizeof-long-4"
-+ CALLING_CONVENTIONS_OBJS_x32='amd64call.lo amd64check$U.lo'
-+ SPEED_CYCLECOUNTER_OBJ_x32=x86_64.lo
-+ cyclecounter_size_x32=2
-+ ;;
-+ esac
- ;;
-
-
-@@ -3039,7 +3058,7 @@
- ;;
- esac
- ;;
-- 64)
-+ 64|x32)
-
- echo "include_mpn(\`x86_64/x86_64-defs.m4')" >> $gmp_tmpconfigm4i
-
diff --git a/dev-libs/gmp/files/gmp-5.1.0-armv4.patch b/dev-libs/gmp/files/gmp-5.1.0-armv4.patch
deleted file mode 100644
index 0337bd364968..000000000000
--- a/dev-libs/gmp/files/gmp-5.1.0-armv4.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-fix missing __gmpn_invert_limb symbols w/armv4 targets
-
---- a/configure
-+++ b/configure
-@@ -582,6 +582,7 @@ case $host in
- # options fail.
- case $host_cpu in
- armsa1 | armv4*)
-+ path="arm"
- ;;
- armxscale | arm9te | arm10 | armv5*)
- path="arm/v5 arm"
diff --git a/dev-libs/gmp/files/gmp-5.1.0-x32-support.patch b/dev-libs/gmp/files/gmp-5.1.0-x32-support.patch
deleted file mode 100644
index fda361d9b294..000000000000
--- a/dev-libs/gmp/files/gmp-5.1.0-x32-support.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Upstream-Status: Pending
-
-Add X32 support in gmp configure.
-
-Patch Originator: H J Lu @ Intel
-Patch modified for Yocto by Nitin Kamble
-Signed Off By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/11/21
-
---- gmp-5.1.0/configure
-+++ gmp-5.1.0/configure
-@@ -5237,6 +5237,22 @@ echo "include_mpn(\`vax/elf.m4')" >> $gmp_tmpconfigm4i
- extra_functions_64="invert_limb_table"
- fi
-
-+ # X32 support.
-+ case x"$path_64" in
-+ xx86_64*)
-+ abilist="x32 64 32"
-+ path_x32="$path_64"
-+ limb_x32=longlong
-+ cclist_x32="gcc"
-+ gcc_x32_cflags="-O2 -mx32"
-+ any_x32_testlist="sizeof-long-4"
-+ CALLING_CONVENTIONS_OBJS_x32=$CALLING_CONVENTIONS_OBJS_64
-+ SPEED_CYCLECOUNTER_OBJ_x32=$SPEED_CYCLECOUNTER_OBJ_64
-+ cyclecounter_size_x32=$cyclecounter_size_64
-+ extra_functions_x32=$extra_functions_64
-+ ;;
-+ esac
-+
- case $host in
- *-*-solaris*)
- # Sun cc.
-@@ -28611,7 +28627,7 @@ echo "include_mpn(\`x86/darwin.m4')" >> $gmp_tmpconfigm4i
- ;;
- esac
- ;;
-- 64)
-+ 64|x32)
-
- echo "include_mpn(\`x86_64/x86_64-defs.m4')" >> $gmp_tmpconfigm4i
-
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
deleted file mode 100644
index f21479f91110..000000000000
--- a/dev-libs/gmp/files/gmp-5.1.0-x86-nopie-tests.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-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.0.1.ebuild b/dev-libs/gmp/gmp-5.0.1.ebuild
deleted file mode 100644
index 4ba74e920f68..000000000000
--- a/dev-libs/gmp/gmp-5.0.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool toolchain-funcs
-
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-# doc? ( http://www.nada.kth.se/~tege/${PN}-man-${PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="cxx" #doc
-
-DEPEND="sys-devel/m4"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
- epatch "${FILESDIR}"/${P}-perfpow-test.patch
- epatch "${FILESDIR}"/${PN}-5.0.0-s390.diff
-
- # 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
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "${0}.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- o32|n32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- --disable-mpbsd \
- $(use_enable cxx) \
- || die "configure failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- #use doc && cp "${DISTDIR}"/gmp-man-${PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.0.2.ebuild b/dev-libs/gmp/gmp-5.0.2.ebuild
deleted file mode 100644
index c0f8675193c8..000000000000
--- a/dev-libs/gmp/gmp-5.0.2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool toolchain-funcs
-
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-# doc? ( http://www.nada.kth.se/~tege/${PN}-man-${PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="cxx" #doc
-
-DEPEND="sys-devel/m4"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
- epatch "${FILESDIR}"/${PN}-5.0.0-s390.diff
-
- # 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
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "${0}.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- o32|n32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- --disable-mpbsd \
- $(use_enable cxx) \
- || die "configure failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- #use doc && cp "${DISTDIR}"/gmp-man-${PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.0.2_p1.ebuild b/dev-libs/gmp/gmp-5.0.2_p1.ebuild
deleted file mode 100644
index 14d44b475331..000000000000
--- a/dev-libs/gmp/gmp-5.0.2_p1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-PLEVEL=${PV/*p}
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.bz2
- doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="doc cxx static-libs"
-
-DEPEND="sys-devel/m4"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${MY_P}.tar.bz2
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
- epatch "${FILESDIR}"/${PN}-5.0.0-s390.diff
- epatch "${FILESDIR}"/${MY_P}-unnormalised-dividends.patch
- has x32 $(get_all_abis) && epatch "${FILESDIR}"/${PN}-5.0.2*x32*.patch
-
- # 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
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "${0}.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- [onx]32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- --disable-mpbsd \
- $(use_enable cxx) \
- $(use_enable static-libs static) \
- || die
-
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # should be a standalone lib
- rm -f "${D}"/usr/$(get_libdir)/libgmp.la
- # this requires libgmp
- local la="${D}/usr/$(get_libdir)/libgmpxx.la"
- use static-libs \
- && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
- || rm -f "${la}"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.0.3.ebuild b/dev-libs/gmp/gmp-5.0.3.ebuild
deleted file mode 100644
index 12825fd2e04c..000000000000
--- a/dev-libs/gmp/gmp-5.0.3.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-PLEVEL=${PV/*p}
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
- doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="doc cxx static-libs"
-
-DEPEND="sys-devel/m4
- app-arch/xz-utils"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- xz -dc "${DISTDIR}/${MY_P}.tar.xz" | tar xof - || die
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
- epatch "${FILESDIR}"/${PN}-5.0.2*x32*.patch
-
- # 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
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "${0}.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- [onx]32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- --disable-mpbsd \
- $(use_enable cxx) \
- $(use_enable static-libs static) \
- || die
-
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # should be a standalone lib
- rm -f "${D}"/usr/$(get_libdir)/libgmp.la
- # this requires libgmp
- local la="${D}/usr/$(get_libdir)/libgmpxx.la"
- use static-libs \
- && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
- || rm -f "${la}"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.0.4.ebuild b/dev-libs/gmp/gmp-5.0.4.ebuild
deleted file mode 100644
index 59e580cdf662..000000000000
--- a/dev-libs/gmp/gmp-5.0.4.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool unpacker toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-PLEVEL=${PV/*p}
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
- doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="doc cxx static-libs"
-
-DEPEND="sys-devel/m4
- app-arch/xz-utils"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpacker_src_unpack
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
- epatch "${FILESDIR}"/${PN}-5.0.2-x32-support.patch
-
- # 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
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "${0}.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- [onx]32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- --disable-mpbsd \
- $(use_enable cxx) \
- $(use_enable static-libs static) \
- || die
-
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # should be a standalone lib
- rm -f "${D}"/usr/$(get_libdir)/libgmp.la
- # this requires libgmp
- local la="${D}/usr/$(get_libdir)/libgmpxx.la"
- use static-libs \
- && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
- || rm -f "${la}"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.0.5.ebuild b/dev-libs/gmp/gmp-5.0.5.ebuild
deleted file mode 100644
index a11c1322dc19..000000000000
--- a/dev-libs/gmp/gmp-5.0.5.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool unpacker toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-PLEVEL=${PV/*p}
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
- doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="doc cxx static-libs"
-
-DEPEND="sys-devel/m4
- app-arch/xz-utils"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpacker_src_unpack
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
- epatch "${FILESDIR}"/${PN}-5.0.5-x32-support.patch
-
- # 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
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "${0}.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- [onx]32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- --disable-mpbsd \
- $(use_enable cxx) \
- $(use_enable static-libs static) \
- || die
-
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # should be a standalone lib
- rm -f "${D}"/usr/$(get_libdir)/libgmp.la
- # this requires libgmp
- local la="${D}/usr/$(get_libdir)/libgmpxx.la"
- use static-libs \
- && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
- || rm -f "${la}"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.1.0.ebuild b/dev-libs/gmp/gmp-5.1.0.ebuild
deleted file mode 100644
index 7ba76d02287b..000000000000
--- a/dev-libs/gmp/gmp-5.1.0.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool unpacker toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-PLEVEL=${PV/*p}
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
- ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz
- doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="doc cxx pgo static-libs"
-
-DEPEND="sys-devel/m4
- app-arch/xz-utils"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpacker_src_unpack
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
- epatch "${FILESDIR}"/${PN}-5.1.0-armv4.patch
- epatch "${FILESDIR}"/${PN}-5.1.0-x32-support.patch
-
- # disable -fPIE -pie in the tests for x86 #236054
- if use x86 && gcc-specs-pie ; then
- epatch "${FILESDIR}"/${PN}-5.1.0-x86-nopie-tests.patch
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "$0.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- [onx]32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- $(use_enable cxx) \
- $(use_enable static-libs static)
-
- emake || die
-
- if use pgo ; then
- emake -j1 -C tune tuneup || die
- ebegin "Trying to generate tuned data"
- ./tune/tuneup | tee gmp.mparam.h.new
- if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then
- mv gmp.mparam.h.new gmp-mparam.h || die
- emake clean || die
- emake || die
- fi
- fi
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # should be a standalone lib
- rm -f "${D}"/usr/$(get_libdir)/libgmp.la
- # this requires libgmp
- local la="${D}/usr/$(get_libdir)/libgmpxx.la"
- use static-libs \
- && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
- || rm -f "${la}"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.1.1.ebuild b/dev-libs/gmp/gmp-5.1.1.ebuild
deleted file mode 100644
index 1d7af043c373..000000000000
--- a/dev-libs/gmp/gmp-5.1.1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool unpacker toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-PLEVEL=${PV/*p}
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
- ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz
- doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="doc cxx pgo static-libs"
-
-DEPEND="sys-devel/m4
- app-arch/xz-utils"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpacker_src_unpack
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
- epatch "${FILESDIR}"/${PN}-5.1.0-armv4.patch
-
- # disable -fPIE -pie in the tests for x86 #236054
- if use x86 && gcc-specs-pie ; then
- epatch "${FILESDIR}"/${PN}-5.1.0-x86-nopie-tests.patch
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "$0.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- [onx]32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- $(use_enable cxx) \
- $(use_enable static-libs static)
-
- emake || die
-
- if use pgo ; then
- emake -j1 -C tune tuneup || die
- ebegin "Trying to generate tuned data"
- ./tune/tuneup | tee gmp.mparam.h.new
- if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then
- mv gmp.mparam.h.new gmp-mparam.h || die
- emake clean || die
- emake || die
- fi
- fi
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # should be a standalone lib
- rm -f "${D}"/usr/$(get_libdir)/libgmp.la
- # this requires libgmp
- local la="${D}/usr/$(get_libdir)/libgmpxx.la"
- use static-libs \
- && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
- || rm -f "${la}"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.1.2.ebuild b/dev-libs/gmp/gmp-5.1.2.ebuild
deleted file mode 100644
index bc47d2605adb..000000000000
--- a/dev-libs/gmp/gmp-5.1.2.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool unpacker toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-PLEVEL=${PV/*p}
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
- ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz
- doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="doc cxx pgo static-libs"
-
-DEPEND="sys-devel/m4
- app-arch/xz-utils"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpacker_src_unpack
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
-
- # disable -fPIE -pie in the tests for x86 #236054
- if use x86 && gcc-specs-pie ; then
- epatch "${FILESDIR}"/${PN}-5.1.0-x86-nopie-tests.patch
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "$0.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- [onx]32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- $(use_enable cxx) \
- $(use_enable static-libs static)
-
- emake || die
-
- if use pgo ; then
- emake -j1 -C tune tuneup || die
- ebegin "Trying to generate tuned data"
- ./tune/tuneup | tee gmp.mparam.h.new
- if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then
- mv gmp.mparam.h.new gmp-mparam.h || die
- emake clean || die
- emake || die
- fi
- fi
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # should be a standalone lib
- rm -f "${D}"/usr/$(get_libdir)/libgmp.la
- # this requires libgmp
- local la="${D}/usr/$(get_libdir)/libgmpxx.la"
- use static-libs \
- && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
- || rm -f "${la}"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}
diff --git a/dev-libs/gmp/gmp-5.1.3.ebuild b/dev-libs/gmp/gmp-5.1.3.ebuild
deleted file mode 100644
index 48ffa99cc28f..000000000000
--- a/dev-libs/gmp/gmp-5.1.3.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit flag-o-matic eutils libtool unpacker toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-PLEVEL=${PV/*p}
-DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://gmplib.org/"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
- ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz
- doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="doc cxx pgo static-libs"
-
-DEPEND="sys-devel/m4
- app-arch/xz-utils"
-RDEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpacker_src_unpack
- cd "${S}"
- [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
- epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
-
- # disable -fPIE -pie in the tests for x86 #236054
- if use x86 && gcc-specs-pie ; then
- epatch "${FILESDIR}"/${PN}-5.1.0-x86-nopie-tests.patch
- fi
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
-
- # GMP uses the "ABI" env var during configure as does Gentoo (econf).
- # So, to avoid patching the source constantly, wrap things up.
- mv configure configure.wrapped || die
- cat <<-\EOF > configure
- #!/bin/sh
- exec env ABI="$GMPABI" "$0.wrapped" "$@"
- EOF
- chmod a+rx configure
-}
-
-src_compile() {
- # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
- # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
- if [[ ${CHOST} == hppa2.0-* ]] ; then
- export GMPABI="1.0"
- fi
-
- # ABI mappings (needs all architectures supported)
- case ${ABI} in
- 32|x86) GMPABI=32;;
- 64|amd64|n64) GMPABI=64;;
- [onx]32) GMPABI=${ABI};;
- esac
- export GMPABI
-
- tc-export CC
- econf \
- --localstatedir=/var/state/gmp \
- $(use_enable cxx) \
- $(use_enable static-libs static)
-
- emake || die
-
- if use pgo ; then
- emake -j1 -C tune tuneup || die
- ebegin "Trying to generate tuned data"
- ./tune/tuneup | tee gmp.mparam.h.new
- if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then
- mv gmp.mparam.h.new gmp-mparam.h || die
- emake clean || die
- emake || die
- fi
- fi
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # should be a standalone lib
- rm -f "${D}"/usr/$(get_libdir)/libgmp.la
- # this requires libgmp
- local la="${D}/usr/$(get_libdir)/libgmpxx.la"
- use static-libs \
- && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
- || rm -f "${la}"
-
- dodoc AUTHORS ChangeLog NEWS README
- dodoc doc/configuration doc/isa_abi_headache
- dohtml -r doc
-
- use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
-}