From b362f5f90c0c5f92c15f6e1652781a38b0c0b3a7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Jun 2006 06:35:03 +0000 Subject: [PATCH] Version bump #136824 by Nuno Lopes. Package-Manager: portage-2.1.1_pre1 --- dev-libs/gmp/ChangeLog | 10 +- dev-libs/gmp/Manifest | 129 ++++++++- dev-libs/gmp/files/4.2.1/aix.m4-RW.diff | 21 ++ dev-libs/gmp/files/4.2.1/configure-ppc.diff | 58 ++++ dev-libs/gmp/files/4.2.1/ia64-popcount.diff | 38 +++ dev-libs/gmp/files/4.2.1/x86-fat.diff | 137 +++++++++ dev-libs/gmp/files/digest-gmp-4.1.4 | 2 + dev-libs/gmp/files/digest-gmp-4.2.1 | 6 + .../gmp/files/gmp-4.2.1-ABI-multilib.patch | 262 ++++++++++++++++++ dev-libs/gmp/gmp-4.2.1.ebuild | 68 +++++ 10 files changed, 724 insertions(+), 7 deletions(-) create mode 100644 dev-libs/gmp/files/4.2.1/aix.m4-RW.diff create mode 100644 dev-libs/gmp/files/4.2.1/configure-ppc.diff create mode 100644 dev-libs/gmp/files/4.2.1/ia64-popcount.diff create mode 100644 dev-libs/gmp/files/4.2.1/x86-fat.diff create mode 100644 dev-libs/gmp/files/digest-gmp-4.2.1 create mode 100644 dev-libs/gmp/files/gmp-4.2.1-ABI-multilib.patch create mode 100644 dev-libs/gmp/gmp-4.2.1.ebuild diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog index 028c6431d872..e8eafc99734f 100644 --- a/dev-libs/gmp/ChangeLog +++ b/dev-libs/gmp/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/gmp # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.72 2006/04/23 06:43:55 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.73 2006/06/18 06:35:03 vapier Exp $ + +*gmp-4.2.1 (18 Jun 2006) + + 18 Jun 2006; Mike Frysinger + +files/4.2.1/aix.m4-RW.diff, +files/4.2.1/ia64-popcount.diff, + +files/gmp-4.2.1-ABI-multilib.patch, +files/4.2.1/configure-ppc.diff, + +files/4.2.1/x86-fat.diff, +gmp-4.2.1.ebuild: + Version bump #136824 by Nuno Lopes. 23 Apr 2006; Markus Rothe gmp-4.2.ebuild: gmp-4.1.4-ppc64-asm-dots.patch does not apply on top of 4.2, but is also no diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest index e81ec558a8c9..8c7d4f50e9a1 100644 --- a/dev-libs/gmp/Manifest +++ b/dev-libs/gmp/Manifest @@ -1,26 +1,143 @@ -MD5 01af8a2f0be8f9387a1508c8d6d5456d ChangeLog 9916 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 4.1.4/gmp-impl.h.MPF_SIGNIFICANT_DIGITS.diff 1182 RMD160 5da50181e41afa8947f3c2caae818726fad4f410 SHA1 b1a2e35b042ae88b6e91de78e5b6b6892165a987 SHA256 16685e619524f7af6eba7c3d8cc98eddcb60ddbd82ad62f55af78763768d6858 MD5 3ffd372397aa4b63f5a08f711df8e02c files/4.1.4/gmp-impl.h.MPF_SIGNIFICANT_DIGITS.diff 1182 +RMD160 5da50181e41afa8947f3c2caae818726fad4f410 files/4.1.4/gmp-impl.h.MPF_SIGNIFICANT_DIGITS.diff 1182 +SHA256 16685e619524f7af6eba7c3d8cc98eddcb60ddbd82ad62f55af78763768d6858 files/4.1.4/gmp-impl.h.MPF_SIGNIFICANT_DIGITS.diff 1182 +AUX 4.1.4/gmp-impl.h.MPN_SIZEINBASE.diff 1315 RMD160 be5a37a6a2dd53745904e01ea363a265d4b0752b SHA1 86bdf20add8e6530f44084d9cb96bc5c1b33610f SHA256 9e0abb46d1f50d8dd38f96ed7c27d45e8b0fc7c9a59c24ac8688716f0bc41437 MD5 62a1429c81d8b2631590acf519385b7c files/4.1.4/gmp-impl.h.MPN_SIZEINBASE.diff 1315 +RMD160 be5a37a6a2dd53745904e01ea363a265d4b0752b files/4.1.4/gmp-impl.h.MPN_SIZEINBASE.diff 1315 +SHA256 9e0abb46d1f50d8dd38f96ed7c27d45e8b0fc7c9a59c24ac8688716f0bc41437 files/4.1.4/gmp-impl.h.MPN_SIZEINBASE.diff 1315 +AUX 4.1.4/gmp-impl.h.x86.ULONG_PARITY.diff 1357 RMD160 48937aaf7ec5f698085705c5b00f4d7c85460e51 SHA1 451a6a404d7d55c094afdeb81760a6ec1bd4701d SHA256 5a4e53ec4e669dac1ef9da68111c4a336950d58e8f3539927fad232472d064c6 MD5 9ed7fdde964f92400549a7a4bc2d1982 files/4.1.4/gmp-impl.h.x86.ULONG_PARITY.diff 1357 +RMD160 48937aaf7ec5f698085705c5b00f4d7c85460e51 files/4.1.4/gmp-impl.h.x86.ULONG_PARITY.diff 1357 +SHA256 5a4e53ec4e669dac1ef9da68111c4a336950d58e8f3539927fad232472d064c6 files/4.1.4/gmp-impl.h.x86.ULONG_PARITY.diff 1357 +AUX 4.1.4/mpn_rootrem.c.diff 813 RMD160 a0c4ebacd92da15fdaf17f92b6d41dec7e90a4d1 SHA1 7f1b990de6763b28eb108a2e684eff830215da6c SHA256 089de5b8222b65ae826b1ff10e793fbb749bb3c39d6058bd1553fb74893532e1 MD5 4083cba7bced11f16a6672b2bbcbb364 files/4.1.4/mpn_rootrem.c.diff 813 +RMD160 a0c4ebacd92da15fdaf17f92b6d41dec7e90a4d1 files/4.1.4/mpn_rootrem.c.diff 813 +SHA256 089de5b8222b65ae826b1ff10e793fbb749bb3c39d6058bd1553fb74893532e1 files/4.1.4/mpn_rootrem.c.diff 813 +AUX 4.2.1/aix.m4-RW.diff 529 RMD160 33b9e308733fda096601efdaab15764796484fca SHA1 82978580fc9819c246f975598d276a02f529b957 SHA256 0636df524109a52e9705355952097017242ade4527a0fbb0961fd288334c9ded +MD5 fa553f0a338347c619138645ab7dd4a3 files/4.2.1/aix.m4-RW.diff 529 +RMD160 33b9e308733fda096601efdaab15764796484fca files/4.2.1/aix.m4-RW.diff 529 +SHA256 0636df524109a52e9705355952097017242ade4527a0fbb0961fd288334c9ded files/4.2.1/aix.m4-RW.diff 529 +AUX 4.2.1/configure-ppc.diff 2112 RMD160 ef6c739cb54d57d4e38aea7b0368a5e6cc447ebe SHA1 785ea4ed3d98d4317cee465670ab7ff16a464113 SHA256 6078a583ee7a90d203dda11743f427ffb8b4c7ea17f708d4711fce044f7fda8d +MD5 5fbc1dd75423ded13088f55faa34f341 files/4.2.1/configure-ppc.diff 2112 +RMD160 ef6c739cb54d57d4e38aea7b0368a5e6cc447ebe files/4.2.1/configure-ppc.diff 2112 +SHA256 6078a583ee7a90d203dda11743f427ffb8b4c7ea17f708d4711fce044f7fda8d files/4.2.1/configure-ppc.diff 2112 +AUX 4.2.1/ia64-popcount.diff 951 RMD160 9ee01b3c3bb4cf29dee110e6d3e78ef582519e50 SHA1 9cf08d6c123d35aa1379a7d2d791d2d583e53131 SHA256 35c1b6690b0cc346b5404ae151fe6f3ace9574e191f63e0e221cae19d971de07 +MD5 beafe285c767d9109b533d3e8f3fd1fb files/4.2.1/ia64-popcount.diff 951 +RMD160 9ee01b3c3bb4cf29dee110e6d3e78ef582519e50 files/4.2.1/ia64-popcount.diff 951 +SHA256 35c1b6690b0cc346b5404ae151fe6f3ace9574e191f63e0e221cae19d971de07 files/4.2.1/ia64-popcount.diff 951 +AUX 4.2.1/x86-fat.diff 4732 RMD160 f85e410a5f7ef3c666e7b86d663f212cebf502fa SHA1 5c56d7f8cc26e67a82acad124874a4e70825f017 SHA256 cd4dedf4cba0ab33f4049e841f1588a775b9fe76248f535f4e85ad0e710b40f9 +MD5 72e66a10dc0305e3585ee5e176222141 files/4.2.1/x86-fat.diff 4732 +RMD160 f85e410a5f7ef3c666e7b86d663f212cebf502fa files/4.2.1/x86-fat.diff 4732 +SHA256 cd4dedf4cba0ab33f4049e841f1588a775b9fe76248f535f4e85ad0e710b40f9 files/4.2.1/x86-fat.diff 4732 +AUX amd64.patch 1166 RMD160 ca9575e56aa20dd5dd26b9f05f25d20009f66cd9 SHA1 e49ed3bd5e430bdb94fe3338792e5a5f27f1d466 SHA256 02785a9ca4130ef3e3af7219134495ef17ae19907b41848d1a13e263df38b3ca MD5 1dbc1772df649dae89ad8e00042c5b46 files/amd64.patch 1166 -MD5 8c7f521cf77fb56ab019223cf92a6bca files/digest-gmp-4.1.4 62 -MD5 b330f02d3e3d3d78a1891eb8b683e14a files/digest-gmp-4.1.4-r1 294 -MD5 e9d24618243d8e46e39eebb5b35b16d9 files/digest-gmp-4.1.4-r2 125 -MD5 e9d24618243d8e46e39eebb5b35b16d9 files/digest-gmp-4.1.4-r3 125 -MD5 cd73f04b9fffa9a5aed94dee52701f28 files/digest-gmp-4.2 455 +RMD160 ca9575e56aa20dd5dd26b9f05f25d20009f66cd9 files/amd64.patch 1166 +SHA256 02785a9ca4130ef3e3af7219134495ef17ae19907b41848d1a13e263df38b3ca files/amd64.patch 1166 +AUX gmp-4.1.4-ABI-multilib.patch 3671 RMD160 d0d0b56ac8ed1648a79f978e0864a99269520aa8 SHA1 56d656d0a4c1ced855743d7c39a4f010fe4a5fbc SHA256 db4cf637596d69f7b0de87f740d17bc58bcb58f414a64c2c75e2941920d2a794 MD5 553564c5562a6bcea4253fb391092fca files/gmp-4.1.4-ABI-multilib.patch 3671 +RMD160 d0d0b56ac8ed1648a79f978e0864a99269520aa8 files/gmp-4.1.4-ABI-multilib.patch 3671 +SHA256 db4cf637596d69f7b0de87f740d17bc58bcb58f414a64c2c75e2941920d2a794 files/gmp-4.1.4-ABI-multilib.patch 3671 +AUX gmp-4.1.4-asm-dots.patch 391 RMD160 3304c06e350e9aefc80855c11726fd92b675d21f SHA1 103e83f56640d26e289f11f781c87f8a744e6cdb SHA256 97490cf6e52efd8ad0158ecdab416cc2ff96e4933bd2aa47cc8b7c9cef3d5b91 MD5 d420152880c4ac501005f2a4fe93136f files/gmp-4.1.4-asm-dots.patch 391 +RMD160 3304c06e350e9aefc80855c11726fd92b675d21f files/gmp-4.1.4-asm-dots.patch 391 +SHA256 97490cf6e52efd8ad0158ecdab416cc2ff96e4933bd2aa47cc8b7c9cef3d5b91 files/gmp-4.1.4-asm-dots.patch 391 +AUX gmp-4.1.4-multilib.patch 2864 RMD160 707ed6bdca664ab07c7dcd48a4657f92b4b9cd62 SHA1 14f6055f2fd659fd734753e0ea81c2f88946fadc SHA256 11519c27029e0627ef9652cbcebdff689dfaecfb9aa9f6fd9a121bda0ee8d989 MD5 ee91d8f397ce79dd0ff7e4ae48a47b21 files/gmp-4.1.4-multilib.patch 2864 +RMD160 707ed6bdca664ab07c7dcd48a4657f92b4b9cd62 files/gmp-4.1.4-multilib.patch 2864 +SHA256 11519c27029e0627ef9652cbcebdff689dfaecfb9aa9f6fd9a121bda0ee8d989 files/gmp-4.1.4-multilib.patch 2864 +AUX gmp-4.1.4-noexecstack.patch 500 RMD160 f6127c09401e20137dc84bf15bcc664882e8cb8c SHA1 4a4488042cd0ec374f014576c1e88e3d469ad571 SHA256 5596cceb83b0cb7d82512623a314b9dad4a595fe897403ec7f130511a35ed672 MD5 c5cdde547a6d6877d618f865215b1180 files/gmp-4.1.4-noexecstack.patch 500 +RMD160 f6127c09401e20137dc84bf15bcc664882e8cb8c files/gmp-4.1.4-noexecstack.patch 500 +SHA256 5596cceb83b0cb7d82512623a314b9dad4a595fe897403ec7f130511a35ed672 files/gmp-4.1.4-noexecstack.patch 500 +AUX gmp-4.1.4-nostackexec.patch 333 RMD160 2552417332eacce3a91bf455b42ace6a24f9ce78 SHA1 6832d0db2b95ebfb96f1ec25ac13791167dd64cf SHA256 c2038c83eebba11293794af93d3cdf94b23cc1c7da70337474e1bd14ace2934b MD5 bbd0e9615a3d4c4e30f13fe0ce4a0d63 files/gmp-4.1.4-nostackexec.patch 333 +RMD160 2552417332eacce3a91bf455b42ace6a24f9ce78 files/gmp-4.1.4-nostackexec.patch 333 +SHA256 c2038c83eebba11293794af93d3cdf94b23cc1c7da70337474e1bd14ace2934b files/gmp-4.1.4-nostackexec.patch 333 +AUX gmp-4.1.4-ppc64-asm-dots.patch 591 RMD160 93723091cc2bf41de13a4270ac35bc350aeffaae SHA1 e22d15477498cefa5b0a667016872e281c9a1bc1 SHA256 71e2c485c5f76b3b0923c3c20e3707ac9dc9cab0aec48694a4f0b86a368d1f10 MD5 d2af66806a8974a7be3bf44cebef957d files/gmp-4.1.4-ppc64-asm-dots.patch 591 +RMD160 93723091cc2bf41de13a4270ac35bc350aeffaae files/gmp-4.1.4-ppc64-asm-dots.patch 591 +SHA256 71e2c485c5f76b3b0923c3c20e3707ac9dc9cab0aec48694a4f0b86a368d1f10 files/gmp-4.1.4-ppc64-asm-dots.patch 591 +AUX gmp-4.2-ABI-multilib.patch 12378 RMD160 01c8e70a347af108440e7beac80af7e21bf98574 SHA1 fcd6ad17482a4ec053f869011b6e69785fb1d948 SHA256 99bf1d8052d82eba13c929d4f16b6e0091ea4f71f5d1336913deddc49174418f MD5 6c3d0f4be98bb1f13ad6232935b63a9b files/gmp-4.2-ABI-multilib.patch 12378 +RMD160 01c8e70a347af108440e7beac80af7e21bf98574 files/gmp-4.2-ABI-multilib.patch 12378 +SHA256 99bf1d8052d82eba13c929d4f16b6e0091ea4f71f5d1336913deddc49174418f files/gmp-4.2-ABI-multilib.patch 12378 +AUX gmp-4.2.1-ABI-multilib.patch 12390 RMD160 934645555459cabcf4c2f0e1ea0a6a7143387a81 SHA1 16fe122b8f88a38d27ed8205dc37b0f7ad53d21f SHA256 d5fa3b9cd07036abc99d8356ffd82935aa63b2aab53ffb49eb0f4004d35964aa +MD5 c4ebcc92089f50c5918a83b8a6d2122e files/gmp-4.2.1-ABI-multilib.patch 12390 +RMD160 934645555459cabcf4c2f0e1ea0a6a7143387a81 files/gmp-4.2.1-ABI-multilib.patch 12390 +SHA256 d5fa3b9cd07036abc99d8356ffd82935aa63b2aab53ffb49eb0f4004d35964aa files/gmp-4.2.1-ABI-multilib.patch 12390 +AUX gmp-hppa-2.0.patch 16826 RMD160 5d969976cf326bd90ade9870f8c1c9b15877a695 SHA1 28e8e80eb079d708042a6faf2a83f1ead0e164d4 SHA256 0c3b7eff32fa92c9e9fa7469d422bef6550345a63f770be4bf7acdf329ef2c64 MD5 b52419c7a4ccb630ec3e44cc7ea926c9 files/gmp-hppa-2.0.patch 16826 +RMD160 5d969976cf326bd90ade9870f8c1c9b15877a695 files/gmp-hppa-2.0.patch 16826 +SHA256 0c3b7eff32fa92c9e9fa7469d422bef6550345a63f770be4bf7acdf329ef2c64 files/gmp-hppa-2.0.patch 16826 +AUX ppc64-gmp-acinclude.patch 474 RMD160 f9ecc59ebdee8e90b36fedde5af898522fc42db4 SHA1 40bc036952a7e3b86f673928ff4e3f6f66a504e3 SHA256 ec025fd569a096ce8b59146a9f9200947b121ccded6821875d4ad2194765ed53 MD5 d70b080c2f0efd82a800ba8a1af7b305 files/ppc64-gmp-acinclude.patch 474 +RMD160 f9ecc59ebdee8e90b36fedde5af898522fc42db4 files/ppc64-gmp-acinclude.patch 474 +SHA256 ec025fd569a096ce8b59146a9f9200947b121ccded6821875d4ad2194765ed53 files/ppc64-gmp-acinclude.patch 474 +DIST gmp-4.1.4.tar.bz2 1681267 +DIST gmp-4.1.4.tar.gz 2201302 RMD160 858fe33a84f209a8659c6d262a41596f5c7c3c0d SHA256 ce71ebe8ad0e328c7c188803a726b2ddaad9b2ff072cfbaee9c788c733983cb8 +DIST gmp-4.2.1.tar.bz2 1726453 RMD160 831e02a36ac7b466857f8fafeffad7d51f7656e7 SHA1 00a97f0ec1eb1d9429ab5c64be6889e8a497425e SHA256 d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941 +DIST gmp-4.2.tar.bz2 1726594 RMD160 6ae9b4dc0d8517795f10528e7928fbf15fb1d2d2 SHA256 374d658b7168bea13bb23cc4fb2fd4c12b449191325b46bb4e78b9a59c8d889e +DIST gmp-man-4.1.4.pdf 652184 +DIST gmp-man-4.2.1.pdf 996792 RMD160 3f8ea92b95e985d09ed8d5b45952ccf98fbd9dac SHA1 e1f3f84b38d6c459220dbd14015d440cd59195d1 SHA256 3bee6b5285eea339a5ea949cd9db12fe5f676f15beff8ae9cbee0011be24beef +DIST gmp-man-4.2.pdf 994954 RMD160 a200db375245209a52604656c28eb8bcc61832d0 SHA256 c0cf53d949b5829f9401051ce63f39ed6ec92d082f713d8e9f26b38d3f02bed6 +EBUILD gmp-4.1.4-r1.ebuild 1957 RMD160 512b8f9d46cce8081232d5755029faf8b26624a4 SHA1 820ab77c94eab99f5782dbc10b5442709e8beb5c SHA256 8b6928ad15a7731d3f983931d74329339b544701223205a9e99a0d1e53b5b370 MD5 4010682280bcdc0914108efb2a1b4f0f gmp-4.1.4-r1.ebuild 1957 +RMD160 512b8f9d46cce8081232d5755029faf8b26624a4 gmp-4.1.4-r1.ebuild 1957 +SHA256 8b6928ad15a7731d3f983931d74329339b544701223205a9e99a0d1e53b5b370 gmp-4.1.4-r1.ebuild 1957 +EBUILD gmp-4.1.4-r2.ebuild 1916 RMD160 11a247c308ce7b324d3cd319382cec55ba77b1e5 SHA1 8c7fc589239195a413154c8ce02808fcffe0ae05 SHA256 a3fd751bd461e3a3bef43898eccdc03ac3023313ba0154678f394ba81b3d228b MD5 51183ba73620dcb842ad5e09a3e22424 gmp-4.1.4-r2.ebuild 1916 +RMD160 11a247c308ce7b324d3cd319382cec55ba77b1e5 gmp-4.1.4-r2.ebuild 1916 +SHA256 a3fd751bd461e3a3bef43898eccdc03ac3023313ba0154678f394ba81b3d228b gmp-4.1.4-r2.ebuild 1916 +EBUILD gmp-4.1.4-r3.ebuild 1809 RMD160 5737ed1b6e3562d2783c3b0e1314327f5d4993e7 SHA1 976d6bf98f71324365a628d2333c6719fcc4c4c6 SHA256 5dc13c65a0def69758166268ac2fc8933abfddbe38e3612f0e426c3cc776927f MD5 5aa4eb3fc3f41aa513126a329ad1b073 gmp-4.1.4-r3.ebuild 1809 +RMD160 5737ed1b6e3562d2783c3b0e1314327f5d4993e7 gmp-4.1.4-r3.ebuild 1809 +SHA256 5dc13c65a0def69758166268ac2fc8933abfddbe38e3612f0e426c3cc776927f gmp-4.1.4-r3.ebuild 1809 +EBUILD gmp-4.1.4.ebuild 1907 RMD160 0244852e1b01091623b16bb2dd20d767cb96e01f SHA1 8bf9be6d769bb4626d72515cfd65f80467d31b25 SHA256 48234fe275f5dc6096c42d621125101fa995b02e60c1288f645592bf879ebff4 MD5 e4c9a9c68f00f70850342b2bf9acf4a7 gmp-4.1.4.ebuild 1907 +RMD160 0244852e1b01091623b16bb2dd20d767cb96e01f gmp-4.1.4.ebuild 1907 +SHA256 48234fe275f5dc6096c42d621125101fa995b02e60c1288f645592bf879ebff4 gmp-4.1.4.ebuild 1907 +EBUILD gmp-4.2.1.ebuild 1750 RMD160 58496b82a47bb0c47046d4a343d43c9e7e77c7b2 SHA1 4df9cac440a239165fc202a265907ce92cec53b3 SHA256 4ae0867c41df0b9f99181b539488528d2b675d487d7e2083701a099107f028b0 +MD5 8d90dfac75af0886716ec53db1708cc7 gmp-4.2.1.ebuild 1750 +RMD160 58496b82a47bb0c47046d4a343d43c9e7e77c7b2 gmp-4.2.1.ebuild 1750 +SHA256 4ae0867c41df0b9f99181b539488528d2b675d487d7e2083701a099107f028b0 gmp-4.2.1.ebuild 1750 +EBUILD gmp-4.2.ebuild 1634 RMD160 32be3c48e577750da2248159f634d34bddb9e38d SHA1 71191fd1d06c36fc645d056a39fcb1bc0f04f5af SHA256 0812dbf31652f67d90313133f90ec01f1873f197495caf795ce51ceaade2b8c7 MD5 0bbf8783a05659d92de73fe2e63fa472 gmp-4.2.ebuild 1634 +RMD160 32be3c48e577750da2248159f634d34bddb9e38d gmp-4.2.ebuild 1634 +SHA256 0812dbf31652f67d90313133f90ec01f1873f197495caf795ce51ceaade2b8c7 gmp-4.2.ebuild 1634 +MISC ChangeLog 10214 RMD160 3eb6553aa3ae33df39e1772786981feafae954e7 SHA1 a0c748704d8df5720f72f95b4919e55fd2790329 SHA256 1ca8aa4715b911855a0621cab831438902a4e21bed7d3f7fbce033b0a120e44b +MD5 931aede02139f2886054b49bae68be5a ChangeLog 10214 +RMD160 3eb6553aa3ae33df39e1772786981feafae954e7 ChangeLog 10214 +SHA256 1ca8aa4715b911855a0621cab831438902a4e21bed7d3f7fbce033b0a120e44b ChangeLog 10214 +MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 +RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162 +SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a metadata.xml 162 +MD5 bf5e915fed2ea5853eede8c3b9c291c2 files/digest-gmp-4.1.4 232 +RMD160 f861ab0d4ec539dfac1a2863c623ead80613a4e9 files/digest-gmp-4.1.4 232 +SHA256 f04c8945ac7ed06e9a7fd1c79c648e45799af44d1445bd0877bb35249abf1a94 files/digest-gmp-4.1.4 232 +MD5 b330f02d3e3d3d78a1891eb8b683e14a files/digest-gmp-4.1.4-r1 294 +RMD160 ba49a102546c04c179d3f07a9876d27e6da8db53 files/digest-gmp-4.1.4-r1 294 +SHA256 ee78212ed8f80991c77a9fbc0ff711e9cc0088bedfc463810865057727639439 files/digest-gmp-4.1.4-r1 294 +MD5 e9d24618243d8e46e39eebb5b35b16d9 files/digest-gmp-4.1.4-r2 125 +RMD160 1d09c542122f675a68166c1ee21f17d2a2d5d9d7 files/digest-gmp-4.1.4-r2 125 +SHA256 9f51dc5a4ce56ee4e493f4164cf9b99f9f54ceee401ab6255e418c0436afe8f9 files/digest-gmp-4.1.4-r2 125 +MD5 e9d24618243d8e46e39eebb5b35b16d9 files/digest-gmp-4.1.4-r3 125 +RMD160 1d09c542122f675a68166c1ee21f17d2a2d5d9d7 files/digest-gmp-4.1.4-r3 125 +SHA256 9f51dc5a4ce56ee4e493f4164cf9b99f9f54ceee401ab6255e418c0436afe8f9 files/digest-gmp-4.1.4-r3 125 +MD5 cd73f04b9fffa9a5aed94dee52701f28 files/digest-gmp-4.2 455 +RMD160 554c613652a9c35bb977b3c668b409ed145399dd files/digest-gmp-4.2 455 +SHA256 cce2ce9485d6e7d3fc8667b150f5c7ffc82ad761d22df261effad429768798db files/digest-gmp-4.2 455 +MD5 d87bd044c3923c0796531c3bf8576c9f files/digest-gmp-4.2.1 467 +RMD160 98ab335c8f75e99dfd7ddc3d8997efb97f8ef99e files/digest-gmp-4.2.1 467 +SHA256 72f6e7bb87de1a79792e7c22a78d0e16956ec7e0b80a13c7de181b691a627db9 files/digest-gmp-4.2.1 467 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.3 (GNU/Linux) + +iD8DBQFElPU8amhnQswr0vIRAjAfAJ95P3Fjhooe0ynAkvAwzdXGiPN6KwCgjiwc +H9934eA+wxPNmVounhMe3KA= +=rLa+ +-----END PGP SIGNATURE----- diff --git a/dev-libs/gmp/files/4.2.1/aix.m4-RW.diff b/dev-libs/gmp/files/4.2.1/aix.m4-RW.diff new file mode 100644 index 000000000000..4a4810b3e27e --- /dev/null +++ b/dev-libs/gmp/files/4.2.1/aix.m4-RW.diff @@ -0,0 +1,21 @@ +Index: mpn/powerpc32/aix.m4 +=================================================================== +RCS file: /home/cvsfiles/gmp42/mpn/powerpc32/aix.m4,v +retrieving revision 1.3 +retrieving revision 1.4 +diff -p -2 -r1.3 -r1.4 +*** mpn/powerpc32/aix.m4 19 Apr 2006 08:40:28 -0000 1.3 +--- mpn/powerpc32/aix.m4 8 May 2006 09:47:12 -0000 1.4 +*************** m4_assert_numargs(2) +*** 52,56 **** + ` .toc + tc$2: +! .tc $2[TC], $2[RW]')' + ` lwz $1, tc$2(2)') + +--- 52,56 ---- + ` .toc + tc$2: +! .tc $2[TC], $2')' + ` lwz $1, tc$2(2)') + diff --git a/dev-libs/gmp/files/4.2.1/configure-ppc.diff b/dev-libs/gmp/files/4.2.1/configure-ppc.diff new file mode 100644 index 000000000000..c566311213dd --- /dev/null +++ b/dev-libs/gmp/files/4.2.1/configure-ppc.diff @@ -0,0 +1,58 @@ +Index: configure +=================================================================== +RCS file: /home/cvsfiles/gmp42/configure,v +retrieving revision 1.11 +retrieving revision 1.13 +diff -p -2 -r1.11 -r1.13 +*** configure 4 May 2006 16:25:33 -0000 1.11 +--- configure 12 May 2006 16:00:27 -0000 1.13 +*************** _ACEOF +*** 2963,2969 **** + cc_cflags="-O2" + gcc_cflags="-O2 -mpowerpc" +! gcc_cflags_optlist="precomp subtype cpu" + gcc_cflags_precomp="-no-cpp-precomp" + gcc_cflags_subtype="-force_cpusubtype_ALL" # for vmx on darwin + + # grab this object, though it's not a true cycle counter routine +--- 2963,2971 ---- + cc_cflags="-O2" + gcc_cflags="-O2 -mpowerpc" +! gcc_cflags_optlist="precomp subtype asm cpu" + gcc_cflags_precomp="-no-cpp-precomp" + gcc_cflags_subtype="-force_cpusubtype_ALL" # for vmx on darwin ++ gcc_cflags_asm="" ++ gcc_cflags_cpu="" + + # grab this object, though it's not a true cycle counter routine +*************** _ACEOF +*** 2976,2980 **** + powerpc7400) + path="powerpc32/vmx powerpc32/750 powerpc32" ;; +! powerpc745?) + path="powerpc32/vmx powerpc32 powerpc32" ;; + *) +--- 2978,2982 ---- + powerpc7400) + path="powerpc32/vmx powerpc32/750 powerpc32" ;; +! powerpc74[45]?) + path="powerpc32/vmx powerpc32 powerpc32" ;; + *) +*************** _ACEOF +*** 3010,3015 **** + powerpc740) gcc_cflags_cpu="-mcpu=740" ;; + powerpc7400 | powerpc7410) + gcc_cflags_cpu="-mcpu=7400 -mcpu=750" ;; +! powerpc745?) gcc_cflags_cpu="-mcpu=7450" ;; + powerpc750) gcc_cflags_cpu="-mcpu=750" ;; + powerpc801) gcc_cflags_cpu="-mcpu=801" ;; +--- 3012,3020 ---- + powerpc740) gcc_cflags_cpu="-mcpu=740" ;; + powerpc7400 | powerpc7410) ++ gcc_cflags_asm="-Wa,-maltivec" + gcc_cflags_cpu="-mcpu=7400 -mcpu=750" ;; +! powerpc74[45]?) +! gcc_cflags_asm="-Wa,-maltivec" +! gcc_cflags_cpu="-mcpu=7450" ;; + powerpc750) gcc_cflags_cpu="-mcpu=750" ;; + powerpc801) gcc_cflags_cpu="-mcpu=801" ;; diff --git a/dev-libs/gmp/files/4.2.1/ia64-popcount.diff b/dev-libs/gmp/files/4.2.1/ia64-popcount.diff new file mode 100644 index 000000000000..dbbce20f6bec --- /dev/null +++ b/dev-libs/gmp/files/4.2.1/ia64-popcount.diff @@ -0,0 +1,38 @@ +Index: mpn/ia64/popcount.asm +=================================================================== +RCS file: /home/cvsfiles/gmp42/mpn/ia64/popcount.asm,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -p -2 -r1.2 -r1.3 +*** mpn/ia64/popcount.asm 20 Mar 2006 14:00:18 -0000 1.2 +--- mpn/ia64/popcount.asm 19 May 2006 22:24:32 -0000 1.3 +*************** dnl to write mpn_hamdist with the same +*** 26,29 **** +--- 26,33 ---- + include(`../config.m4') + ++ define(ABI32, ++ m4_assert_onearg() ++ `ifdef(`HAVE_ABI_32',`$1')') ++ + C INPUT PARAMETERS + C sp = r32 +*************** PROLOGUE(mpn_popcount) +*** 34,39 **** + .prologue + .save ar.lc, r2 +! mov r2 = ar.lc + .body + and r22 = 3, r33 + shr.u r23 = r33, 2 ;; +--- 38,47 ---- + .prologue + .save ar.lc, r2 +! ABI32(` addp4 r32 = 0, r32') C M src extend +! mov r2 = ar.lc C I0 +! ABI32(` zxt4 r33 = r33') C I1 size extend +! ;; + .body ++ + and r22 = 3, r33 + shr.u r23 = r33, 2 ;; diff --git a/dev-libs/gmp/files/4.2.1/x86-fat.diff b/dev-libs/gmp/files/4.2.1/x86-fat.diff new file mode 100644 index 000000000000..5b19e6cba4b7 --- /dev/null +++ b/dev-libs/gmp/files/4.2.1/x86-fat.diff @@ -0,0 +1,137 @@ +Index: mpn/generic/addsub_n.c +=================================================================== +RCS file: /home/cvsfiles/gmp42/mpn/generic/addsub_n.c,v +retrieving revision 1.1 +retrieving revision 1.2 +diff -p -2 -r1.1 -r1.2 +*** mpn/generic/addsub_n.c 14 Mar 2006 15:57:54 -0000 1.1 +--- mpn/generic/addsub_n.c 15 May 2006 22:38:42 -0000 1.2 +*************** +*** 1,5 **** + /* mpn_addsub_n -- Add and Subtract two limb vectors of equal, non-zero length. + +! Copyright 1999, 2000, 2001 Free Software Foundation, Inc. + + This file is part of the GNU MP Library. +--- 1,5 ---- + /* mpn_addsub_n -- Add and Subtract two limb vectors of equal, non-zero length. + +! Copyright 1999, 2000, 2001, 2006 Free Software Foundation, Inc. + + This file is part of the GNU MP Library. +*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp +*** 59,63 **** + { + this_n = MIN (n - off, PART_SIZE); +! #if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n + acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo); + #else +--- 59,63 ---- + { + this_n = MIN (n - off, PART_SIZE); +! #if HAVE_NATIVE_mpn_add_nc + acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo); + #else +*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp +*** 65,69 **** + acyo = acyn + mpn_add_1 (r1p + off, r1p + off, this_n, acyo); + #endif +! #if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n + scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo); + #else +--- 65,69 ---- + acyo = acyn + mpn_add_1 (r1p + off, r1p + off, this_n, acyo); + #endif +! #if HAVE_NATIVE_mpn_sub_nc + scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo); + #else +*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp +*** 82,86 **** + { + this_n = MIN (n - off, PART_SIZE); +! #if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n + scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo); + #else +--- 82,86 ---- + { + this_n = MIN (n - off, PART_SIZE); +! #if HAVE_NATIVE_mpn_sub_nc + scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo); + #else +*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp +*** 88,92 **** + scyo = scyn + mpn_sub_1 (r2p + off, r2p + off, this_n, scyo); + #endif +! #if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n + acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo); + #else +--- 88,92 ---- + scyo = scyn + mpn_sub_1 (r2p + off, r2p + off, this_n, scyo); + #endif +! #if HAVE_NATIVE_mpn_add_nc + acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo); + #else +*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp +*** 98,102 **** + else + { +! /* r1 and r2 are identical to s1 and s2 (r1==s1 and r2=s2 or vice versa) + Need temporary storage. */ + mp_limb_t tp[PART_SIZE]; +--- 98,102 ---- + else + { +! /* r1 and r2 are identical to s1 and s2 (r1==s1 and r2==s2 or vice versa) + Need temporary storage. */ + mp_limb_t tp[PART_SIZE]; +*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp +*** 106,110 **** + { + this_n = MIN (n - off, PART_SIZE); +! #if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n + acyo = mpn_add_nc (tp, s1p + off, s2p + off, this_n, acyo); + #else +--- 106,110 ---- + { + this_n = MIN (n - off, PART_SIZE); +! #if HAVE_NATIVE_mpn_add_nc + acyo = mpn_add_nc (tp, s1p + off, s2p + off, this_n, acyo); + #else +*************** mpn_addsub_n (mp_ptr r1p, mp_ptr r2p, mp +*** 112,116 **** + acyo = acyn + mpn_add_1 (tp, tp, this_n, acyo); + #endif +! #if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n + scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo); + #else +--- 112,116 ---- + acyo = acyn + mpn_add_1 (tp, tp, this_n, acyo); + #endif +! #if HAVE_NATIVE_mpn_sub_nc + scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo); + #else +Index: configure +=================================================================== +RCS file: /home/cvsfiles/gmp42/configure,v +retrieving revision 1.13 +retrieving revision 1.14 +diff -p -2 -r1.13 -r1.14 +*** configure 12 May 2006 16:00:27 -0000 1.13 +--- configure 17 May 2006 10:27:28 -0000 1.14 +*************** echo "include_mpn(\`sparc32/sparc-defs.m +*** 3550,3555 **** + esac + +! # If the user asked for a fat build, override the path set above + if test $enable_fat = yes; then + extra_functions="$extra_functions fat fat_entry" + path="x86/fat x86" +--- 3550,3557 ---- + esac + +! # If the user asked for a fat build, override the path and flags set above + if test $enable_fat = yes; then ++ gcc_cflags_cpu="" ++ gcc_cflags_arch="" + extra_functions="$extra_functions fat fat_entry" + path="x86/fat x86" diff --git a/dev-libs/gmp/files/digest-gmp-4.1.4 b/dev-libs/gmp/files/digest-gmp-4.1.4 index 17e746454134..395d063a4570 100644 --- a/dev-libs/gmp/files/digest-gmp-4.1.4 +++ b/dev-libs/gmp/files/digest-gmp-4.1.4 @@ -1 +1,3 @@ MD5 aa5e5fb3a7cdebe8c5b681a6cf4a670e gmp-4.1.4.tar.gz 2201302 +RMD160 858fe33a84f209a8659c6d262a41596f5c7c3c0d gmp-4.1.4.tar.gz 2201302 +SHA256 ce71ebe8ad0e328c7c188803a726b2ddaad9b2ff072cfbaee9c788c733983cb8 gmp-4.1.4.tar.gz 2201302 diff --git a/dev-libs/gmp/files/digest-gmp-4.2.1 b/dev-libs/gmp/files/digest-gmp-4.2.1 new file mode 100644 index 000000000000..dc6f8c7b5df0 --- /dev/null +++ b/dev-libs/gmp/files/digest-gmp-4.2.1 @@ -0,0 +1,6 @@ +MD5 091c56e0e1cca6b09b17b69d47ef18e3 gmp-4.2.1.tar.bz2 1726453 +RMD160 831e02a36ac7b466857f8fafeffad7d51f7656e7 gmp-4.2.1.tar.bz2 1726453 +SHA256 d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941 gmp-4.2.1.tar.bz2 1726453 +MD5 09ab91ee64673cb78af2a02a310fd15b gmp-man-4.2.1.pdf 996792 +RMD160 3f8ea92b95e985d09ed8d5b45952ccf98fbd9dac gmp-man-4.2.1.pdf 996792 +SHA256 3bee6b5285eea339a5ea949cd9db12fe5f676f15beff8ae9cbee0011be24beef gmp-man-4.2.1.pdf 996792 diff --git a/dev-libs/gmp/files/gmp-4.2.1-ABI-multilib.patch b/dev-libs/gmp/files/gmp-4.2.1-ABI-multilib.patch new file mode 100644 index 000000000000..da38a744efe2 --- /dev/null +++ b/dev-libs/gmp/files/gmp-4.2.1-ABI-multilib.patch @@ -0,0 +1,262 @@ +Gentoo uses ABI env var already + +--- gmp-4.2.1/configure ++++ gmp-4.2.1/configure +@@ -489,7 +489,7 @@ + # include + #endif" + +-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT WANT_MPBSD_TRUE WANT_MPBSD_FALSE GMP_NAIL_BITS ABI HAVE_HOST_CPU_FAMILY_power HAVE_HOST_CPU_FAMILY_powerpc GMP_LDFLAGS LIBGMP_LDFLAGS LIBGMPXX_LDFLAGS SPEED_CYCLECOUNTER_OBJ CALLING_CONVENTIONS_OBJS DEFN_LONG_LONG_LIMB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP CC_FOR_BUILD CPP_FOR_BUILD EXEEXT_FOR_BUILD U_FOR_BUILD LIBM_FOR_BUILD CCAS CXX CXXFLAGS ac_ct_CXX WANT_CXX_TRUE WANT_CXX_FALSE CXXCPP EGREP U ANSI2KNR AR ac_ct_AR LIBGMP_DLL LN_S ECHO RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP LIBTOOL ENABLE_STATIC_TRUE ENABLE_STATIC_FALSE LIBM TAL_OBJECT M4 BITS_PER_MP_LIMB mpn_objs_in_libmp mpn_objects mpn_objs_in_libgmp gmp_srclinks TUNE_SQR_OBJ HAVE_CLOCK_01 HAVE_CPUTIME_01 HAVE_GETRUSAGE_01 HAVE_GETTIMEOFDAY_01 HAVE_SIGACTION_01 HAVE_SIGALTSTACK_01 HAVE_SIGSTACK_01 HAVE_SYS_RESOURCE_H_01 HAVE_STACK_T_01 LIBCURSES WITH_READLINE_01 LIBREADLINE YACC LEX LEXLIB LEX_OUTPUT_ROOT LIBOBJS LTLIBOBJS' ++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT WANT_MPBSD_TRUE WANT_MPBSD_FALSE GMP_NAIL_BITS GMPABI HAVE_HOST_CPU_FAMILY_power HAVE_HOST_CPU_FAMILY_powerpc GMP_LDFLAGS LIBGMP_LDFLAGS LIBGMPXX_LDFLAGS SPEED_CYCLECOUNTER_OBJ CALLING_CONVENTIONS_OBJS DEFN_LONG_LONG_LIMB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP CC_FOR_BUILD CPP_FOR_BUILD EXEEXT_FOR_BUILD U_FOR_BUILD LIBM_FOR_BUILD CCAS CXX CXXFLAGS ac_ct_CXX WANT_CXX_TRUE WANT_CXX_FALSE CXXCPP EGREP U ANSI2KNR AR ac_ct_AR LIBGMP_DLL LN_S ECHO RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP LIBTOOL ENABLE_STATIC_TRUE ENABLE_STATIC_FALSE LIBM TAL_OBJECT M4 BITS_PER_MP_LIMB mpn_objs_in_libmp mpn_objects mpn_objs_in_libgmp gmp_srclinks TUNE_SQR_OBJ HAVE_CLOCK_01 HAVE_CPUTIME_01 HAVE_GETRUSAGE_01 HAVE_GETTIMEOFDAY_01 HAVE_SIGACTION_01 HAVE_SIGALTSTACK_01 HAVE_SIGSTACK_01 HAVE_SYS_RESOURCE_H_01 HAVE_STACK_T_01 LIBCURSES WITH_READLINE_01 LIBREADLINE YACC LEX LEXLIB LEX_OUTPUT_ROOT LIBOBJS LTLIBOBJS' + ac_subst_files='' + + # Initialize some variables set by options. +@@ -930,10 +930,10 @@ + ac_env_target_alias_value=$target_alias + ac_cv_env_target_alias_set=${target_alias+set} + ac_cv_env_target_alias_value=$target_alias +-ac_env_ABI_set=${ABI+set} +-ac_env_ABI_value=$ABI +-ac_cv_env_ABI_set=${ABI+set} +-ac_cv_env_ABI_value=$ABI ++ac_env_GMPABI_set=${GMPABI+set} ++ac_env_GMPABI_value=$GMPABI ++ac_cv_env_GMPABI_set=${GMPABI+set} ++ac_cv_env_GMPABI_value=$GMPABI + ac_env_CC_set=${CC+set} + ac_env_CC_value=$CC + ac_cv_env_CC_set=${CC+set} +@@ -1091,7 +1091,7 @@ + include additional configurations [automatic] + + Some influential environment variables: +- ABI desired ABI (for processors supporting more than one ABI) ++ GMPABI desired ABI (for processors supporting more than one ABI) + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a +@@ -2670,7 +2670,7 @@ + # (64-bit), but not both, so there's no option to choose the desired + # mode, we must instead detect which of the two it is. This is done by + # checking sizeof(long), either 4 or 8 bytes respectively. Do this in +- # ABI=1.0 too, in case someone tries to build that with a 2.0w gcc. ++ # GMPABI=1.0 too, in case someone tries to build that with a 2.0w gcc. + # + gcc_cflags="-O2" + gcc_cflags_optlist="arch" +@@ -2694,11 +2694,11 @@ + # gcc 2.7.2.3 knows -mpa-risc-1-0 and -mpa-risc-1-1 + # gcc 2.95 adds -mpa-risc-2-0, plus synonyms -march=1.0, 1.1 and 2.0 + # +- # We don't use -mpa-risc-2-0 in ABI=1.0 because 64-bit registers may not ++ # We don't use -mpa-risc-2-0 in GMPABI=1.0 because 64-bit registers may not + # be saved by the kernel on an old system. Actually gcc (as of 3.2) + # only adds a few float instructions with -mpa-risc-2-0, so it would + # probably be safe, but let's not take the chance. In any case, a +- # configuration like --host=hppa2.0 ABI=1.0 is far from optimal. ++ # configuration like --host=hppa2.0 GMPABI=1.0 is far from optimal. + # + case $host_cpu in + hppa1.0*) gcc_cflags_arch="-mpa-risc-1-0" ;; +@@ -2733,9 +2733,9 @@ + cc_20n_cflags="+DA2.0 +e +O2 -Wl,+vnocompatwarnings" + cc_20n_testlist="hpc-hppa-2-0" + +- # ABI=2.0w is available for hppa2.0w and hppa2.0, but not for ++ # GMPABI=2.0w is available for hppa2.0w and hppa2.0, but not for + # hppa2.0n, on the assumption that that the latter indicates a +- # desire for ABI=2.0n. ++ # desire for GMPABI=2.0n. + case $host in + hppa2.0n-*-*) ;; + *) +@@ -3203,7 +3203,7 @@ + # mode, but not set our ABI. For some reason it's sparc where this + # keeps coming up, presumably users there are accustomed to driving the + # compiler mode that way. The effect of our testlist setting is to +- # reject ABI=64 in favour of ABI=32 if the user has forced the flags to ++ # reject GMPABI=64 in favour of GMPABI=32 if the user has forced the flags to + # 32-bit mode. + # + abilist="32" +@@ -3308,12 +3308,12 @@ + case $host_cpu in + sparc64 | sparcv9* | ultrasparc*) + case $host in +- # Solaris 6 and earlier cannot run ABI=64 since it doesn't save +- # registers properly, so ABI=32 is left as the only choice. ++ # Solaris 6 and earlier cannot run GMPABI=64 since it doesn't save ++ # registers properly, so GMPABI=32 is left as the only choice. + # + *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;; + +- # BSD sparc64 ports are 64-bit-only systems, so ABI=64 is the only ++ # BSD sparc64 ports are 64-bit-only systems, so GMPABI=64 is the only + # choice. In fact they need no special compiler flags, gcc -m64 + # is the default, but it doesn't hurt to add it. v9 CPUs always + # use the sparc64 port, since the plain 32-bit sparc ports don't +@@ -3399,7 +3399,7 @@ + # -O, but lets assume that's no longer true. + # + # -m32 forces 32-bit mode on a bi-arch 32/64 amd64 build of gcc. -m64 is +- # the default in such a build (we think), so -m32 is essential for ABI=32. ++ # the default in such a build (we think), so -m32 is essential for GMPABI=32. + # This is, of course, done for any $host_cpu, not just x86_64, so we can + # get such a gcc into the right mode to cross-compile to say i486-*-*. + # +@@ -3639,7 +3639,7 @@ + + cat >&5 <&5 +-echo "$as_me: error: ABI=$ABI is not among the following valid choices: $abilist" >&2;} ++ { { echo "$as_me:$LINENO: error: GMPABI=$GMPABI is not among the following valid choices: $abilist" >&5 ++echo "$as_me: error: GMPABI=$GMPABI is not among the following valid choices: $abilist" >&2;} + { (exit 1); exit 1; }; } + fi +- abilist="$ABI" ++ abilist="$GMPABI" + fi + + found_compiler=no + + for abi in $abilist; do + +- echo "checking ABI=$abi" ++ echo "checking GMPABI=$abi" + + # Suppose abilist="64 32", then for abi=64, will have abi1="_64" and + # abi2="_64". For abi=32, will have abi1="_32" and abi2="". This is how +@@ -5128,7 +5128,7 @@ + # For -march settings which enable SSE2 we exclude certain bad + # gcc versions and we need an OS knowing how to save xmm regs. + # +- # This is only for ABI=32, any 64-bit gcc is good and any OS ++ # This is only for GMPABI=32, any 64-bit gcc is good and any OS + # knowing x86_64 will know xmm. + # + # -march=k8 was only introduced in gcc 3.3, so we shouldn't need +@@ -6368,16 +6368,16 @@ + done + fi + +- ABI="$abi" ++ GMPABI="$abi" + CC="$cc" + CFLAGS="$cflags" + CPPFLAGS="$cppflags" + + + # Could easily have this in config.h too, if desired. +- ABI_nodots=`echo $ABI | sed 's/\./_/'` ++ GMPABI_nodots=`echo $GMPABI | sed 's/\./_/'` + +-echo "define_not_for_expansion(\`HAVE_ABI_$ABI_nodots')" >> $gmp_tmpconfigm4p ++echo "define_not_for_expansion(\`HAVE_ABI_$GMPABI_nodots')" >> $gmp_tmpconfigm4p + + + +@@ -8830,12 +8830,12 @@ + # If there's any sse2 or mmx in the path, check whether the assembler + # supports it, and remove if not. + # +-# We only need this in ABI=32, for ABI=64 on x86_64 we can assume a new ++# We only need this in GMPABI=32, for GMPABI=64 on x86_64 we can assume a new + # enough assembler. + # + case $host in + i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-* | viac3*-*-* | x86_64-*-*) +- if test "$ABI" = 32; then ++ if test "$GMPABI" = 32; then + case "$path $fat_path" in + *mmx*) echo "$as_me:$LINENO: checking if the assembler knows about MMX instructions" >&5 + echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" >&6 +@@ -9019,7 +9019,7 @@ + + cat >&5 <> $gmp_tmpconfigm4i + ;; +@@ -30015,7 +30015,7 @@ + esac + ;; + *-*-linux* | *-*-*bsd*) +- case $ABI in ++ case $GMPABI in + mode64) + echo "include_mpn(\`powerpc64/elf.m4')" >> $gmp_tmpconfigm4i + ;; +@@ -30025,7 +30025,7 @@ + esac + ;; + *-*-darwin*) +- case $ABI in ++ case $GMPABI in + mode64) + echo "include_mpn(\`powerpc64/darwin.m4')" >> $gmp_tmpconfigm4i + ;; +@@ -30048,7 +30048,7 @@ + + ;; + sparcv9*-*-* | ultrasparc*-*-* | sparc64-*-*) +- case $ABI in ++ case $GMPABI in + 64) + + echo "$as_me:$LINENO: checking if the assembler accepts \".register\"" >&5 +@@ -30130,7 +30130,7 @@ + echo "define(,<$gmp_cv_asm_align_fill_0x90>)" >> $gmp_tmpconfigm4 + + +- case $ABI in ++ case $GMPABI in + 32) + + echo "include_mpn(\`x86/x86-defs.m4')" >> $gmp_tmpconfigm4i +@@ -34032,7 +34032,7 @@ + s,@WANT_MPBSD_TRUE@,$WANT_MPBSD_TRUE,;t t + s,@WANT_MPBSD_FALSE@,$WANT_MPBSD_FALSE,;t t + s,@GMP_NAIL_BITS@,$GMP_NAIL_BITS,;t t +-s,@ABI@,$ABI,;t t ++s,@GMPABI@,$GMPABI,;t t + s,@HAVE_HOST_CPU_FAMILY_power@,$HAVE_HOST_CPU_FAMILY_power,;t t + s,@HAVE_HOST_CPU_FAMILY_powerpc@,$HAVE_HOST_CPU_FAMILY_powerpc,;t t + s,@GMP_LDFLAGS@,$GMP_LDFLAGS,;t t diff --git a/dev-libs/gmp/gmp-4.2.1.ebuild b/dev-libs/gmp/gmp-4.2.1.ebuild new file mode 100644 index 000000000000..14f3868a83ef --- /dev/null +++ b/dev-libs/gmp/gmp-4.2.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.2.1.ebuild,v 1.1 2006/06/18 06:35:03 vapier Exp $ + +inherit flag-o-matic eutils libtool + +DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers" +HOMEPAGE="http://www.swox.com/gmp/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 + doc? ( http://www.swox.se/${PN}/${PN}-man-${PV}.pdf )" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc nocxx" + +RDEPEND="" +DEPEND="" + +src_unpack () { + unpack ${A} + cd "${S}" + local p + for p in x86-fat configure-ppc aix.m4-RW ia64-popcount ; do + epatch "${FILESDIR}"/${PV}/${p}.diff + done + epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch + epatch "${FILESDIR}"/${P}-ABI-multilib.patch + + # note: we cannot run autotools here as gcc depends on this package + elibtoolize +} + +src_compile() { + filter-flags -ffast-math + + # GMP believes hppa2.0 is 64bit + if [[ ${CHOST} == hppa2.0-* ]] ; then + is_hppa_2_0=1 + export CHOST="${CHOST/2.0/1.1}" + fi + + econf \ + --localstatedir=/var/state/gmp \ + --disable-mpfr \ + --disable-mpbsd \ + $(use_enable !nocxx cxx) \ + || die "configure failed" + + # Fix the ABI for hppa2.0 + if [ ! -z "${is_hppa_2_0}" ]; then + sed -i "${S}/config.h" -e 's:pa32/hppa1_1:pa32/hppa2_0:' + export CHOST="${CHOST/1.1/2.0}" + fi + + + emake || die "emake failed" +} + +src_install() { + make 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}/ +} -- 2.26.2