summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin13490 -> 13500 bytes
-rw-r--r--sci-mathematics/eclib/Manifest2
-rw-r--r--sci-mathematics/eclib/eclib-20210503.ebuild35
-rw-r--r--sci-mathematics/genius/Manifest2
-rw-r--r--sci-mathematics/genius/genius-1.0.25.ebuild4
-rw-r--r--sci-mathematics/pari/Manifest3
-rw-r--r--sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch35
-rw-r--r--sci-mathematics/pari/pari-2.13.1-r1.ebuild (renamed from sci-mathematics/pari/pari-2.13.1.ebuild)1
-rw-r--r--sci-mathematics/prng/Manifest4
-rw-r--r--sci-mathematics/prng/files/prng-3.0.2-fix-all-c99-inline-semantics.patch404
-rw-r--r--sci-mathematics/prng/files/prng-3.0.2-fix-c99-inline-semantics.patch146
-rw-r--r--sci-mathematics/prng/prng-3.0.2-r3.ebuild (renamed from sci-mathematics/prng/prng-3.0.2-r2.ebuild)6
-rw-r--r--sci-mathematics/wxmaxima/Manifest2
-rw-r--r--sci-mathematics/wxmaxima/wxmaxima-21.05.1.ebuild79
-rw-r--r--sci-mathematics/z3/Manifest2
-rw-r--r--sci-mathematics/z3/z3-4.8.10.ebuild2
16 files changed, 570 insertions, 157 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index 459e669bf086..405c2a38bca4 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/eclib/Manifest b/sci-mathematics/eclib/Manifest
index 6f8d86ee4aea..7ca06ae53abf 100644
--- a/sci-mathematics/eclib/Manifest
+++ b/sci-mathematics/eclib/Manifest
@@ -1,3 +1,5 @@
DIST eclib-20190909.tar.bz2 914900 BLAKE2B df57972792f96e65b25db5a2ab1063d5a8f1ad05edbed77d9ca2632ddfb4af2cb8586e572155beec09cc0c03472300d1e6fcbdda3527c36e9106006239f50600 SHA512 df829b10c353f528f2040b55d6198e3a48eba179b9a80e71794e4c6d46ee9bb13b3eccec15c7d286ec5d8252e6ba91157c2a08ac4e2da86969a4158450a41960
+DIST eclib-20210503.tar.bz2 920919 BLAKE2B 5481769d6e9152d85f69a15d856701b5faf0b2d7d8c5fd0e2b6452d7be1f5de23ec2c3f60603d87e4d95f25295ef2a2f44dacf5c844c6970e96a83cd61bdfe66 SHA512 a3ee992d97c00ec5069a090d19914b9e1d00b25f5f1fff1ccd02deb1d240e4773bcfe0e00366808b7afe3a24e0aed8bb2fc4e9cb4f9f97dfc6ef70c43362bd38
EBUILD eclib-20190909.ebuild 1009 BLAKE2B 78281fa5043db50b79b5462af2098f09fc36d386da6f4c0d521eeae24b2faa4fb910881000c415ccde92016dfae358b84305829b9deaff742bba79906d4b4c77 SHA512 41eb82fb56e18fe7695eaaa1a523bf0eff903ab8e0fa852f431b7ce21ddfa3f11462999f15c48bc7e4e1218b59a7ec3022674d5363c33e7861dd3d9a1cc49b26
+EBUILD eclib-20210503.ebuild 870 BLAKE2B 159301f20949ea573a1eb184eecf142bc2f4a340ccd18ea43b34149a307914300d8a28cb31b17f0d40d602ddb5898c65af9fb21620ca3bb26c2f5aefe056ffee SHA512 d72323b79721ec38424c190470be0cafb2fc8201e71c080fb405a9da77022644b18834119b4ecc5d502dd5515b13b8bb9899f882d963b65070dedf8fcda219bd
MISC metadata.xml 1088 BLAKE2B fec21e6f44389bcd376f3a6c9ba97c54cafb40a92c0c591f7d840b5a33d663e41a8481bd16567267be2fe664964da8b14e6ccdd5fccc3c53a25a2843548f82f5 SHA512 db99aa5762f72baeb9183aaf9c3b561fd53b9fc85368af3bdc13be34e81a5540a95e175874df2dae05243902ba687d6eb609f4dd7def059dee580affd3be74c8
diff --git a/sci-mathematics/eclib/eclib-20210503.ebuild b/sci-mathematics/eclib/eclib-20210503.ebuild
new file mode 100644
index 000000000000..30537d59eb49
--- /dev/null
+++ b/sci-mathematics/eclib/eclib-20210503.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Programs for elliptic curves defined over the rational numbers"
+HOMEPAGE="https://github.com/JohnCremona/eclib"
+SRC_URI="https://github.com/JohnCremona/${PN}/releases/download/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+
+# Major version of /usr/lib64/libec.so
+SLOT="0/7"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="boost flint minimal static-libs test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sci-mathematics/pari:=
+ dev-libs/ntl:=
+ boost? ( dev-libs/boost:= )
+ flint? ( sci-mathematics/flint:= )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf \
+ $(usex minimal --disable-allprogs "" "" "") \
+ $(use_with boost) \
+ $(use_with flint) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sci-mathematics/genius/Manifest b/sci-mathematics/genius/Manifest
index b20e33fdf663..ce99f9a383c7 100644
--- a/sci-mathematics/genius/Manifest
+++ b/sci-mathematics/genius/Manifest
@@ -2,5 +2,5 @@ AUX genius-1.0.24-no_scrollkeeper.patch 1072 BLAKE2B fc05460f03b369e7c867b965a3b
AUX genius-1.0.25-vte-conf-fixes.patch 5912 BLAKE2B 440ff10661aed72da46dc2fd1c499dfd9ca29ca70b93d867b23b704aea09b6c66681c829a4c189c6dd98f67c62646769326f459a247784fa7e26815dbc873182 SHA512 df3975480eec31922ba49922c1754f23056e68e40d4f52bf7c08155145863d9e6fefef5b0f1d76bd3bb060f5f9f23aab0e0f65be65c9ff5a1a1bedc591737d41
DIST genius-1.0.25.tar.xz 2935920 BLAKE2B 9e5a58e15a1e53a64b10c662f1dea91ec80987d1be3ec208aaff76f59d1f9f5b2f9b2b1a2d6bede9c2cae5258038b2995b3bce6600471d088653b1392a1a8eb1 SHA512 ecd01acceb4cea3cb9796edaebc983ed7c0ee618737d98755882a845ddc07e1307851ef9fba75714bc33868556f03c004e03c3b9c42425293cb59a86b8af17a9
DIST genius-reference.pdf 1024944 BLAKE2B e0058fbd266a4ed4bf29306520ac64b7ff9a970fa79b5132f5556b61a97dd985fe916c888d0d5a678528ef231a9c66310dc2affe01491c7848451b3d54f58274 SHA512 04af3870104d2320b1d4b345d74d713a0dfcdf8a228002506508f437659b3ef6037ead0b1f6b37cc335692150750b58c4007fdaaddd9540233474ccd10dac285
-EBUILD genius-1.0.25.ebuild 1465 BLAKE2B baba62c17f47fecbe46e14213693bb28d215dd40b42836efd4915c3afd452717783dba503f94eddb73804896b570ff9fe58c3888ec6316a49846d3815e6af4a9 SHA512 844848bd820fef9b3e3acb7a42473e987e4a3f471ae0e49d06b0b03329f1dfa200c80deeae203d40c7f75a92877bb51f874b89912e23dfa1f27edeb613f258ee
+EBUILD genius-1.0.25.ebuild 1464 BLAKE2B 7174ebc4f67d1c9a51b95268f3ee239950c5b77e9e34efe3b3fcfe42ce00624f2ccd9abc7938402126402001f3cd3b6035c0bee00613126fe399e691b256e74a SHA512 9a923e47580d775057f5991093905ae380d2c5ec472e8d4a671f6271c17860b605c7bd5ecbf9e37f248673daf8683248db07776d80380249a959c046eac3c0db
MISC metadata.xml 809 BLAKE2B 9102651076c5b608afc1fbd7a2371d771587fbdc4960e56692f0999ddbfc9bef8096e04e59c491dc7c85ce4f75ec9fb9b093f49a3e53979d62e787e13377c345 SHA512 4259f2ea73e57edc70689d48522cb28ae79443b97b25799bfda21e9114bac15ae77bc27933fd6773c99daeaa060088cb0cb0acae71acd4af81fe7ae408c9e06c
diff --git a/sci-mathematics/genius/genius-1.0.25.ebuild b/sci-mathematics/genius/genius-1.0.25.ebuild
index 94b9f5146e99..c99f76f27f46 100644
--- a/sci-mathematics/genius/genius-1.0.25.ebuild
+++ b/sci-mathematics/genius/genius-1.0.25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="${SRC_URI}
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
IUSE="doc +gui"
RDEPEND="
diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest
index 9c56c524b671..d47faa21c173 100644
--- a/sci-mathematics/pari/Manifest
+++ b/sci-mathematics/pari/Manifest
@@ -1,6 +1,7 @@
AUX pari-2.11.2-Makefile-LDFLAGS.patch 394 BLAKE2B 534fcd325397a388545acbce5d96bd5417c31005512ee8f256283921fb64ec4a9ec27fb7e721648b117d3be1000816d1e9bc5ae5adc5df63afe1b0490db020c6 SHA512 de3283be39cff0bba916b314eb9e112324626513f30b5c0e0340617535d8e66ee93fdd9613839633bf7e85244caff6fa1379cc5d0c0a7f9484d028a650eb8845
AUX pari-2.11.2-Makefile-docinstall.patch 867 BLAKE2B e8b83357ef42ebcb00abfe7bb5adc30414d1975fbde128ffe84c42898374969c608cd6f3b8b0061023681f6416e86552c80552ac51aa884e260d716f79b750c1 SHA512 089ab09532b2e888a272495606f5c0eeb6e12f764f3605c268a3e4e20e707d87c33feea2a745f7441e2cff6e7402df64f17f7b118350a8d4a0972ad8a5a82c69
AUX pari-2.11.2-no-automagic.patch 2349 BLAKE2B 6c2cdda84342109bad0cbfb3d5188eedbbfc08e5b40bce3f045309cef936f88356324b6d721c5cdb458a2343fb4ee6473238571dd779b74506e7e2b7d835e0c7 SHA512 549acaeaa393b0b42818e3648c21fdba3162abfefef147a1429d0e39f58ece0a46e94a6ee953435549c23d62b115b2dab0ee261eda2eb7fd0a2b430223f5f59c
+AUX pari-2.13.1-rnfdisc.patch 1335 BLAKE2B 25c16204f996b210d345d1ca903d2256b07f8575ea5363cc5646508e84c77785f9a05b6c751a49bd15cf6915128d5e1f533d468ff0d2c544bd8b7d8cad37ac2f SHA512 70ec83d1dd028458d3f2d15b4159f53136ed50c84275d38121ad04bb38ef144c235e460aca8927152791e57a8e1fd9ebe5e233c624d953213fe83c00bbb09b24
AUX pari-2.9.4-fltk-detection.patch 572 BLAKE2B 1c2e1fa6e52521c7865c3fd011824c83fa92623903dd1e056bda29c6735eb01013e7937f66d6ffff42d0de83f7ed104c7f933d232ee37be7c4351788e76f8daa SHA512 2ec0d8035a87b693ee6a4dfa913f0b24eed20bb4db7f8cd1a47db444310d33d19e6651d475c635be747e79a02df2705e42f6f7032b60dc763583cf9fa8633b29
AUX pari-2.9.4-ppc.patch 363 BLAKE2B 135e76972e4121362666a25e3da236c4a5b7cffa058bbc25b59ca19ea20ccb0665327f70701adca5239cb936d513976e3ba7b5cda915a3f77c7b2eb28e75eaa0 SHA512 aaf5960010e56722f11234079a20ee7a7f8819dc084e1f6567fd11ad2820e3ae47617608f312941c2f373b5312a8c09c9cd51bfa44e263ffe1e8062c9fd9877d
AUX pari-2.9.4-strip.patch 323 BLAKE2B 85a2b56f5501b4dafc0bffe48249c1662d6f96e81f8e8260ad52ecf84f053efef2ee6d6be6a6fda47886c372eb338d8bbf4443910df79a0d4e168b2666228c37 SHA512 50624ead82da41819ccfadfbdb746fb6ff414196ae2576c5d6a86e83c67355740b0e6e901a2860cab202db15adb1b00e346aabba338ab303230bc6aee8d33076
@@ -9,5 +10,5 @@ DIST pari-2.13.0.tar.gz 4758091 BLAKE2B 21a008fbca9af60c7298daf2db5c596cf881fbf4
DIST pari-2.13.1.tar.gz 4760932 BLAKE2B 50c8be1d07f303665013623f07109ef42a6d82ea88e4795c90be8ae4c714f78c2f009df40c457cc1c45f1591e5b8550965a35e3c9c272b8cd17508d774ef182e SHA512 57d0811c66d58ce6abf4d34d3f2ee98efaa22aa5f65941b8bd3d2ceaf5ba57447a8fe334b9587387b31298c85f19ec356a9db05d11dc6d956f921e7fc7d1596e
EBUILD pari-2.11.4.ebuild 3327 BLAKE2B 8117499dc50d8146bd3988fbaf4c18ccf719cd482372687bc58eaadec09011ec29b1324d58df2669d0fbc6dcbf3985e3dedf8bb20ad6793bfbc496913d467d6d SHA512 39034792b1b133599cba2eb89d7c459a6eb39da7db0f3ee0793b0941f5be9c992e5b4a1a0a58ad0e272fdf00b5b7e24ade75f7d2e7a2b2691d565eceefeff05a
EBUILD pari-2.13.0.ebuild 3424 BLAKE2B 5d6bd25923c72ee36a037ca56f26fe71491ad3d2d1d98a3249291fc7ad50efdae7d9b170dd66691345f6e2c5080dc945fef06ed14174a89f3376e31faeca281e SHA512 ef976b96b5ad8600d96d9892ca24e449b1be11542ad531734fadec759b00188ac4afd9114fec76aace0f40e129e71e75acdc839b402cd31dd6bc93b6005898a9
-EBUILD pari-2.13.1.ebuild 3424 BLAKE2B 5d6bd25923c72ee36a037ca56f26fe71491ad3d2d1d98a3249291fc7ad50efdae7d9b170dd66691345f6e2c5080dc945fef06ed14174a89f3376e31faeca281e SHA512 ef976b96b5ad8600d96d9892ca24e449b1be11542ad531734fadec759b00188ac4afd9114fec76aace0f40e129e71e75acdc839b402cd31dd6bc93b6005898a9
+EBUILD pari-2.13.1-r1.ebuild 3458 BLAKE2B f2ad5f104a0818490238dfc4453a8995c0b7e768dfb9c51bdb3906f7f62affc80970cdd3afc83b88d6e678a7c32fb9aa7a6c2262b3cca7b03e37be2b2379aab3 SHA512 c8e6c33ee12431f982af943e32392b23846c5199dcea42f3f18a44a8d9ccd3ba62a78c27baa280ed7cebf6acab8f27f69f849de5a1faf7db99994fcd1c82d81b
MISC metadata.xml 1764 BLAKE2B 8c5ad974148c99e21c30630ef1866a3ca7d34c87c214973c4025977130393a055de729bba4fda75d5e2ee288f439b1fc71e44bd3b68d09255f2ed3c81909f6fe SHA512 752c757e7b38995d44af25595da8626e773cb6083a0f9aafe7f3b6af1203b7da743b04b51bbc3f023e5e09c0620fe64fec1d44da7d84c88c4ef4619cbe347565
diff --git a/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch b/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch
new file mode 100644
index 000000000000..39d325911e88
--- /dev/null
+++ b/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch
@@ -0,0 +1,35 @@
+From 3edb98db78dd49bb8b4137b46781a7cd570c2556 Mon Sep 17 00:00:00 2001
+From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
+Date: Sun, 28 Mar 2021 13:27:24 +0200
+Subject: [PATCH] rnfdisc_factored: remove spurious Q_primpart [#2284]
+
+diff --git a/src/basemath/base2.c b/src/basemath/base2.c
+index b2b63ada5..531f5c558 100644
+--- a/src/basemath/base2.c
++++ b/src/basemath/base2.c
+@@ -3582,7 +3582,7 @@ rnfdisc_factored(GEN nf, GEN pol, GEN *pd)
+
+ nf = checknf(nf);
+ pol = rnfdisc_get_T(nf, pol, &lim);
+- disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, Q_primpart(pol)));
++ disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, pol));
+ pol = nfX_to_monic(nf, pol, NULL);
+ fa = idealfactor_partial(nf, disc, lim);
+ P = gel(fa,1); l = lg(P);
+diff --git a/src/test/32/rnf b/src/test/32/rnf
+index 6bd4585..d24e1ce 100644 (file)
+--- a/src/test/32/rnf
++++ b/src/test/32/rnf
+@@ -832,9 +832,9 @@ error("inconsistent dimensions in idealtwoelt.")
+ 0
+ 0
+ 1
+-[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0]
+-~]
+-[2, -1]
++[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [25
++/17, -12/17, 12/17, 16/17]~]
++[1, -1]
+ *** at top-level: rnfdedekind(nf,P,pr2,1)
+ *** ^-----------------------
+ *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented.
diff --git a/sci-mathematics/pari/pari-2.13.1.ebuild b/sci-mathematics/pari/pari-2.13.1-r1.ebuild
index bc5709ab3388..12230c7f452d 100644
--- a/sci-mathematics/pari/pari-2.13.1.ebuild
+++ b/sci-mathematics/pari/pari-2.13.1-r1.ebuild
@@ -38,6 +38,7 @@ PATCHES=(
"${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch
"${FILESDIR}/${PN}"-2.11.2-Makefile-LDFLAGS.patch
"${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch
+ "${FILESDIR}/${P}"-rnfdisc.patch
)
src_prepare() {
diff --git a/sci-mathematics/prng/Manifest b/sci-mathematics/prng/Manifest
index 65d39aba209a..cb2ed7c761ac 100644
--- a/sci-mathematics/prng/Manifest
+++ b/sci-mathematics/prng/Manifest
@@ -1,5 +1,5 @@
-AUX prng-3.0.2-fix-c99-inline-semantics.patch 3473 BLAKE2B b0a8ea02d13edf7e2918a92d58bf9852e5fd0a7b02a75da3ecb453b0717d037abb9d1d84c0d1bd88c7670290adbf5556b7947a31a96b28ddfae6d35375ad3058 SHA512 bcd545ddd2c8682c533ea5b1d4b97db4cdb44d85644fe2de4da43857cad9b19dbb726ecc50adc082a6f54cd3c3bd78048ee7eb3ac1c333d26272bf4d694f3872
+AUX prng-3.0.2-fix-all-c99-inline-semantics.patch 11925 BLAKE2B a95a1041afe001dc3a8531ae5e273402437e4fb3a377653c2ed42daa81f8c6d24a647c3991bea99c23d82686cd72230e6134087c4c80ce97a0d04f558292f2bc SHA512 4073da901ba7c9ab5b9102f6d19ea4853113badd9d0604967ffd4c8d9ad531b3edc0071380dd96bc917b1bc173c4204522ceb42c9b896f6e0a3b68552b7ab484
AUX prng-3.0.2-shared.patch 1049 BLAKE2B 7d9abc870911e53168104a31ad9ecaa6f98cb602ca7010698c37d745fe56d11833f147e547fc87533f4894183239cc593fbe6ed5e52f03000c2f630eb8534719 SHA512 bac71da41ab908b6682d3705434d33f37d7cbb240c87a3fc349b6461d5dc86a90010028be3b0331aa58dc3ddad31efe89986ca24966071092d6845f4c6c80864
DIST prng-3.0.2.tar.gz 497047 BLAKE2B 8df71dbf8cfe5ba384a1700830b41f947198e51262904a04796968287ca54f21f96ba34af2c0bc93393851ff3c153d24744a5d843501e0f29387282a64a03c24 SHA512 16addfedd16f1caf7489356770c15bde17d8ec5c66dca9fbaa52e50f850f2ab81a1af9d522bb6028ba5e279490beaf6c72060494e8a5367a7453a417a619367f
-EBUILD prng-3.0.2-r2.ebuild 851 BLAKE2B ef88f552195609ea6cdd5d6a00f837ce3a432f981b5b4a20e6960e7b5939a49c6e4e6b03ac996733dbdbec0a2f62900772765cbfac819ecfd431630f469c64d1 SHA512 6008aa8c24f2669846724f854c015a4f7a95bcc357ffc9fb38c4ba3d524a40b58a7a7f2f36b2a5a1d38df424e3538bf05359af2a082dc45a8d58843d1cac7c4d
+EBUILD prng-3.0.2-r3.ebuild 855 BLAKE2B 8f57ae8944a7c4b0e795c15296b02820386fa132e11b36a5d653ef299c8664ec9e24a498fb6cf3ad88ad3424832516b2fc26f9b97f670d79a6d4a722761be820 SHA512 d767bf8f86aed846bcc7204b093bb208eed8fcb9c7771886998438b25ed563cb68d328a57306d5dbfbc3a93f44592d6be21a364412456e18a7b76f07f047905a
MISC metadata.xml 673 BLAKE2B 43ee427739a3c80cf2c2ca75a85179b16e86268d535b2f422dfa78ce73b0c9a2579f47ed46bd63ae7a1c09351bcfb8090d7a4ab56f56ae4ba563b1578a2fbb9a SHA512 ba4a5b40a842b31a09e01481bd39f781d7d89d0ff304a51af8c463aeaaa7d8abeee251755672d542dae4fe71c6fecebf3e8f4da53ddca4f608fb1fcc034e002a
diff --git a/sci-mathematics/prng/files/prng-3.0.2-fix-all-c99-inline-semantics.patch b/sci-mathematics/prng/files/prng-3.0.2-fix-all-c99-inline-semantics.patch
new file mode 100644
index 000000000000..e62817043767
--- /dev/null
+++ b/sci-mathematics/prng/files/prng-3.0.2-fix-all-c99-inline-semantics.patch
@@ -0,0 +1,404 @@
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/anti.c prng-3.0.2/src/anti.c
+--- prng-3.0.2.orig/src/anti.c 2001-11-06 22:31:36.000000000 +0300
++++ prng-3.0.2/src/anti.c 2021-05-19 00:41:03.400665843 +0300
+@@ -82,7 +82,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_anti_get_next(struct prng *gen)
++double prng_anti_get_next(struct prng *gen)
+ {
+ return (1. - prng_get_next(gen->data.anti_data.prng));
+ }
+@@ -114,7 +114,7 @@
+ *
+ */
+ /*
+-inline prng_num prng_anti_get_next_int(struct prng *gen)
++prng_num prng_anti_get_next_int(struct prng *gen)
+ ... undefined !!!
+ */
+
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/compound.c prng-3.0.2/src/compound.c
+--- prng-3.0.2.orig/src/compound.c 2001-11-06 22:34:51.000000000 +0300
++++ prng-3.0.2/src/compound.c 2021-05-19 00:41:03.395665825 +0300
+@@ -105,7 +105,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_compound_get_next(struct prng *gen)
++double prng_compound_get_next(struct prng *gen)
+ {
+ int i;
+ double sum = 0.0;
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/cons.c prng-3.0.2/src/cons.c
+--- prng-3.0.2.orig/src/cons.c 2001-11-06 22:35:29.000000000 +0300
++++ prng-3.0.2/src/cons.c 2021-05-19 00:41:03.392665813 +0300
+@@ -89,7 +89,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_con_get_next(struct prng *gen)
++double prng_con_get_next(struct prng *gen)
+ {
+ return(prng_get_next(gen->data.con_data.prng));
+ }
+@@ -119,7 +119,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_con_get_next_int(struct prng *gen)
++prng_num prng_con_get_next_int(struct prng *gen)
+ {
+ return(prng_get_next_int(gen->data.con_data.prng));
+ }
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/dicg.c prng-3.0.2/src/dicg.c
+--- prng-3.0.2.orig/src/dicg.c 2001-11-06 22:35:50.000000000 +0300
++++ prng-3.0.2/src/dicg.c 2021-05-19 00:41:03.398665836 +0300
+@@ -441,7 +441,7 @@
+ * Algorithm by Karin Schaber and Otmar Lendl.
+ *
+ */
+-inline prng_num prng_dicg_multiply(int k,prng_num c, prng_num d)
++prng_num prng_dicg_multiply(int k,prng_num c, prng_num d)
+ {
+ int i;
+ struct mtable *t;
+@@ -593,7 +593,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_dicg_get_next_int(struct prng *gen) /* DUMMY !!!!*/
++prng_num prng_dicg_get_next_int(struct prng *gen) /* DUMMY !!!!*/
+ {
+ s_prng_num inv, current, prod;
+
+@@ -619,7 +619,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_dicg_get_next(struct prng *gen)
++double prng_dicg_get_next(struct prng *gen)
+ {
+ return(prng_dicg_get_next_int(gen) * gen->data.dicg_data.inv_p);
+ }
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/eicg.c prng-3.0.2/src/eicg.c
+--- prng-3.0.2.orig/src/eicg.c 2001-11-06 22:36:04.000000000 +0300
++++ prng-3.0.2/src/eicg.c 2021-05-19 00:41:03.405665862 +0300
+@@ -120,7 +120,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_eicg_get_next_int(struct prng *gen)
++prng_num prng_eicg_get_next_int(struct prng *gen)
+ {
+ prng_num old;
+
+@@ -138,7 +138,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_eicg_get_next(struct prng *gen)
++double prng_eicg_get_next(struct prng *gen)
+ {
+ return(prng_eicg_get_next_int(gen) * gen->data.eicg_data.inv_p);
+ }
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/external.c prng-3.0.2/src/external.c
+--- prng-3.0.2.orig/src/external.c 2001-11-06 22:36:35.000000000 +0300
++++ prng-3.0.2/src/external.c 2021-05-19 00:41:03.391665810 +0300
+@@ -139,7 +139,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_tt800_get_next_int(struct prng *gen)
++prng_num prng_tt800_get_next_int(struct prng *gen)
+ {
+ unsigned int y;
+ struct tt800_state *g;
+@@ -189,7 +189,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_tt800_get_next(struct prng *gen)
++double prng_tt800_get_next(struct prng *gen)
+ {
+ return(prng_tt800_get_next_int(gen) * TT800_INV_MOD);
+ }
+@@ -223,7 +223,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_ctg_get_next_int(struct prng *gen)
++prng_num prng_ctg_get_next_int(struct prng *gen)
+ {
+ unsigned int b;
+ struct ctg_state *g;
+@@ -247,7 +247,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_ctg_get_next(struct prng *gen)
++double prng_ctg_get_next(struct prng *gen)
+ {
+ return(prng_ctg_get_next_int(gen) * 2.3283064365e-10);
+ }
+@@ -285,7 +285,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_mrg_get_next_int(struct prng *gen)
++prng_num prng_mrg_get_next_int(struct prng *gen)
+ {
+ int h,p1,p5;
+ struct mrg_state *g;
+@@ -312,7 +312,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_mrg_get_next(struct prng *gen)
++double prng_mrg_get_next(struct prng *gen)
+ {
+ return(prng_mrg_get_next_int(gen) * 4.656612873077393e-10);
+ }
+@@ -350,7 +350,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_cmrg_get_next_int(struct prng *gen)
++prng_num prng_cmrg_get_next_int(struct prng *gen)
+ {
+ int h, p12, p13, p21, p23;
+ struct cmrg_state *g;
+@@ -385,7 +385,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_cmrg_get_next(struct prng *gen)
++double prng_cmrg_get_next(struct prng *gen)
+ {
+ return(prng_cmrg_get_next_int(gen) * 4.656612873077393e-10);
+ }
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/file.c prng-3.0.2/src/file.c
+--- prng-3.0.2.orig/src/file.c 2001-11-06 22:36:54.000000000 +0300
++++ prng-3.0.2/src/file.c 2021-05-19 00:41:03.404665858 +0300
+@@ -88,7 +88,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_afile_get_next(struct prng *gen)
++double prng_afile_get_next(struct prng *gen)
+ {
+ double d;
+ char line[64];
+@@ -135,7 +135,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_bfile_get_next(struct prng *gen)
++double prng_bfile_get_next(struct prng *gen)
+ {
+ prng_num n;
+
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/icg.c prng-3.0.2/src/icg.c
+--- prng-3.0.2.orig/src/icg.c 2001-11-06 22:37:07.000000000 +0300
++++ prng-3.0.2/src/icg.c 2021-05-19 00:41:03.407665870 +0300
+@@ -110,7 +110,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_icg_get_next_int(struct prng *gen)
++prng_num prng_icg_get_next_int(struct prng *gen)
+ {
+ s_prng_num inv, current, prod;
+
+@@ -135,7 +135,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_icg_get_next(struct prng *gen)
++double prng_icg_get_next(struct prng *gen)
+ {
+ return(prng_icg_get_next_int(gen) * gen->data.icg_data.inv_p);
+ }
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/lcg.c prng-3.0.2/src/lcg.c
+--- prng-3.0.2.orig/src/lcg.c 2001-11-06 22:37:29.000000000 +0300
++++ prng-3.0.2/src/lcg.c 2021-05-19 00:41:03.394665821 +0300
+@@ -111,7 +111,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_lcg_get_next_int(struct prng *gen)
++prng_num prng_lcg_get_next_int(struct prng *gen)
+ {
+ s_prng_num ax, current;
+
+@@ -130,7 +130,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_lcg_get_next(struct prng *gen)
++double prng_lcg_get_next(struct prng *gen)
+ {
+ return(prng_lcg_get_next_int(gen) * gen->data.lcg_data.inv_p);
+ }
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/meicg.c prng-3.0.2/src/meicg.c
+--- prng-3.0.2.orig/src/meicg.c 2001-11-06 22:37:40.000000000 +0300
++++ prng-3.0.2/src/meicg.c 2021-05-19 00:41:03.396665828 +0300
+@@ -106,7 +106,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_meicg_get_next_int(struct prng *gen)
++prng_num prng_meicg_get_next_int(struct prng *gen)
+ {
+ s_prng_num an, sum, inv, n;
+
+@@ -144,7 +144,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_meicg_get_next(struct prng *gen)
++double prng_meicg_get_next(struct prng *gen)
+ {
+ return(prng_meicg_get_next_int(gen) * gen->data.meicg_data.inv_p);
+ }
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/mt19937.c prng-3.0.2/src/mt19937.c
+--- prng-3.0.2.orig/src/mt19937.c 2001-11-06 22:38:08.000000000 +0300
++++ prng-3.0.2/src/mt19937.c 2021-05-19 00:45:22.720661481 +0300
+@@ -137,7 +137,7 @@
+ * seed: used for initializing array
+ *
+ */
+-inline void prng_mt19937_seed( struct prng *gen, prng_num seed )
++void prng_mt19937_seed( struct prng *gen, prng_num seed )
+ {
+ int i;
+
+@@ -172,7 +172,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_mt19937_get_next_int(struct prng *gen)
++prng_num prng_mt19937_get_next_int(struct prng *gen)
+ {
+ #define MT gen->data.mt19937_data.mt
+ #define MTI gen->data.mt19937_data.mti
+@@ -220,7 +220,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_mt19937_get_next(struct prng *gen)
++double prng_mt19937_get_next(struct prng *gen)
+ {
+ /* reals: [0,1)-interval */
+ /* multiply with 1. / 2^32 */
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/prng.h prng-3.0.2/src/prng.h
+--- prng-3.0.2.orig/src/prng.h 2001-11-06 23:04:41.000000000 +0300
++++ prng-3.0.2/src/prng.h 2021-05-19 00:40:49.381612020 +0300
+@@ -406,7 +406,7 @@
+ /* INLINE fnk def. for mult_mod, I don't know if this works for non-GCC */
+
+ #ifdef __GNUC__
+-extern __inline__ prng_num mult_mod(prng_num s,struct mult_mod_struct *mm)
++static inline prng_num mult_mod(prng_num s,struct mult_mod_struct *mm)
+ {
+ s_prng_num s_tmp;
+
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/qcg.c prng-3.0.2/src/qcg.c
+--- prng-3.0.2.orig/src/qcg.c 2001-11-06 22:39:13.000000000 +0300
++++ prng-3.0.2/src/qcg.c 2021-05-19 00:41:03.403665855 +0300
+@@ -107,7 +107,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_qcg_get_next_int(struct prng *gen)
++prng_num prng_qcg_get_next_int(struct prng *gen)
+ {
+ s_prng_num current, sum, square, q_term, l_term;
+
+@@ -150,7 +150,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_qcg_get_next(struct prng *gen)
++double prng_qcg_get_next(struct prng *gen)
+ {
+ return(prng_qcg_get_next_int(gen) * gen->data.qcg_data.inv_p);
+ }
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/sub.c prng-3.0.2/src/sub.c
+--- prng-3.0.2.orig/src/sub.c 2001-11-06 22:39:06.000000000 +0300
++++ prng-3.0.2/src/sub.c 2021-05-19 00:41:03.402665851 +0300
+@@ -89,7 +89,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline double prng_sub_get_next(struct prng *gen)
++double prng_sub_get_next(struct prng *gen)
+ {
+ prng_num j;
+ double tmp;
+@@ -127,7 +127,7 @@
+ * gen: Pointer to a struct prng.
+ *
+ */
+-inline prng_num prng_sub_get_next_int(struct prng *gen)
++prng_num prng_sub_get_next_int(struct prng *gen)
+ {
+ prng_num j,tmp;
+
+diff '--color=auto' -Naurd prng-3.0.2.orig/src/support.c prng-3.0.2/src/support.c
+--- prng-3.0.2.orig/src/support.c 2001-11-06 23:03:26.000000000 +0300
++++ prng-3.0.2/src/support.c 2021-05-19 00:40:49.381612020 +0300
+@@ -449,52 +449,6 @@
+ }
+ }
+
+-#ifndef __cplusplus
+-/*
+- * Modular Multiplication. Uses the precalculated values from mult_mod_setup.
+- *
+- *
+- * Input:
+- * s An prng_num.
+- * mm pointer to a struct mult_mod_struct initialized
+- * by mult_mod_setup.
+- *
+- * Output:
+- * (mm->a*s) mod mm->p
+- *
+- */
+-prng_num mult_mod(prng_num s,struct mult_mod_struct *mm)
+-{
+-s_prng_num s_tmp;
+-
+-switch(mm->algorithm)
+- {
+- case PRNG_MM_ZERO: return(0);
+- break;
+- case PRNG_MM_ONE: return(s);
+- break;
+- case PRNG_MM_SIMPLE: return((s * mm->a) % mm->p );
+- break;
+- case PRNG_MM_SCHRAGE:
+- s_tmp = mm->a * ( s % mm->q ) -
+- mm->r * ( s / mm->q );
+- if (s_tmp < 0) s_tmp += mm->p;
+- return(s_tmp);
+- break;
+- case PRNG_MM_DECOMP: return(mult_mod_generic(s,mm->a,mm->p));
+- break;
+-#ifdef HAVE_LONGLONG
+- case PRNG_MM_LL: return(mult_mod_ll(s,mm->a,mm->p));
+- break;
+-#endif
+- case PRNG_MM_POW2: return((s*mm->a) & mm->mask);
+- break;
+- }
+-/* not reached */
+-return(0);
+-}
+-#endif
+-
+
+ /*
+ * Modular Multiplication: Decomposition method (from L'Ecuyer & Cote)
diff --git a/sci-mathematics/prng/files/prng-3.0.2-fix-c99-inline-semantics.patch b/sci-mathematics/prng/files/prng-3.0.2-fix-c99-inline-semantics.patch
deleted file mode 100644
index c84a288d47dd..000000000000
--- a/sci-mathematics/prng/files/prng-3.0.2-fix-c99-inline-semantics.patch
+++ /dev/null
@@ -1,146 +0,0 @@
-Use portable 'static inline' semantics that work in GNU89 and C99
-See also: http://www.greenend.org.uk/rjk/tech/inline.html
-
---- a/src/dicg.c
-+++ b/src/dicg.c
-@@ -441,7 +441,7 @@
- * Algorithm by Karin Schaber and Otmar Lendl.
- *
- */
--inline prng_num prng_dicg_multiply(int k,prng_num c, prng_num d)
-+prng_num prng_dicg_multiply(int k,prng_num c, prng_num d)
- {
- int i;
- struct mtable *t;
---- a/src/external.c
-+++ b/src/external.c
-@@ -139,7 +139,7 @@
- * gen: Pointer to a struct prng.
- *
- */
--inline prng_num prng_tt800_get_next_int(struct prng *gen)
-+prng_num prng_tt800_get_next_int(struct prng *gen)
- {
- unsigned int y;
- struct tt800_state *g;
---- a/src/icg.c
-+++ b/src/icg.c
-@@ -110,7 +110,7 @@
- * gen: Pointer to a struct prng.
- *
- */
--inline prng_num prng_icg_get_next_int(struct prng *gen)
-+prng_num prng_icg_get_next_int(struct prng *gen)
- {
- s_prng_num inv, current, prod;
-
---- a/src/lcg.c
-+++ b/src/lcg.c
-@@ -111,7 +111,7 @@
- * gen: Pointer to a struct prng.
- *
- */
--inline prng_num prng_lcg_get_next_int(struct prng *gen)
-+prng_num prng_lcg_get_next_int(struct prng *gen)
- {
- s_prng_num ax, current;
-
---- a/src/meicg.c
-+++ b/src/meicg.c
-@@ -106,7 +106,7 @@
- * gen: Pointer to a struct prng.
- *
- */
--inline prng_num prng_meicg_get_next_int(struct prng *gen)
-+prng_num prng_meicg_get_next_int(struct prng *gen)
- {
- s_prng_num an, sum, inv, n;
-
---- a/src/mt19937.c
-+++ b/src/mt19937.c
-@@ -172,7 +172,7 @@
- * gen: Pointer to a struct prng.
- *
- */
--inline prng_num prng_mt19937_get_next_int(struct prng *gen)
-+prng_num prng_mt19937_get_next_int(struct prng *gen)
- {
- #define MT gen->data.mt19937_data.mt
- #define MTI gen->data.mt19937_data.mti
---- a/src/prng.h
-+++ b/src/prng.h
-@@ -406,7 +406,7 @@
- /* INLINE fnk def. for mult_mod, I don't know if this works for non-GCC */
-
- #ifdef __GNUC__
--extern __inline__ prng_num mult_mod(prng_num s,struct mult_mod_struct *mm)
-+static inline prng_num mult_mod(prng_num s,struct mult_mod_struct *mm)
- {
- s_prng_num s_tmp;
-
---- a/src/qcg.c
-+++ b/src/qcg.c
-@@ -107,7 +107,7 @@
- * gen: Pointer to a struct prng.
- *
- */
--inline prng_num prng_qcg_get_next_int(struct prng *gen)
-+prng_num prng_qcg_get_next_int(struct prng *gen)
- {
- s_prng_num current, sum, square, q_term, l_term;
-
---- a/src/support.c
-+++ b/src/support.c
-@@ -449,52 +449,6 @@
- }
- }
-
--#ifndef __cplusplus
--/*
-- * Modular Multiplication. Uses the precalculated values from mult_mod_setup.
-- *
-- *
-- * Input:
-- * s An prng_num.
-- * mm pointer to a struct mult_mod_struct initialized
-- * by mult_mod_setup.
-- *
-- * Output:
-- * (mm->a*s) mod mm->p
-- *
-- */
--prng_num mult_mod(prng_num s,struct mult_mod_struct *mm)
--{
--s_prng_num s_tmp;
--
--switch(mm->algorithm)
-- {
-- case PRNG_MM_ZERO: return(0);
-- break;
-- case PRNG_MM_ONE: return(s);
-- break;
-- case PRNG_MM_SIMPLE: return((s * mm->a) % mm->p );
-- break;
-- case PRNG_MM_SCHRAGE:
-- s_tmp = mm->a * ( s % mm->q ) -
-- mm->r * ( s / mm->q );
-- if (s_tmp < 0) s_tmp += mm->p;
-- return(s_tmp);
-- break;
-- case PRNG_MM_DECOMP: return(mult_mod_generic(s,mm->a,mm->p));
-- break;
--#ifdef HAVE_LONGLONG
-- case PRNG_MM_LL: return(mult_mod_ll(s,mm->a,mm->p));
-- break;
--#endif
-- case PRNG_MM_POW2: return((s*mm->a) & mm->mask);
-- break;
-- }
--/* not reached */
--return(0);
--}
--#endif
--
-
- /*
- * Modular Multiplication: Decomposition method (from L'Ecuyer & Cote)
diff --git a/sci-mathematics/prng/prng-3.0.2-r2.ebuild b/sci-mathematics/prng/prng-3.0.2-r3.ebuild
index 83b0901cdd8a..676b10eb389a 100644
--- a/sci-mathematics/prng/prng-3.0.2-r2.ebuild
+++ b/sci-mathematics/prng/prng-3.0.2-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools
@@ -16,7 +16,7 @@ IUSE="doc examples static-libs"
PATCHES=(
"${FILESDIR}"/${PN}-3.0.2-shared.patch
- "${FILESDIR}"/${PN}-3.0.2-fix-c99-inline-semantics.patch
+ "${FILESDIR}"/${PN}-3.0.2-fix-all-c99-inline-semantics.patch
)
src_prepare() {
diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest
index 5ca755d6efbf..5e595c869d31 100644
--- a/sci-mathematics/wxmaxima/Manifest
+++ b/sci-mathematics/wxmaxima/Manifest
@@ -1,7 +1,9 @@
DIST wxmaxima-20.12.2.tar.gz 16262617 BLAKE2B 2f9f910f565158b2011f014d96747498c6286a95bdb69f9b6b2f82a37a569e8a02abbae5cbb9ae2ac1e78d0b976487666794b267c1c40c1245df08c752486403 SHA512 1c3e3f68a2fa2cd798dfb05c52e7ddf3193a15cb45282553c280914bd524d463ad27acc89898cb4a292ff236699d1ec2abb70d83fa52cb126123ab8e2fcd5ceb
DIST wxmaxima-21.01.0.tar.gz 16220587 BLAKE2B b987e8c44c253484d152092093ab9154b7c2a5817c584bc1a4f4a0e5beec3ec2e0bc6995aea6ba28df2223b039ca97905225cc2524840174b2c99a5f7774dab2 SHA512 aec5aa5d3a9883e9b21b890c133684004576411a8341f3913ae548175979ad1f07a16d0fccd24c7757d40f4d06b4070b00fa7ef54f73f26b99c825e03e2a408b
DIST wxmaxima-21.04.0.tar.gz 17684730 BLAKE2B a3b12970ad976a3ee3fc237b6d60f52d460e87997b869825d17645daa0f82bcc6f7999188fe4c92bba819d7a895cff468ff273ab62ab30f38a7a54a6dba47786 SHA512 723373c9fd9877bce38a205455e6ac58a48a61ac3ad0be5c09d0b24abeebd35af481f19efe5de08a2507f1198a8b4b6cfa987c50e4d4a580b4e05ec2c3e5a4f7
+DIST wxmaxima-21.05.1.tar.gz 17782450 BLAKE2B cf52c26342631810fd121ce89af98784bc243e650e3db3a26b577f63fffe63380c7af4db3d5f97ef3330455051ec0bc8349726cf70817dd24e7206dd0d274ef8 SHA512 beb100c5aba34a90e2c5c0f54022948e72e1b3f72862823fc23973abec644ed0f615d3c82499738c17d49d1c9af9ab6b868486d0187ee9971a7e6b017eda10cd
EBUILD wxmaxima-20.12.2.ebuild 1431 BLAKE2B 9a4b92a92dcf9636eec1449f27de9c4dbf5493d13e9cbbbc4c6ea8be8bfe5ca9d282b9df2b6c4a3f1d3c442a363551becf1bbf1c40da4eec77bdc69ed36723af SHA512 36ac799799deba2250d21a576a4387d2f4491afeae5dcaf5316d62008196a7ec80b4cc0d1745b67bc845c47172b1affb0f24405fd39edd12abf94c070ef32946
EBUILD wxmaxima-21.01.0.ebuild 1896 BLAKE2B 5f1defc0d4e009b83ed05b436d58ac434c0d85733c4e51a17e54ebf62c4eeb7fe33b74acb9a650ece08587b0e7fbb4742043b3f0b130d8fcf72d7fe600947e39 SHA512 747541798d41f07190e841518563e648de0e379d6f8485dd03b62b22407cbd090e24bdaf4c7e8d094e07ec00e82b440ce60129f4eaccca3fe7bf1f15559fc966
EBUILD wxmaxima-21.04.0.ebuild 1896 BLAKE2B 5f1defc0d4e009b83ed05b436d58ac434c0d85733c4e51a17e54ebf62c4eeb7fe33b74acb9a650ece08587b0e7fbb4742043b3f0b130d8fcf72d7fe600947e39 SHA512 747541798d41f07190e841518563e648de0e379d6f8485dd03b62b22407cbd090e24bdaf4c7e8d094e07ec00e82b440ce60129f4eaccca3fe7bf1f15559fc966
+EBUILD wxmaxima-21.05.1.ebuild 1896 BLAKE2B 5f1defc0d4e009b83ed05b436d58ac434c0d85733c4e51a17e54ebf62c4eeb7fe33b74acb9a650ece08587b0e7fbb4742043b3f0b130d8fcf72d7fe600947e39 SHA512 747541798d41f07190e841518563e648de0e379d6f8485dd03b62b22407cbd090e24bdaf4c7e8d094e07ec00e82b440ce60129f4eaccca3fe7bf1f15559fc966
MISC metadata.xml 723 BLAKE2B ab9996b65f11ba1e2a463a837e93de7520b8bc71bf691f3d01a9586d94f27273d41c9114912d5c551fc41329b1f2bce92fd433d620caadbba2bbe947e8532660 SHA512 277b301079c31fb3c5d8daddd6d53baab62eeea4ea66b6492aeb8bbea9f8cc15394b56e32e91e40899aa8637ee74da3b35c231ef117ac8c31a5880f87a096c05
diff --git a/sci-mathematics/wxmaxima/wxmaxima-21.05.1.ebuild b/sci-mathematics/wxmaxima/wxmaxima-21.05.1.ebuild
new file mode 100644
index 000000000000..86038f4610e9
--- /dev/null
+++ b/sci-mathematics/wxmaxima/wxmaxima-21.05.1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+WX_GTK_VER="3.0-gtk3"
+PLOCALES="ca cs da de el en es fi fr gl hu it ja kab nb pl pt_BR ru tr uk zh_CN zh_TW"
+inherit cmake wxwidgets l10n xdg
+
+DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
+HOMEPAGE="https://wxmaxima-developers.github.io/wxmaxima/"
+SRC_URI="https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-Version-${PV}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-libs/libxml2:2
+ x11-libs/wxGTK:${WX_GTK_VER}"
+RDEPEND="${DEPEND}
+ media-fonts/jsmath
+ sci-visualization/gnuplot[wxwidgets]
+ sci-mathematics/maxima"
+
+src_prepare() {
+ setup-wxwidgets
+ cmake_src_prepare
+
+ sed -e "s|GPL.txt ||g" -e "s|share/doc/${PN}|share/doc/${PF}|g" -i CMakeLists.txt \
+ || die "sed CMakeLists.txt failed"
+ sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i info/CMakeLists.txt \
+ || die "sed info/CMakeLists.txt failed"
+
+ # locales
+ rm_po() {
+ rm locales/wxMaxima/${1}.po || die "rm ${1}.po failed"
+ rm -f locales/manual/${1}.po
+ rm -f info/${PN}.${1}.md
+ rm -f info/${PN}.${1}.html
+ sed -e "\\|/${1}/wxmaxima.1|d" -i data/CMakeLists.txt
+ }
+ l10n_find_plocales_changes locales/wxMaxima '' '.po'
+ l10n_for_each_disabled_locale_do rm_po
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWXM_UNIT_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ # Just run the unit tests manually for now as tests fail in a non-descriptive
+ # way even with virtualx
+ # bug #736695
+ cd "${BUILD_DIR}/test/unit_tests" || die
+
+ local tests=(
+ AFontSize
+ CellPtr
+ ImgCell
+ )
+
+ local test
+ for test in "${tests[@]}" ; do
+ ./test_${test} || die "Unit test ${test} failed!"
+ done
+}
+
+src_install() {
+ docompress -x /usr/share/doc/${PF}
+ cmake_src_install
+}
diff --git a/sci-mathematics/z3/Manifest b/sci-mathematics/z3/Manifest
index f3d2c0f3b3b2..b309dd9d7303 100644
--- a/sci-mathematics/z3/Manifest
+++ b/sci-mathematics/z3/Manifest
@@ -1,3 +1,3 @@
DIST z3-4.8.10.tar.gz 4731869 BLAKE2B 92487f71a0c8d961949dc23032d8fa3ff157fe7acc29b41d0d79326f8b59c60e19f43527cccf4e51872c0f0664598f9063876b04cc581f918aa48c37a13c4f3f SHA512 d2741d7ad3e1d5ee3fec92095b061a96a700c3327b2eb2090d4162bdcaeaebca8c072ef79c5daac1f6de3456165c2cc38e13f1045bc707779d1027b943837c5b
-EBUILD z3-4.8.10.ebuild 2420 BLAKE2B 39acf50fa71c74efce6841e2a55a20402294882dd02b43496b545fe07a533f2d91253c3cc223db37f5f8b9cc9b681fe60fa07972b18f6742e08694290af6f890 SHA512 ca5881c4a2603a92ef122753fb972eda636f58363f83e7b02fd6a9822538fe1978c1b4a895a91ddc2f1c26fdadc5240b7cbb24e38c3d4dce9585dd0bad500e77
+EBUILD z3-4.8.10.ebuild 2425 BLAKE2B 23db5049ead16c9323773aa20d487b76cfb6d2126f1b93f7e507b5db93db490daf5a6a03b9a090404bd48182c0bf4a92aa3452bb9278b13cff89e235661f7e88 SHA512 3f69ea5e9b9de7dbf99ac2886791dc7947e12c9542fab93b9da9a82c8fb2273f07f5441ac54a1f5e8bc839c9f62815f95ea049e2c50e060eb11befbe676fd7ed
MISC metadata.xml 616 BLAKE2B c35cac6f5810148c69a612d6b04ed4cacdbf066e61951ea1433336f14b2b058c4dd50530b547021007489122f5e94407b30641dc9ccf3b59a345e7a09e5fdd28 SHA512 eaf72a29601e96d5312120a1fc01a0b3dd2b7d8dbee70f6052e8ff7a7e07ae8b768d1417b7f4b523e755e5569092f2685bba77beaf3d7c455ccbd057cc9b670a
diff --git a/sci-mathematics/z3/z3-4.8.10.ebuild b/sci-mathematics/z3/z3-4.8.10.ebuild
index ab2ad4852f5d..eb07c4a20143 100644
--- a/sci-mathematics/z3/z3-4.8.10.ebuild
+++ b/sci-mathematics/z3/z3-4.8.10.ebuild
@@ -15,7 +15,7 @@ S=${WORKDIR}/z3-${P}
SLOT="0/4.8"
LICENSE="MIT"
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
IUSE="doc examples gmp isabelle java python"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"