diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 43599 -> 43596 bytes | |||
-rw-r--r-- | sci-libs/gsl/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch | 26 | ||||
-rw-r--r-- | sci-libs/gsl/gsl-2.7.1-r2.ebuild (renamed from sci-libs/gsl/gsl-2.7.1-r1.ebuild) | 10 | ||||
-rw-r--r-- | sci-libs/libbraiding/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/libbraiding/libbraiding-1.2.ebuild | 21 |
6 files changed, 57 insertions, 5 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex e2ccfcdb254a..3228bb72ddc5 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest index b8e1689c96e2..b0061333a245 100644 --- a/sci-libs/gsl/Manifest +++ b/sci-libs/gsl/Manifest @@ -1,4 +1,5 @@ +AUX gsl-2.7.1-configure-clang16.patch 806 BLAKE2B 5b3552d9ad70de9100a77cdf822fc684c11798af9c53c22c1b12617483371ab143c84c6ec1564f0c43702ed490bf69346067c032b66a439e4a1f0a14f28b2b91 SHA512 3f7c67c1a0430c0e179118f341cda31334286c68d3945368f4c013354e9122d6e3c8fbda891d2654557895187197fdc0e2a512b1dd499bc4c936d87dea63adf0 DIST gsl-2.7-cblas.patch.bz2 12073 BLAKE2B 71f2bdafdb1f42ca5c3515f8e39266242185218495705018d88e523be9bc776b39749156500cdc5746a16e481e9cfe2b79660e250eb1a70f3b18819d16fe11c5 SHA512 5b9b2a798079610d7d4981b83672cc978ed44b66aaf6e671794685f10bd4069764bb358870019dc0eec1e251639cde12aaa3598cae0e2fc050ea39c79435fe2f DIST gsl-2.7.1.tar.gz 7509209 BLAKE2B dd216c2fdb536e57b6e29613e46e1a05183fd18c47434039caac68fefffc0390cfe2f21eb117347d4bbdf9004de837ef2db02c17c01eaea4b615e3e45a4fd90f SHA512 3300a748b63b583374701d5ae2a9db7349d0de51061a9f98e7c145b2f7de9710b3ad58b3318d0be2a9a287ace4cc5735bb9348cdf48075b98c1f6cc1029df131 -EBUILD gsl-2.7.1-r1.ebuild 1324 BLAKE2B 332fc0cc07608637b56ffaca93fc55bb92e4e7f8ddb2d57591a5decb3cc3d19c535e84b6c114b1c0772f501c7a715cd94cc8356980eca7bd55dd76e8bbb236c0 SHA512 40ece85664a857902c7c9877d7690f685622e8dbff3b92742458fd5d9642e5ff1b1ef719a0157201cccf587d626658ec5c18f580b057cf46cd32ab560dbfe16c +EBUILD gsl-2.7.1-r2.ebuild 1376 BLAKE2B 614318a581ce8f61c3436a777b0b4398c5e889eaa7fa6b1b5fb55f08c5084bbd909b5bd4f77bac2cace810a3591238be174f0e65c180c0ed82cd1e3a7160bbaf SHA512 09c193524558297fb27c477213d9dcb9945f7682cbb6683212ebe39eca345dba24722262ab0d9aa965a4c6d505b30d8768d309e82d8cf9616a76e99985150439 MISC metadata.xml 1267 BLAKE2B e27fbdab6ce95b910bb5897c715888454a101019bd6606e636a1ebe8b6d03fd1379fc2f92f6009977855d3371e67ce9fca7fe54d017fdedeedfa4e15d07bac3e SHA512 9b49d1f1cca5608be7998e82eba8eb267cc055f711e8f867bc77725fbbb3fc313190f4012740110fac1d12de19bfbe8165fbd0d184ef3ade6964da45ba601300 diff --git a/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch b/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch new file mode 100644 index 000000000000..ba239563a38e --- /dev/null +++ b/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch @@ -0,0 +1,26 @@ +https://bugs.gentoo.org/898410 +https://savannah.gnu.org/bugs/?63679 + +Avoid calling the undeclared exit function and future failures +with compilers which do not support implicit function declarations. + +--- a/configure.ac ++++ b/configure.ac +@@ -449,7 +449,7 @@ int main (void) + inf = exp(1.0e10); + nan = inf / inf ; + status = (nan == nan); +- exit (status); ++ return status; + }]])],[ac_cv_c_ieee_comparisons="yes"],[ac_cv_c_ieee_comparisons="no"],[ac_cv_c_ieee_comparisons="yes"]) + ]) + +@@ -469,7 +469,7 @@ int main (void) + for (i = 0; i < 5; i++) { z = z / 10.0 ; }; + for (i = 0; i < 5; i++) { z = z * 10.0 ; }; + status = (z == 0.0); +- exit (status); ++ return status; + }]])],[ac_cv_c_ieee_denormals="yes"],[ac_cv_c_ieee_denormals="no"],[ac_cv_c_ieee_denormals="yes"]) + ]) + diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r2.ebuild index 64e427099641..e65ec799e0d2 100644 --- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild +++ b/sci-libs/gsl/gsl-2.7.1-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools flag-o-matic toolchain-funcs @@ -22,20 +22,22 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${WORKDIR}"/${PN}-2.7-cblas.patch + "${FILESDIR}"/${PN}-2.7.1-configure-clang16.patch ) src_prepare() { - filter-flags -ffast-math - default if use deprecated; then sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die fi + eautoreconf } src_configure() { + filter-flags -ffast-math + if use cblas-external; then export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)" export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)" diff --git a/sci-libs/libbraiding/Manifest b/sci-libs/libbraiding/Manifest index 66df95130787..074e9e095d86 100644 --- a/sci-libs/libbraiding/Manifest +++ b/sci-libs/libbraiding/Manifest @@ -1,3 +1,5 @@ DIST libbraiding-1.1.tar.gz 377161 BLAKE2B 48a80823f15920fce17c7d67cdc0a7e851855a4d6dfa5e9e461c8ce408c9c73d8aeeeacd27ac1c5f33c4436e8174c6ae9be275a71187d3a9887d37cf3bc8b8db SHA512 3032a290d0c7c0c13519136e111500a9e22f36ae7f9cc36df5a22670f18ebbce03a01e72c81e556ef4f6eea1ccf10e90ba6a9343be4a229e420e2f7da6289115 +DIST libbraiding-1.2.tar.gz 380852 BLAKE2B 8d88861879e7566fa88f3a269c20efa4f37a692da6fd32736b695628a414cec0e03a01cb7a0cfcf20bd233fd21c15b070d9df3e0ee4951c9511949962b012f61 SHA512 f3dcfa77d5313ecfa91c0b9a61988eb2048dd27ed77f46a5c34fc57adb9eee53b250946a7158918b3198559bd016c723dba98465036d01c482b5c6000ab59d8a EBUILD libbraiding-1.1.ebuild 639 BLAKE2B e154d5f9cfc99515ddca38ae8cae2486b5eac1417a2bcbba9a227d4b0204c446ce1a6fe3aac38adeea0f0a1d9cc786ef970c5fba4d04fa5c79b2812005dd845c SHA512 6fbc25eb5a81fc310c920d582b66739affebc5e0eb9923cf53808446f883ad463b2ce18223a16b1d48625e6af5945b5d6f19569051a50b08a1039c331a44561c +EBUILD libbraiding-1.2.ebuild 568 BLAKE2B 7a161e1e84b345e980b630774dd04732668d08510b4a7127a4d4b19ed492f1dc1b43cebe9dbebe26c3d5bd1e7d582e794301816b83725dbc405a0d96b848423e SHA512 90562b20b82f3ba1b930c59b811eb4c1ca2c7d7c8ef85d492e0cd72918251f727c37d339fbdd4b81edc2fae9243f40cc759e8a3a5f56ff0ac0fa891aaf1fc401 MISC metadata.xml 1040 BLAKE2B de527a0accea92adf75f22b086920888d621f9c3e24c1a136149af13f4eaa8fdf4127354d6805b5e50d1772c906ff1db7dfd906eb7156908e95b5058c1c490f7 SHA512 cf25e11fae981f51eb8b9a16db8495f49d27e2a1e038e29bdf41f836aa2d56e9204b8912b9725d333ea2e3ba75ab52303e784d6ac3bc82f83f5e44509d71ccba diff --git a/sci-libs/libbraiding/libbraiding-1.2.ebuild b/sci-libs/libbraiding/libbraiding-1.2.ebuild new file mode 100644 index 000000000000..36538840bff4 --- /dev/null +++ b/sci-libs/libbraiding/libbraiding-1.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Expose the functionality of cbraid as a shared library" +HOMEPAGE="https://github.com/miguelmarco/libbraiding" + +SRC_URI="https://github.com/miguelmarco/${PN}/releases/download/${PV}/${P}.tar.gz" + +# A few source headers still say GPLv2, but I believe that to be an +# oversight: https://github.com/jeanluct/cbraid/issues/4 +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |