diff options
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/Manifest.gz | bin | 19350 -> 19349 bytes | |||
-rw-r--r-- | sci-mathematics/giac/Manifest | 6 | ||||
-rw-r--r-- | sci-mathematics/giac/files/giac-1.9.0.995-fix-undefined-behavior.patch | 43 | ||||
-rw-r--r-- | sci-mathematics/giac/files/giac-1.9.0.995-glibcxx-assertions.patch | 38 | ||||
-rw-r--r-- | sci-mathematics/giac/giac-1.9.0.995.ebuild (renamed from sci-mathematics/giac/giac-1.9.0.93.ebuild) | 11 | ||||
-rw-r--r-- | sci-mathematics/rkward/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/rkward/rkward-0.7.5.ebuild | 57 |
7 files changed, 92 insertions, 65 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz Binary files differindex f9487fc7ecf9..28faa857b011 100644 --- a/sci-mathematics/Manifest.gz +++ b/sci-mathematics/Manifest.gz diff --git a/sci-mathematics/giac/Manifest b/sci-mathematics/giac/Manifest index 7300d4cfb300..6f021aa7da64 100644 --- a/sci-mathematics/giac/Manifest +++ b/sci-mathematics/giac/Manifest @@ -4,8 +4,10 @@ AUX giac-1.9.0.21-pari-2.15.patch 298 BLAKE2B 99329cfd473ec3b580caf8f9700501e8b5 AUX giac-1.9.0.67-system-gl2ps.patch 2283 BLAKE2B 6c98e3ea09f0f8b0e34e2634218595d576e7eee85234e56436db24fe0aa276288f58049bcfb374ae42d7f104b44f0d51b3e81acc6e2e9af1cecc4e4adadfada8 SHA512 88dae722242b81ee22b7d377e4fd4b98d1e687307aaf3091ab17ffc720678bedb93c30bc0fd92c0388b7994945b820f31dd57e831736b6dd29e5d8285320d4e6 AUX giac-1.9.0.93-glibcxx-assertions.patch 1135 BLAKE2B 5dc1f882f0832f305dbc24789e1ec3fde79ac6f203fef013d330f6cc268fe5366dd938cf6f141d7f3dad7aff6d012d65693d9daea20745d8bc87f15dc55453d1 SHA512 cd882c469a7af89dad475cd77f9a3625f914a6b522eba8eb12275535552da5d98bab63e6b84ba730766976ee3fe70bd414143febb3b5de55727e7da854c0cad9 AUX giac-1.9.0.93-no-fltk-buildfix.patch 1690 BLAKE2B 7ff97352ebe164107700ed0a45cfe25df7685ac69684cdfe6811235db2d2020322791868ef2b503281095120083ac8c63f0982c1eec9baac009c8642dca2229d SHA512 4a739550164d0555ddfaec7a02e2fe43f5dcdbc752d7d785ae8c4d1bad7b3e18d15ff2c5670129fc99b9680e6198f87b1517255a03b390bfcadfa0a02f28752f +AUX giac-1.9.0.995-fix-undefined-behavior.patch 1296 BLAKE2B f181960feaa2ef42a0d5bb8a3d060fd3e3f62416135d6204c6d4682f58c727b4a734b538b9be52b4e6750d6415e2c08812196f50acf99e147b8f4215f0e37280 SHA512 7d394a3f60b977d5cbc6afded350fb1296823d85adc73b9c215f0882e500660d2c4eefb79c0f451eb60009e86430f8cf10566ef6e8a9cdeca087e489c14fd7d6 +AUX giac-1.9.0.995-glibcxx-assertions.patch 1292 BLAKE2B 640dca5b736c151aedd5ed5bed7c49a468bf70978f2b671b2d67d5bc1248b9921b876fdb097ffa5b1b701f5337dbb601c7217307173d322a376a61f35508c742 SHA512 39b2d553bc3e0dedf53acca38e80b8ca76f4f0308603f0f67d881430e635f008ea618d1a7478e6c215c960b189c6d4fd83073ee2171fb2d2b3921095de53db23 DIST giac_1.9.0-29.tar.gz 115441843 BLAKE2B 9114db489be0c51d67c87b0a0c187fecf9eca84d7cb3117e72793290c8e606e76c3d9bc8a2d573fc2de2f2d885fb34d18583302a5902d69045976114ac02b95e SHA512 57b58aa35c724eae7df36229cb3d45d1b724a8a88acb1d1dd0711be64dd7c891850e7242662e448ce955e76b856973f9065628b65ce0826c60e277cb944b21b7 -DIST giac_1.9.0-93.tar.gz 115117442 BLAKE2B 397c64c5587fadca37b3298fef8c15c2977ded30849af2f3d3ee8a083d26f8db4645ac6a0db2fce4e254144cdc70b88d3313de58a502510e21a22927e1af3505 SHA512 b8c7d7070218afdfdb8f9a94911407860ab81ead9a60adf7f0c0cec3c50cec5fad3a439269192a01ef4d55ed822a4a619b123b6938ba76f9aba3537d14bc4680 +DIST giac_1.9.0-995.tar.gz 128346387 BLAKE2B c275d2cad511b906a3822156bd05f83cd77265cf489da82b111973b0a80de7abd1875d0cf0116e34610aa20b5ea2cc36550950dbf1eb1a321db8c7145c789137 SHA512 7111a21df5efe1ef5f14dc744277e18f3e4701842d827da0f8d745e1bcec4c06b45e3306b7ed3c4affee59c5df2454643900eefe32d46019771e6bb07bc971d9 EBUILD giac-1.9.0.29-r1.ebuild 4542 BLAKE2B dce03818ac9af080b4416b6546563e4be99617b220c4661a540f77e0127760582cfe0a3df8c6a2f94da676b8a0e9fa967be59748184b86eb8934481c607d7500 SHA512 6915110b6964d2e79d7da01cee85ee3b51b944f9879e5659447f0cba5d74bda8c4113ee9290203510fdb57ad1ba60eae52639b134ed74eec01b04a97d75cf066 -EBUILD giac-1.9.0.93.ebuild 5112 BLAKE2B c9de1431f29cc2d4c75c0584887bceb7856e5e1277d3238cc442a786fe52ed46ca27b21fc4202a0707d958a7a8b0440208917e8ea9c72aa2d9f3fefb28827c66 SHA512 93faf00338c23b2893be12b630d5de460c921cb23f70822f17f3017f91416783f93b2984f01e12a66f0b4b546e20d70a5896f6af439749c6a2fb84ae68df1ce0 +EBUILD giac-1.9.0.995.ebuild 5272 BLAKE2B 83003d7926cc7324811853303493f4f468cfa07c0755dc95a12b046dd216bf198dd6ad026bc8b4327dfc1a785cd6cc488eb697978d7f9d00210071131cedc1f2 SHA512 2fc3c1b1ae535e293e7501bdf52d52dde3fa6db620c58e290f600015d53289ec6b9e5b6a1dad950e7b5fc23127478122ee5f32d8c134e5ace9158d245818f6f9 MISC metadata.xml 1315 BLAKE2B a461d359b33617422f5863466bdbec9ddf56db03467b992c887bce9967d434913489602fd684edc893303078f89cf94d01b44cfdc0ccff33db9b42c5e686cfa8 SHA512 eaeb480010c9dbdfd75516e45e97e3226d2b2812c44e217b318c5a1d86dc40820bac0de69686d7b502775b14a6f1ed3bc11d2372b891c46a37080b4e84da9a1c diff --git a/sci-mathematics/giac/files/giac-1.9.0.995-fix-undefined-behavior.patch b/sci-mathematics/giac/files/giac-1.9.0.995-fix-undefined-behavior.patch new file mode 100644 index 000000000000..92d37ae93fa8 --- /dev/null +++ b/sci-mathematics/giac/files/giac-1.9.0.995-fix-undefined-behavior.patch @@ -0,0 +1,43 @@ +From 864ecde569ce9fad636abe1135de33fdc94e6981 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Thu, 5 Sep 2024 19:49:07 -0400 +Subject: [PATCH 1/1] src/vecteur.cc: skip undefined behavior with a bounds + check + +--- + src/vecteur.cc | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/src/vecteur.cc b/src/vecteur.cc +index de10197..119d454 100644 +--- a/src/vecteur.cc ++++ b/src/vecteur.cc +@@ -8490,6 +8490,17 @@ namespace giac { + } + else { + int C=col+1; ++ // mjo: C can be equal to cmax here, which makes buffer[C] ++ // illegal. In that case, however, nothing will happen ++ // below: ++ // ++ // 1. C = cmax ==> C >= (cmax-4), so the "for" loop is skipped ++ // 2. After the "for" loop, C += ptr-&buffer[C] sets C to zero ++ // 3. Now C = cmax means that the second "for" loop is skipped ++ // ++ // As a result, we can comment out this whole thing when ++ // C = cmax to avoid a crash. ++ if (C < cmax) { + longlong * ptr= &buffer[C],*ptrend=&buffer[0]+cmax-4; + const int *ptrN=&Nline[C]; + for (;ptr<ptrend;ptrN+=4,ptr+=4){ +@@ -8502,6 +8513,7 @@ namespace giac { + for (;C<cmax;++C){ + buffer[C] -= coeff*Nline[C]; + } ++ } + } + } + // copy back buffer to N[l] +-- +2.44.2 + diff --git a/sci-mathematics/giac/files/giac-1.9.0.995-glibcxx-assertions.patch b/sci-mathematics/giac/files/giac-1.9.0.995-glibcxx-assertions.patch new file mode 100644 index 000000000000..4c0d6d7d8d0a --- /dev/null +++ b/sci-mathematics/giac/files/giac-1.9.0.995-glibcxx-assertions.patch @@ -0,0 +1,38 @@ +From Michael Orlitzky <michael@orlitzky.com> in the original version +of the patch: + +This was added upstream when it was pointed out that the codebase +contains undefined behavior that triggers glibcxx's assertions. +Disabling the assertions without fixing the undefined behavior is not +a satisfactory solution, so we drop the override. + +diff --git a/configure.ac b/configure.ac +index 96b0223..cdc5618 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -48,7 +48,7 @@ AC_CHECK_FUNCS(tgammaf) + dnl avoid "security" checks for vectors is also included in first.h + dnl use -std=c++17 -march=native for vectorclass v2 optimizations + dnl -DUSE_OBJET_BIDON added because xcas::localisation() does not load locales correctly for modules loaded before main() is executed +-CXXFLAGS="$CXXFLAGS -U_GLIBCXX_ASSERTIONS -DUSE_OBJET_BIDON" ++CXXFLAGS="$CXXFLAGS -DUSE_OBJET_BIDON" + + dnl Define DOUBLEVAL if bigendian + if test "x$ac_cv_c_bigendian" = "xyes"; then +diff --git a/src/first.h b/src/first.h +index 7852c73..21e15b9 100644 +--- a/src/first.h ++++ b/src/first.h +@@ -25,9 +25,9 @@ + #define register + + +-#ifdef _GLIBCXX_ASSERTIONS +-#undef _GLIBCXX_ASSERTIONS +-#endif ++// #ifdef _GLIBCXX_ASSERTIONS ++// #undef _GLIBCXX_ASSERTIONS ++// #endif + + #if defined NUMWORKS && !defined SDL_KHICAS + #define KHICAS 1 diff --git a/sci-mathematics/giac/giac-1.9.0.93.ebuild b/sci-mathematics/giac/giac-1.9.0.995.ebuild index 9f42bdacc1a7..28dba8596875 100644 --- a/sci-mathematics/giac/giac-1.9.0.93.ebuild +++ b/sci-mathematics/giac/giac-1.9.0.995.ebuild @@ -10,6 +10,7 @@ MY_PV=$(ver_cut 1-3) DESCRIPTION="A free C++ Computer Algebra System library and its interfaces" HOMEPAGE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html" SRC_URI="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${FETCH_P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" # The licensing is explained in README. We disable or delete several # bundled features (MicroPytho, QuickJS, FLTK, gl2ps) that are @@ -58,7 +59,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.9.0.21-pari-2.15.patch" "${FILESDIR}/${PN}-1.9.0.67-system-gl2ps.patch" "${FILESDIR}/${P}-glibcxx-assertions.patch" - "${FILESDIR}/${P}-no-fltk-buildfix.patch" + "${FILESDIR}/${P}-fix-undefined-behavior.patch" ) REQUIRED_USE="test? ( gui )" @@ -68,8 +69,6 @@ REQUIRED_USE="test? ( gui )" # holder." RESTRICT="!test? ( test ) mirror" -S="${WORKDIR}/${PN}-${MY_PV}" - src_prepare() { # giac-1.9.0.55 tries to compile a bundled version of FLTK for you # if you pass --enable-fltk but the system version isn't detected. @@ -79,12 +78,16 @@ src_prepare() { # similar deal with gl2ps rm src/gl2ps.[ch] || die + # mjs is an arm executable artifact that should not have been shipped + # Removing it so it can be rebuilt with the host architecture + rm src/mkjs || die + default eautoreconf } src_configure() { - append-cxxflags -std=c++14 # bug 788283 + append-cxxflags -std=c++17 # bug 788283 if use gui; then append-cppflags -I$(fltk-config --includedir) diff --git a/sci-mathematics/rkward/Manifest b/sci-mathematics/rkward/Manifest index 9553dba6d5ad..b32434c8986e 100644 --- a/sci-mathematics/rkward/Manifest +++ b/sci-mathematics/rkward/Manifest @@ -1,6 +1,4 @@ AUX rkward-0.8.0-unbundle-kdsingleapplication.patch 2094 BLAKE2B a1214ddce2ae5eda93f9cb9ed9904f5b38f538b8ef9af4f3f39eef60edfb049da3034db5679c0581b8e76ff26d34eac46990d5cb84a8c75bac85eb460fa2894f SHA512 69cc9a68ce3d4b43758a4aa532da94e885f7d9701616d47bd197e0be44f48cef57e185815754ac4d63b9a30b8f663d097b6f0c5ac5dc904ea6dfe0bc5b40985f -DIST rkward-0.7.5.tar.gz 7682442 BLAKE2B b3c79dbc51585c646e88549d82b0a68a3246219b069d641f71beb25f2ac855d0c7a0e44e1cdba3da112ee94479584768ebd45fc37afb83fbd95de51bcc3f5a31 SHA512 247ee50fbebb9b74a1c03d6ef99dded18a1b3cf18286a6d2afcaa8ff7472cc3cb735db0a876926625aff4674906956f7a0c001a46d0dfd328a93e8c7af9f6c6b DIST rkward-0.8.0.tar.gz 8614382 BLAKE2B e44dd1c9ae5df02160ac47a14409a2fbf88dbc085369af22e64c80a59740f25305129e166402e944f85978cabde4d273a08f7f473eb46fdb31145ff8d886f46a SHA512 07070189e05fe1bdd65372fb3f90c027c693b93e3dc80a17bc30f90c983ca0bc777f30ea81ef99343ebdc90f463f47721d03f26d116145567c8ef6ca4ffdff27 -EBUILD rkward-0.7.5.ebuild 1425 BLAKE2B 17d68f72beaef5fb809a54480db2e93bf4b6c6870d78c080772724d514d6c7fe90aa5eb8cc0bee24330fbaaf0963c23f66305087fec55ca4c42294e83994fe0a SHA512 bbc7a4c98853a8786c94a5d63094d78c39fd9259057d062747146d8b03bb007f4fd78d90b7322f03425beebe61cb1b67b78be78ae21fb4624ff18e0345ab3e68 EBUILD rkward-0.8.0.ebuild 1788 BLAKE2B ddb2ca26400627c472282d4fcf0cc5e9d71852a570e8a463fd0e8707a8c74b92af21190bdfab642668ac57ff9c15cca64730c8f06bbd7a9736494e0095305806 SHA512 fb451201e90557f0eb03b6480b09ff15013c20e11bd36a2eeccfdd15060362e51a3d6e90167171326dbaefeb087413262a42ff3a2253346c76aa7ac1f8db215e MISC metadata.xml 448 BLAKE2B c43701b135281f800da40813b11df123d5088bfa0beb3e0700ba354e991ec18aac267dc0a0f3d206bdd06eef5d50f78378a107f05d1f01d17b0d409e632066de SHA512 b9b3c376714fc5c81008caed25794d262d2d60cafbd3fcdccfeccdf9666b16dbb09f1d06025526c8304c640e150492b685df95f200002e8ef41aed609b0893a8 diff --git a/sci-mathematics/rkward/rkward-0.7.5.ebuild b/sci-mathematics/rkward/rkward-0.7.5.ebuild deleted file mode 100644 index feca760015fe..000000000000 --- a/sci-mathematics/rkward/rkward-0.7.5.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -inherit ecm kde.org optfeature - -DESCRIPTION="IDE for the R-project" -HOMEPAGE="https://rkward.kde.org/" - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -LICENSE="GPL-2+ LGPL-2" -SLOT="5" -IUSE="" - -DEPEND=" - dev-lang/R - dev-qt/qtdeclarative:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwebengine:5[widgets] - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - kde-frameworks/karchive:5 - kde-frameworks/kcompletion:5 - kde-frameworks/kconfig:5 - kde-frameworks/kconfigwidgets:5 - kde-frameworks/kcoreaddons:5 - kde-frameworks/kcrash:5 - kde-frameworks/ki18n:5 - kde-frameworks/kio:5 - kde-frameworks/kjobwidgets:5 - kde-frameworks/knotifications:5 - kde-frameworks/kparts:5 - kde-frameworks/kservice:5 - kde-frameworks/ktexteditor:5 - kde-frameworks/kwidgetsaddons:5 - kde-frameworks/kwindowsystem:5 - kde-frameworks/kxmlgui:5 -" -RDEPEND="${DEPEND}" -BDEPEND="sys-devel/gettext" - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - optfeature "kate plugins support" "kde-apps/kate-addons:${SLOT}" - optfeature "prendering (or previewing) R markdown (.Rmd) files" "virtual/pandoc" - optfeature "managing citations while writing articles" "app-text/kbibtex" - fi - ecm_pkg_postinst -} |