summaryrefslogtreecommitdiff
path: root/sci-calculators
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-27 14:48:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-27 14:48:06 +0100
commit3529f1bf2739399905cd55b27c7609459bfc069f (patch)
tree030ac4ab6cc001de1876af06bc97f8d480c911f1 /sci-calculators
parent0fcaac21e786bd7911b1e8f436cd885c5e2f6437 (diff)
gentoo auto-resync : 27:10:2023 - 14:48:06
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/Manifest.gzbin3203 -> 3203 bytes
-rw-r--r--sci-calculators/bc-gh/Manifest2
-rw-r--r--sci-calculators/bc-gh/bc-gh-6.7.2.ebuild77
-rw-r--r--sci-calculators/tiemu/Manifest3
-rw-r--r--sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch23
-rw-r--r--sci-calculators/tiemu/tiemu-3.03-r2.ebuild3
6 files changed, 106 insertions, 2 deletions
diff --git a/sci-calculators/Manifest.gz b/sci-calculators/Manifest.gz
index b97db1a20292..b6dcc951a8fb 100644
--- a/sci-calculators/Manifest.gz
+++ b/sci-calculators/Manifest.gz
Binary files differ
diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest
index c2d525bd8d68..3ef4000970a3 100644
--- a/sci-calculators/bc-gh/Manifest
+++ b/sci-calculators/bc-gh/Manifest
@@ -1,5 +1,7 @@
DIST bc-6.5.0.tar.xz 461380 BLAKE2B e4aa633162d03fc5723e967ba81f985ab1b16e47b3c9a3ca1c32e9a717db682ce88cc6ba453d5e9b09539dcb8ddbb258b7b7dbdd2e27279355e3c35028d56130 SHA512 1cb03038d828a0b10734c29931777add8b22f194c507b8ff538ec1aa52a2a97a4ac2733d72cdb0710fdc6937807074e929f7918c56aaf5be8fbe908ea7c5a401
DIST bc-6.7.0.tar.xz 466672 BLAKE2B 65e72095a1282d0861ad76b18aed2bf96bb3e92b2e9ec90cffce00ad70219071d6203e80b251dbcd13a7908a4219fe16b7120e29ac6924794ae1c217a3c3ca46 SHA512 a4b8c0b0ba8a214e2fdd271f5090d2977c8ee3053dc52d28cbd031a4a935f0e5d9c7be8df8e1cf106ac68c18faf136917a241f5e89597e271bf127df3d6d3f9f
+DIST bc-6.7.2.tar.xz 466432 BLAKE2B b0159a3171c2b21eb07832ed70e90a9d692f98a15bc1f3ef3aea502acf9bd1dcd12fba6f276b4c725a4bbff09fa5a3513d1f457f485808359e5b7774bd5afe3a SHA512 8614277acd6b0b923a37fd84a22d868b33a44fcfdcc05e5e7a1637b7fd3c03e80bb9f578db9799c1c6d74a30c5c26bf53bd8f2328d7cb7f16f9e105ca98ff8a3
EBUILD bc-gh-6.5.0.ebuild 2275 BLAKE2B ad96e10f0e974cf9dbe4465573334748618481e0698fc864741a55023a9df84270dd2e7584a7fe167039d1c66b1858f7a0662355e7368099dd2cdec089f343cd SHA512 41024e56641fd3e8304696298ead92602b8274661499768d06d0131858dcca3a030ccc6a72bd379a01e679fd8ef76422c5b084989606eff6c8314c6b67bf0613
EBUILD bc-gh-6.7.0.ebuild 2293 BLAKE2B e3ccf4f0062e65efe251da33e59d85571e6d786ab21f3ed5bdcebe2c862bc4054498947001ed473d6c9c7719716e9640f38e3c0095bb2bccb2ddac4807529dd7 SHA512 ec647a1e27377612f2541bf5a28069991a8869bfb670b40a80f7145bce3732ead9ced237c14761a781257b23737744bf3223f4982d3a37507598cf63c99ee5d9
+EBUILD bc-gh-6.7.2.ebuild 2293 BLAKE2B e3ccf4f0062e65efe251da33e59d85571e6d786ab21f3ed5bdcebe2c862bc4054498947001ed473d6c9c7719716e9640f38e3c0095bb2bccb2ddac4807529dd7 SHA512 ec647a1e27377612f2541bf5a28069991a8869bfb670b40a80f7145bce3732ead9ced237c14761a781257b23737744bf3223f4982d3a37507598cf63c99ee5d9
MISC metadata.xml 1050 BLAKE2B 4cf9aabd9e7abf20b857131ada67346f356135f329d8367753778cb406bfd337e695cdc0cbbcd2e237e1cd9ea9cfd8b80fa7458a64a68aec2b0f24882203af98 SHA512 492f8fa1f9abe2da452bc9a5a8ccc29fda87322832bddc1b9c4f55013e549cfaf34f11fa9ea6cc71566e670727bda1899eda598196f20a8931d327b4b4ae6dfb
diff --git a/sci-calculators/bc-gh/bc-gh-6.7.2.ebuild b/sci-calculators/bc-gh/bc-gh-6.7.2.ebuild
new file mode 100644
index 000000000000..5a1b0d786bf9
--- /dev/null
+++ b/sci-calculators/bc-gh/bc-gh-6.7.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo
+
+MY_P="bc-${PV}"
+DESCRIPTION="Implementation of POSIX bc with GNU extensions"
+HOMEPAGE="
+ https://git.gavinhoward.com/gavin/bc/
+ https://github.com/gavinhoward/bc/
+"
+SRC_URI="
+ https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="libedit readline"
+
+DEPEND="
+ !readline? (
+ libedit? ( dev-libs/libedit:= )
+ )
+ readline? (
+ sys-libs/readline:=
+ sys-libs/ncurses:=
+ )
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+src_configure() {
+ local myconf=(
+ # GNU and BSD bc's have slightly different behavior. This bc can act
+ # like both, changing at runtime with environment variables, but it
+ # needs defaults, which can be set at compile time. This option sets all
+ # of the defaults to match the GNU bc/dc since it's common on Linux.
+ -pGNU
+ # A lot of test results are generated first by a bc compatible with the
+ # GNU bc. If there is no GNU bc installed, then those tests should be
+ # skipped. That's what this option does. Without it, we would have a
+ # dependency cycle. Those tests are super long, anyway.
+ -G
+ # Disables the automatic stripping of binaries.
+ -T
+ # Enables installing all locales, which is important for packages.
+ -l
+ # Disables some "problematic" tests that need specific options on Linux
+ # to not trigger the OOM killer because malloc() lies.
+ -P
+ )
+ if use readline ; then
+ myconf+=( -r )
+ elif use libedit ; then
+ myconf+=( -e )
+ fi
+
+ local -x EXECSUFFIX="-gh"
+ local -x PREFIX="${EPREFIX}/usr"
+ edo ./configure.sh "${myconf[@]}"
+}
+
+src_test() {
+ # This is to fix a bug encountered on Arch. It is to ensure we don't get
+ # segfaults on `make check` when the error messages change because the error
+ # messages are passed to printf(); they have format specifiers. With these
+ # env vars, the internal error messages are used, instead of the installed
+ # locales, which might be different since the new locale files are not
+ # installed yet. (It is impossible to use uninstalled locales because of the
+ # poor design of POSIX locales.)
+ env LANG=C LC_ALL=C emake check
+}
diff --git a/sci-calculators/tiemu/Manifest b/sci-calculators/tiemu/Manifest
index f4b702b53eaf..fa9bde4816b6 100644
--- a/sci-calculators/tiemu/Manifest
+++ b/sci-calculators/tiemu/Manifest
@@ -1,6 +1,7 @@
+AUX tiemu-3.03-clang16-build-fix.patch 524 BLAKE2B b8a86c7e887b429b6d34fe29577b67c8a0d09ff4cee460ccc948959554c4f9ef93883450c7f6b26580c798b68fe5b8f2a4b1213ea3534c263f03f41dcf57a41a SHA512 1e339c9007f77777fdfaca0b618d0cf3b48f46201c6fef9c7831108ead5ee124c7871e303cfd55c7a778ecb9fabd9be3a87bed0977df6023515269d26e526d03
AUX tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch 417 BLAKE2B 8e0ba171ca47ca7769e793184cd2706084b052ccbb1580fe2c699f90dd2b710316f24a06eb2a1ebb94f8c5898127486176446552123d804143d8ae3eb767a42a SHA512 cee35f682d306acde6f8807e1923917c21b1da8d6fe031a6500598cd9942a0129628c03167ee5e7f112baeae7484db9f143b3fdb7717720b85384d9fc747b437
AUX tiemu-3.03-r2820.patch 797 BLAKE2B a333d890ab0aed23ebec5ddaa41c728d7e92acb0b28ac8fea65cec92537d724b32ba00b26b2aba5714ff978c6bdd8aee8e8060d144d1d739b40cb1da3b7e886d SHA512 303b2c070131127fec872b1e53ad8a25dd26ab9e85bc6812351b26e7c0c3fcec7ce50d68d7964b47f3f1f68092e0ebc5b9fe499c811981aed28a1aeb702f4a4e
AUX tiemu-3.03-remove_depreciated_gtk_calls.patch 5232 BLAKE2B 15c2016b9d73da648b8a8b62204a9901798a7c2129517c8bd1281f386f02e30c4e5eee885543eaff73d7041430b135048c34cd936ce10d08c310cb7f594d2f0a SHA512 7c5f254312086f1b1841c0abd2c6529f52fbfbbfb32c4621363fe58d6f0cfbaaeca610c7136e4d27a0393e88fadd098781db81ca144fb94c5c44d0d7744d53a3
DIST tiemu_3.03.orig.tar.gz 27343892 BLAKE2B 3fd5a14deb47ad0753f97f7707e1c3fa78477a6afa9a7afa99953fa77cb4d79d5ff8160dce87d24622e0fd2a95b3f35789ba1711e0eb94ce664ac329ce9fb16c SHA512 417f57b14ff603bc35ec1dcd7e6a884c28dc9decddcf775318cac1db383907a59d24dcef3c96324703a896672bd54caa51220126edd9e6c1642d87c4e75e127a
-EBUILD tiemu-3.03-r2.ebuild 1572 BLAKE2B 5351d927f9e0723884812f0df4a078005411e86700d800b9bdc073b84b7dd3920432732b5b3341d4a0528eda6d98e48eb393076abd6bd64ecbc7e398fae8ac6e SHA512 a356829afbad46538d55a4ead7a619755fd7e3f87158c2c0743d2194dfdae9215763885644bc59d9594f6e9093dbc1a97ebfb44ed30d78283e4983ba6b798e2b
+EBUILD tiemu-3.03-r2.ebuild 1616 BLAKE2B ec9c31a40ac776bf71fc5c8340692eb4206c2aa9133bbb9e813eeacc4cddb3611ceef1ea8fe4a995d382aae8eee503e281bdf3c7c141af77f5c6be49cd721f29 SHA512 6d89a327ec9579dcc319777c9bbed873978146a9992c4eb72240660906f9868f1aafdcad7548eb9a88f88fbc276a5962e7085917e84513432675f991a0062679
MISC metadata.xml 676 BLAKE2B e6dbb65c2f08850353d6058208445a9bf319367a3eb5f5feb64cc033d86e95f935f32c19d043568a5935f51370e4f53f7136961c836a00eed68914a7b5d6750d SHA512 183c4ad404e44ff9c217d6ed86031719f9fdb8e60d6cfc95825f2c3cb9dd97a021ef5b7130bf4eda671a8c5fbc2ddb5c7584bdca2e5a17cc9ddc0d59aedd181c
diff --git a/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch b/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch
new file mode 100644
index 000000000000..10d57c7f9ee9
--- /dev/null
+++ b/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch
@@ -0,0 +1,23 @@
+Bug: https://bugs.gentoo.org/886067
+--- a/src/core/uae/newcpu.c
++++ b/src/core/uae/newcpu.c
+@@ -19,6 +19,8 @@
+ #include "options.h"
+ #include "memory.h"
+ #include "newcpu.h"
++#include "romcalls.h"
++#include "handles.h"
+
+ // tiemu begin
+ #include "tilibs.h"
+--- a/src/gui/logger/log_link.c
++++ b/src/gui/logger/log_link.c
+@@ -36,7 +36,7 @@
+ #include "filesel.h"
+
+ static GtkTextBuffer *txtbuf;
+-static logger_enabled = 0;
++static int logger_enabled = 0;
+
+ static void udpate_widgets(GtkWidget *button, GtkWidget *spin)
+ {
diff --git a/sci-calculators/tiemu/tiemu-3.03-r2.ebuild b/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
index ef5c95e0d072..ff146a5fd377 100644
--- a/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
+++ b/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -35,6 +35,7 @@ PATCHES=(
"${FILESDIR}"/${P}-remove_depreciated_gtk_calls.patch
"${FILESDIR}"/${P}-r2820.patch
"${FILESDIR}"/${P}-fix-ftbfs-with-customized-abort-function.patch
+ "${FILESDIR}"/${P}-clang16-build-fix.patch
)
src_prepare() {