diff options
author | 2018-01-04 00:27:37 +0000 | |
---|---|---|
committer | 2018-01-04 00:27:37 +0000 | |
commit | da98fd46ade04de28a2aba9aa7a5e87503c03bc0 (patch) | |
tree | d40dd168b327d9b7d254a14c089f0fa77e01364a /dev-libs | |
parent | Add net-misc/unifi-controller-bin-5.6.19, net-misc/unifi-controller-bin-5.6.2... (diff) | |
download | srcshelton-da98fd46ade04de28a2aba9aa7a5e87503c03bc0.tar.gz srcshelton-da98fd46ade04de28a2aba9aa7a5e87503c03bc0.tar.bz2 srcshelton-da98fd46ade04de28a2aba9aa7a5e87503c03bc0.zip |
Update dev-libs/gmp-6.1.2
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gmp/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch | 21 | ||||
-rw-r--r-- | dev-libs/gmp/gmp-6.1.2.ebuild | 7 |
3 files changed, 29 insertions, 2 deletions
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest index 02025e11..bec1b8bc 100644 --- a/dev-libs/gmp/Manifest +++ b/dev-libs/gmp/Manifest @@ -4,6 +4,7 @@ AUX gmp-6.0.0-gcc-inline-fix.patch 979 SHA256 a70b95e9829b060a2bf821fc3ba1a70d0a AUX gmp-6.1.0-noexecstack-detect.patch 970 SHA256 abc8b606f932713651c77c86eea960a75b38b2b2529afdf7930b75bc3a606f58 SHA512 29af921eed5dbd2d506bc1acdc0eacb8b7f5e7f575fd62038f00a910242bf622980a4197dae18daf5915963c3407ca7eb5bdcb9760f958794348b449fc54e042 WHIRLPOOL cac8273dc08619ef1e79c0a7256a965e24fdc7392a83dc02a9dd16816d9f7ea1a583c52df1a79b9faefc3778260bda6296296547c4f62280a3c4545cc31852c2 AUX gmp-6.1.0-tune-printf.patch 1339 SHA256 927e5390baf4d656d9ce5c706410d0d7109c1e82acc2a5c7ad79f0df180f6339 SHA512 da9dc4f6c63d5cc4b80899acacb23d7060b6042aa26dd80f5d5d73768a129360cb75efd6d2695c22958800776ba336b4c4bedd0839d4621ac3cea7ce0047ea07 WHIRLPOOL 4e301524a551757ef6b2764e8d4fb0498e3736a6c92304266927aa6d810254c06a4e6c02de8d36bdc207850ebb995622159abe051d8608485aaf3c5d038e07c0 AUX gmp-6.1.0-udiv.patch 1737 SHA256 81dbc4b3d93f726dca8c2bbed9157a540ddaede1967e654119b869a327a8233b SHA512 977966e5b3c21550c6bb148b3f0717e7a6cd86cfb0211a8ea1275c4b9368aa3275c9d71a5d4146da0ddd131570745e5037872c918f0b267c424e729227be432a WHIRLPOOL 78445f95bd6c03310dea43e5eab37c6c4aef3129fd29d692d716377bc5626fa07760e12ffb201ad345d69fcbc883705ab74fdb4a08bba9a1db2c0dc85dfaceb1 +AUX gmp-6.1.2-gcc-apple-4.0.1.patch 979 SHA256 a70b95e9829b060a2bf821fc3ba1a70d0aa45c201953a3ca9ff0da30685c0336 SHA512 d1d9898c1978dcdc41dce95d2fc9e23f2ccb0615d02ca453045ece04e9bfd45aa9194774e1e3ea4efe7b40c8f2179233dbecbaa748e7c40d4f31f3adc78d878e WHIRLPOOL ff0243bd7cef672ebc9a7a6699f6434ad675312caa920de0c6b3d3694a902ff14dd20263e37051839b48ce4f87a50eaf471d66f5085a68eed976673f4c6b2905 DIST gmp-6.0.0a.tar.xz 1904112 SHA256 9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764 SHA512 50368f4368b244b442438ce1768cf0f1166e490d1bafb8feda1ffc90fea3807e7328f30f3faa861799e4f5ff6e3113049ca3231b2f48571e4583fc3d60441816 WHIRLPOOL 81639a9d433ce9ccb26527af309c7c41437bb3463e5986cce3b35f81b527068a2304ec3287e660454f850dedab61463a077f49d4ea2b7ee87eec94b15730c394 DIST gmp-6.1.0.tar.xz 1950316 SHA256 68dadacce515b0f8a54f510edf07c1b636492bcdb8e8d54c56eb216225d16989 SHA512 3647f07914e6c01b28d94f2d9783e50b0ca9f742a694f56d5759e79a057143ded578b71707ff909c6b0f5710862974606461608e73b33af3114b5338670d8630 WHIRLPOOL 54de621aa9d7c6896fe454e399b8716743d7ac41e312180f8211c961ec8eb358423e75992aa22ee6809ae57cb143783d271e5c0fca61714a556a12ee55882a05 DIST gmp-6.1.2.tar.xz 1946336 SHA256 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912 SHA512 9f098281c0593b76ee174b722936952671fab1dae353ce3ed436a31fe2bc9d542eca752353f6645b7077c1f395ab4fdd355c58e08e2a801368f1375690eee2c6 WHIRLPOOL 1f4be0fcb5868cc5e3f5e699e51da0d52cdb131906468f5401a40ae145dad2d48935b87330b786fff2a2f593d6f39542c4d5fb7bef5922817ae61ff57870951d @@ -12,4 +13,4 @@ DIST gmp-man-6.1.0.pdf 825716 SHA256 c3fea59f39497839b48010e612d0ef898c3efea9c06 DIST gmp-man-6.1.2.pdf 825720 SHA256 f78f18ac0b0e56920920af0209415a4b371b7b101ceaa03739a31bfe3c2888f8 SHA512 85de10b2c03f7381881c3e95aa7fc53d8e018115028496ffbb5a79ab4967106c69ed7e97a5e434e6bb39752498aade8c2caa7cf77a8942b7ffd9150368a0d9c3 WHIRLPOOL d952544d178c7d970ec3c1b080191603326a2c77523c27f03f80bc03b9a8910a0093c3f6990640aa596d45adb8fa34a7ef3c9c35abf60945c43c533499052ce0 EBUILD gmp-6.0.0a.ebuild 3142 SHA256 1551e0515527a52a59f9381f91e4b2b61359842627ffbae1da29401c18d53059 SHA512 c5095315dd5c9f38d7be43eb07153560db9c135d0c5ffd5c6127599242bfdf42567724a26c6415999638e9f58eb23bfda15bf7e5f2e18f52e998ca7fb2b94347 WHIRLPOOL 3a4d4ae08e50f4be4bf7c85bdc48ad82084f0cb4251eb5db30165ea8e0648c2ba5835e88b72f1110cae9cfa1036f1cdb363a7c9097fbed3e316a0a27094ca4c7 EBUILD gmp-6.1.0.ebuild 3313 SHA256 41415686150e09bac7b8080005d74ea5084952ed7f51d650ad00d49cb85559fa SHA512 58576ec5a0548f6601083eb1802909affb051506f38fb1fb5bba1de3b28038f4e20f4bfd2083a9c4a52b637a6bee8e3472ec5e3a67534dd995cea0650d97a4fe WHIRLPOOL d8b3b08a9e1120a5a9f1e9b234cc69b0a7fdf590bbc8c40f7a3d71a77573b669d8dae7d742d2d120038e91610c8035f336f13c7a56cb252b7161b90f53e16df4 -EBUILD gmp-6.1.2.ebuild 3313 SHA256 2c7f3a809942282bc8647bd520bf417a38986f36b6f2dbba7bfd9d0c130f3f96 SHA512 aae814c1f00313ebfeec82ebeb05e13512690b0edfe79cee207d89c5aaf5dbd479821845d587c77fd8ad1ac72b6ff3f4fc07189f3c4d34b944c2a763be8e6a66 WHIRLPOOL 5dd3da4e5d8da50ef750d855d645e16e2fe898558b861c2be4ebb83fdb35f3a42e502b72e228071aca1d4cf32c582010b30b6a06fb8abb668c7b10af9e3e0a17 +EBUILD gmp-6.1.2.ebuild 3448 SHA256 838ecbbe727c3e8eca57cee0d5ace9c8249455529f5ebe3cfbf245c4009d8d06 SHA512 e0be3d9179c4d802d96c0002d1eacffaf6faa593710264a5707c3bd80b73586da78d8928f81a4da4a2f6886423cb5bd5ae67d272a051c35089a6b98a4e3252ab WHIRLPOOL acfb265728dc59817f9f273c2ac585eab2ec97308802235c4c0ffda01c4f8fbd22a2f5fd69802ed2d50e27c6b70d1caf67a9ab8d6698b088d08818e0444ff0d1 diff --git a/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch b/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch new file mode 100644 index 00000000..8960464a --- /dev/null +++ b/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch @@ -0,0 +1,21 @@ +--- gmp-6.0.0/gmp-h.in.orig 2015-01-16 22:25:51.000000000 +0100 ++++ gmp-6.0.0/gmp-h.in 2015-01-16 22:26:40.000000000 +0100 +@@ -360,14 +360,14 @@ + GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 + inline semantics, unless -fgnu89-inline is used. */ + #ifdef __GNUC__ +-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \ +- || (defined __GNUC_GNU_INLINE__ && defined __cplusplus) ++#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) + #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__)) +-#else ++#define __GMP_INLINE_PROTOTYPES 1 ++#elif !(defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && __STDC_VERSION__ >= 199901L) + #define __GMP_EXTERN_INLINE extern __inline__ +-#endif + #define __GMP_INLINE_PROTOTYPES 1 + #endif ++#endif + + /* DEC C (eg. version 5.9) supports "static __inline foo()", even in -std1 + strict ANSI mode. Inlining is done even when not optimizing (ie. -O0 diff --git a/dev-libs/gmp/gmp-6.1.2.ebuild b/dev-libs/gmp/gmp-6.1.2.ebuild index 98513e89..49b0f29b 100644 --- a/dev-libs/gmp/gmp-6.1.2.ebuild +++ b/dev-libs/gmp/gmp-6.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -39,6 +39,11 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-6.1.0-noexecstack-detect.patch + # https://bugs.gentoo.org/536894 + if [[ ${CHOST} == *-darwin* ]] ; then + epatch "${FILESDIR}"/${PN}-6.1.2-gcc-apple-4.0.1.patch + fi + # 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 |