diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-10 21:21:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-10 21:21:18 +0000 |
commit | b118032096b3380de251b5de2466f5198fd2930a (patch) | |
tree | 992376912dd2522e0078f8350735c14bd0b77149 /dev-libs/mpc | |
parent | 177349fb1459039cc30cb8e3936af4117d038c16 (diff) |
gentoo auto-resync : 10:12:2022 - 21:21:18
Diffstat (limited to 'dev-libs/mpc')
-rw-r--r-- | dev-libs/mpc/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/mpc/files/mpc-1.3.0-header.patch | 31 | ||||
-rw-r--r-- | dev-libs/mpc/mpc-1.3.0-r1.ebuild (renamed from dev-libs/mpc/mpc-1.3.0.ebuild) | 4 |
3 files changed, 37 insertions, 1 deletions
diff --git a/dev-libs/mpc/Manifest b/dev-libs/mpc/Manifest index feb840256345..13092de146b1 100644 --- a/dev-libs/mpc/Manifest +++ b/dev-libs/mpc/Manifest @@ -1,5 +1,6 @@ +AUX mpc-1.3.0-header.patch 1337 BLAKE2B 4a4f5b73bac8432f3f350961c6b1be53da097b45c82c8709cf4d13ba74bdac88468cc59208dc68bb0369d31434e691a546849caf7e30ed9eda92dda33a93bd2c SHA512 acefc37e97ae5bac38f71040d55a67ea352956efcd0b60ef2be1bb5e82cfecee0338b21ace185ef046280d3f1481a17ff22f665b4d7070725870036ed3773571 DIST mpc-1.2.1.tar.gz 838731 BLAKE2B 9cd03c6a71839e4cdb3c1f18d718cc4d3097c3f8ec307a5c756bd5df27c68aa013755156b3b156efee1acabfee2269602c6a3a358092ef0d522271c9c56c133d SHA512 3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee DIST mpc-1.3.0.tar.gz 773441 BLAKE2B b9e2f4cda2457b1e885e4099daaf55a4c226291ec60097e40835f6e311c297947fe5cfd6ce61f80eecfbc8d374923422c4050a10399b26b23c12ab0f3f53a0f5 SHA512 9c18b24f7542dc1dc5e10cf58fd242e73d79a9dc3619c3f08d52aed75ad0e7d9e2ba2c46857717c8b921b084af2efc8c0d2d7173081af764b81c24a8971ddd9a EBUILD mpc-1.2.1.ebuild 939 BLAKE2B 7af59b1cc4ede3496d708bf774dba385dd88ae88d1935f51b342f93f7cd02686687176f6a5723c73fbcbbc945b8ec07bf38b43ab94082c9fca41a62b01e9901c SHA512 59e817cb235cce2ada39eb88c9856e329325833e898ca6e5a779c7cebb4b1b9ba0d9ad374e39667b9056ee665768651c493db4c3c2e902ec176a59384828f211 -EBUILD mpc-1.3.0.ebuild 1083 BLAKE2B a00bf2001c3a52e9bdbe05acd38bfdb53ba83454d76757d9356e2cf1a196e424c01873dad8a5e5334cfccfebf83d6325c64acbd32cee88f2d09c6b59923c82c2 SHA512 d38cd71469e45a15608cba00d9268770da61b373f573f6b2c9b9f58d163984f3cdec82eb5f7ba9d25f29eda9855c8fa8fc47c1b726a59122093fdb25d65c2863 +EBUILD mpc-1.3.0-r1.ebuild 1129 BLAKE2B 817e68734b909077924852d44632fa255e8d546ba1a1c95cf55da70b0dde0d6950d42aa87d55f3350fee42b4a53d8d7e149f05182b38e79e487e9946065ae758 SHA512 e527a06a709da2e1ca817b614646f7040e0a3684712bafec63ea45653dd5a4bc70830d5a4b21b323a604f04a6c978848505a46b3e5f94db18fe181153736d7c8 MISC metadata.xml 262 BLAKE2B fe330d67755784d14f5c5d664d7127d3cdb9edfab55b907ae3632f434d86323604f5095e1c1a9fbd169ae7a4cbb38f359e55f75047531786247c0674a4a53715 SHA512 3bcaca4e730edeed06fed73e79a5ce0a3358174672735ea4b27240c6c421ac9c33bc2b63a31e596fe1bbb6b1816c16cbc7ef4f258ca906ba04ea7db4aedc86b9 diff --git a/dev-libs/mpc/files/mpc-1.3.0-header.patch b/dev-libs/mpc/files/mpc-1.3.0-header.patch new file mode 100644 index 000000000000..80f1d113f90c --- /dev/null +++ b/dev-libs/mpc/files/mpc-1.3.0-header.patch @@ -0,0 +1,31 @@ +https://gitlab.inria.fr/mpc/mpc/-/commit/e944aa454e60cbff8ab4e8c70dd974083398378f +https://sympa.inria.fr/sympa/arc/mpc-discuss/2022-12/msg00034.html + +From e944aa454e60cbff8ab4e8c70dd974083398378f Mon Sep 17 00:00:00 2001 +From: Paul Zimmermann <Paul.Zimmermann@inria.fr> +Date: Sat, 10 Dec 2022 08:47:51 +0100 +Subject: [PATCH] functions with FILE arguments should be defined only when + stdio.h is included + +--- a/src/mpc.h ++++ b/src/mpc.h +@@ -270,6 +270,7 @@ __MPC_DECLSPEC long double _Complex mpc_get_ldc (mpc_srcptr, mpc_rnd_t); + __MPC_DECLSPEC int mpc_inp_str (mpc_ptr, FILE *, size_t *, int, mpc_rnd_t); + __MPC_DECLSPEC size_t mpc_out_str (FILE *, int, size_t, mpc_srcptr, mpc_rnd_t); + __MPC_DECLSPEC void mpcb_out_str (FILE *f, mpcb_srcptr); ++__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r); + #endif + + __MPC_DECLSPEC int mpcr_inf_p (mpcr_srcptr r); +@@ -284,7 +285,6 @@ __MPC_DECLSPEC void mpcr_set_ui64_2si64 (mpcr_ptr r, uint64_t mant, + int64_t exp); + __MPC_DECLSPEC void mpcr_max (mpcr_ptr r, mpcr_srcptr s, mpcr_srcptr t); + __MPC_DECLSPEC int64_t mpcr_get_exp (mpcr_srcptr r); +-__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r); + __MPC_DECLSPEC void mpcr_mul (mpcr_ptr r, mpcr_srcptr s, mpcr_srcptr t); + __MPC_DECLSPEC void mpcr_mul_2ui (mpcr_ptr r, mpcr_srcptr s, + unsigned long int e); +-- +GitLab + + diff --git a/dev-libs/mpc/mpc-1.3.0.ebuild b/dev-libs/mpc/mpc-1.3.0-r1.ebuild index aa330fda2d8a..58311b7a2ead 100644 --- a/dev-libs/mpc/mpc-1.3.0.ebuild +++ b/dev-libs/mpc/mpc-1.3.0-r1.ebuild @@ -27,6 +27,10 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-header.patch +) + multilib_src_configure() { ECONF_SOURCE="${S}" econf $(use_enable static-libs static) } |