diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-25 13:34:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-25 13:34:50 +0000 |
commit | 479921825a5c44a5fbcd5441f00ee98e54db9bac (patch) | |
tree | a40800c43ce47a1158369633f7d432b2bd365743 /sci-libs/symengine | |
parent | fa5cba104ab90ce81be0cb7e9992447a10e76013 (diff) |
gentoo auto-resync : 25:12:2023 - 13:34:50
Diffstat (limited to 'sci-libs/symengine')
-rw-r--r-- | sci-libs/symengine/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/symengine/files/symengine-0.11.1-flint-3.patch | 41 | ||||
-rw-r--r-- | sci-libs/symengine/symengine-0.11.1.ebuild | 2 |
3 files changed, 45 insertions, 1 deletions
diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest index 8afc72243308..470aab1a7c8d 100644 --- a/sci-libs/symengine/Manifest +++ b/sci-libs/symengine/Manifest @@ -1,5 +1,6 @@ +AUX symengine-0.11.1-flint-3.patch 1191 BLAKE2B 123ac0c424b0bb1c7ecbf4c35acc33940847819ed2e85b219b27d11ec9d9d5cedd14a607d09e9632071c7c51519422d22e6b6033f9d1aa914a83a27aa08f51d2 SHA512 3cc522648bfcb7f6c497bbc4adaf50050e98e04ecf4636c12686329454580242a0c8a8884f0807613251f59c199a2e8ab1a1502af4424ea1ef1c4140b023801d AUX symengine-0.7.0-cmake-build-type.patch 1234 BLAKE2B b416e9b83db5eb6689bb9e18682d8f36f6ec13a4fe368004d2c3f961945cb0d1ec94081cb2c99bb16656439214cfd127a21cad2844a4752cd5c2fa6f40f3a3dc SHA512 d5e09a9603fab4caa9d9b091a0636be5ab8eddea6cb5b37b184ff7a65ac9707536f1a71e1893e0b5f795efb33396ae653d2745487aa863f7a239c63e42d22032 AUX symengine-0.8.1-fix_llvm.patch 2674 BLAKE2B f7d493318389f63a8b61f47ee2ba6429d205e91fec3f94a5c45a062622fa7b6c29ab410fb04a260d98f983402e4e74103ca591ea3aa035c68bd4e431dfde371f SHA512 683e9acac3f6304e2ac1d2c67304d1e6a2fc6915115a201a870e29253c804e378b39d8d00298a70ac5a4e1456a153febe69d63cfbab821b31cda46fc94782131 DIST symengine-0.11.1.tar.gz 898181 BLAKE2B ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571 SHA512 076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac -EBUILD symengine-0.11.1.ebuild 2619 BLAKE2B fc7276c529dba676b9b1a7f5decb41d4237fc4f937337811b592bbeb1a45309126b83f45e696954f51d079be22d9b16aa7acabca3345c74803a7150313c4faed SHA512 8c8a7d89c7ee234cf483eab58cfd64e514ecef49695510d1945f5e83ec0413feb37d291fc21966e08438276168818ee15ef9d5bab1904db656f3cfbe640ae577 +EBUILD symengine-0.11.1.ebuild 2713 BLAKE2B 8f064bc327537721a0c6ef992360c01d46c6c0cb57ce2ef58179ce15a36e400e36ef904d548cb017ab8b8c339cc9cf78e26c459846d747da1b8612c5d1cfe104 SHA512 5e987568b5e92afc9016e75c7832977335205f42ddc3748d4f6e4a3b7a4e6f15cb10d0c65e72fd4ca85f8e4137007093d165b9cb3df4a21a89c6370ffbe3d2cf MISC metadata.xml 1270 BLAKE2B e52ff12980457252a05195ef47bd90e52816794948169473a597e263d744d163cbe42d35e995243daf6b8664f1ed7d41879b63927606187277cdf503fc7bf846 SHA512 4fd6f340d1d4952774eb0fcd47d9ed6e9f145bd83ba7bd04fe428faa96ec63b6cd62173b6ead116a649471fe9b6466be7bbb48c8e534b3203f232f9a7bae12b9 diff --git a/sci-libs/symengine/files/symengine-0.11.1-flint-3.patch b/sci-libs/symengine/files/symengine-0.11.1-flint-3.patch new file mode 100644 index 000000000000..662a4bc1bdc1 --- /dev/null +++ b/sci-libs/symengine/files/symengine-0.11.1-flint-3.patch @@ -0,0 +1,41 @@ +From 1ef98559d75b4fa5b87dad2daff0d12e7857ac8d Mon Sep 17 00:00:00 2001 +From: Isuru Fernando <isuruf@gmail.com> +Date: Mon, 30 Oct 2023 20:25:05 -0500 +Subject: [PATCH] Fix flint headers and replace use of deprecated funcs in + flint2/3 + +--- + symengine/flint_wrapper.h | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/symengine/flint_wrapper.h b/symengine/flint_wrapper.h +index 21cfcef056..ade419088f 100644 +--- a/symengine/flint_wrapper.h ++++ b/symengine/flint_wrapper.h +@@ -6,6 +6,8 @@ + + #include <flint/fmpz.h> + #include <flint/fmpq.h> ++#include <flint/fmpz_poly.h> ++#include <flint/fmpz_poly_factor.h> + #include <flint/fmpq_poly.h> + + namespace SymEngine +@@ -710,13 +712,15 @@ class fmpq_poly_wrapper + } + fmpq_poly_wrapper(const mpz_t z) + { ++ fmpz_wrapper fz(z); + fmpq_poly_init(poly); +- fmpq_poly_set_mpz(poly, z); ++ fmpq_poly_set_fmpz(poly, fz.get_fmpz_t()); + } + fmpq_poly_wrapper(const mpq_t q) + { ++ fmpq_wrapper fq(q); + fmpq_poly_init(poly); +- fmpq_poly_set_mpq(poly, q); ++ fmpq_poly_set_fmpq(poly, fq.get_fmpq_t()); + } + fmpq_poly_wrapper(const fmpq_wrapper &q) + { diff --git a/sci-libs/symengine/symengine-0.11.1.ebuild b/sci-libs/symengine/symengine-0.11.1.ebuild index eb06f3cc27bf..63bf4d2833ef 100644 --- a/sci-libs/symengine/symengine-0.11.1.ebuild +++ b/sci-libs/symengine/symengine-0.11.1.ebuild @@ -38,6 +38,8 @@ BDEPEND="doc? ( app-doc/doxygen[dot] )" PATCHES=( "${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch "${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch + # https://github.com/symengine/symengine/pull/1985 + "${FILESDIR}"/${PN}-0.11.1-flint-3.patch ) pkg_pretend() { |