summaryrefslogtreecommitdiff
path: root/dev-scheme/stklos
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-18 00:57:34 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-18 00:57:34 +0000
commit6330245077f9f298a785e17756a8f59a843361a5 (patch)
tree5230e465e0b66c66bfec278f434599739f6a7417 /dev-scheme/stklos
parent0a610f61a00066203da0b0ed9ba215efbb480f4f (diff)
gentoo auto-resync : 18:11:2022 - 00:57:34
Diffstat (limited to 'dev-scheme/stklos')
-rw-r--r--dev-scheme/stklos/Manifest3
-rw-r--r--dev-scheme/stklos/files/stklos-1.70-configure-clang16.patch15
-rw-r--r--dev-scheme/stklos/stklos-1.70-r1.ebuild (renamed from dev-scheme/stklos/stklos-1.70.ebuild)14
3 files changed, 27 insertions, 5 deletions
diff --git a/dev-scheme/stklos/Manifest b/dev-scheme/stklos/Manifest
index 6851ec222ceb..dbd9e33533f9 100644
--- a/dev-scheme/stklos/Manifest
+++ b/dev-scheme/stklos/Manifest
@@ -1,4 +1,5 @@
+AUX stklos-1.70-configure-clang16.patch 760 BLAKE2B c89264cb8eec7ad18a9289bd1f7ffe9c8f522b47de15bd27a832b12fa30a26d4b6a8e0f09a949563d78bd882b6fe986c093eb30112ca6a14a11fcda5f42ad632 SHA512 fe84d85a70995947dd2f6ae2729a5e0e17186be83dbbc34ce14217bcc6d5c7a74d7edd63b67b84f7a04c823234a437b55cd74e9f254b9b07c5ae10606511dcc2
AUX stklos-1.70-gentoo.patch 1937 BLAKE2B 42c534b6d84bc1c3a541bcb8e68ba0abf097f4ad0a1012df1a153ebed918bf2ea37e0c505c33cbdf07ab9dc57372df37a3fdefb3864201497f1cca6bfe888b64 SHA512 05f9c3263e46902c149cd4131c32092b24e4d2499596faa9c6d0d448a1e92a06eac466458e3cca5e688fa4a07e5e870ff81ca4d5a4171c50217b942ebf4850df
DIST stklos-1.70.tar.gz 8767615 BLAKE2B 7cae5b5d0c9b2d9dcccc47e78e70a562f2d1751de068668777441d29ee15be7f3c5c285b8297e367311cd8c9695c9a2d083ad7ea1d9c21c838cf1d819f7cb82c SHA512 64da09171b191688f750f10c29f10cd7393f326555d4324344faeac63547a2548407490e44a50f0afa348487bd9cc5106f3c344cab6935f3a3516b3c064a596f
-EBUILD stklos-1.70.ebuild 1010 BLAKE2B 16443bb3410300e26513ca3b932726452216904d3343c52f7fc78f2315684eca1b82956414d7d5ca85146f407113d7b9ce7db1ef64bd55ca5d295792768203c1 SHA512 9890fbafa369de3b458747a38ae63744bd9e2641fac6c9657f7d5a75cd1005bb069218de5943da9b02dad1c0250981b85080fd0d6c36ebda79eb994c4ce51a64
+EBUILD stklos-1.70-r1.ebuild 1058 BLAKE2B 9d5e1c88de4d0024acd0cbb115942cb3c1c898c8b115db913381393a656d3b6dbac1e05b914988223820fd044a7a3390d89f372e8b2bbfdcf1748447778b4b65 SHA512 3e6f45f637082e29789d373e697a497e027c3876c797ed729a9ebf744f5bd1901472a0157b36c147c60853c55882e0282c10d3a9bb6d571ac5ba7dd309c31960
MISC metadata.xml 603 BLAKE2B 631cd06bdc3a5b14371ffd07f6cde777eb99506a4383720a11395e4633f1fdb74d271b1a0e561e1b5bf64e55328186c2ca25870381e0283b46a5868550d5c925 SHA512 89db69dcb36c87b58587aef86590de1391e215213b444e135aa144fd78bf9b9ddbd366a07562e5de2f000e6b66f387ec24e0a56698ce076b8304288868a25859
diff --git a/dev-scheme/stklos/files/stklos-1.70-configure-clang16.patch b/dev-scheme/stklos/files/stklos-1.70-configure-clang16.patch
new file mode 100644
index 000000000000..51fa0842c032
--- /dev/null
+++ b/dev-scheme/stklos/files/stklos-1.70-configure-clang16.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/881693
+--- a/configure.ac
++++ b/configure.ac
+@@ -446,8 +446,9 @@ fi
+ ###
+ ### See in what direction the stack grows (code stolen from Sawfish)
+ ###
+-AC_RUN_IFELSE([AC_LANG_SOURCE([[ void inner (char *foo) { char bar; exit (!(foo >= &bar)); }
+- void main () { char foo; inner (&foo); } ]])],[STACK_DIRECTION="DOWN"],[STACK_DIRECTION="UP"],[echo "Stack direction is not detected when cross compiling for now"])
++AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdlib.h>
++ void inner (char *foo) { char bar; exit (!(foo >= &bar)); }
++ int main (void) { char foo; inner (&foo); } ]])],[STACK_DIRECTION="DOWN"],[STACK_DIRECTION="UP"],[echo "Stack direction is not detected when cross compiling for now"])
+
+
+
diff --git a/dev-scheme/stklos/stklos-1.70.ebuild b/dev-scheme/stklos/stklos-1.70-r1.ebuild
index d138654b1211..af8d4da1cbde 100644
--- a/dev-scheme/stklos/stklos-1.70.ebuild
+++ b/dev-scheme/stklos/stklos-1.70-r1.ebuild
@@ -5,7 +5,7 @@ EAPI="8"
inherit autotools toolchain-funcs
-DESCRIPTION="fast and light Scheme implementation"
+DESCRIPTION="Fast and light Scheme implementation"
HOMEPAGE="https://www.stklos.net/"
SRC_URI="https://www.${PN}.net/download/${P}.tar.gz"
@@ -20,18 +20,24 @@ RDEPEND="dev-libs/boehm-gc[threads?]
dev-libs/libpcre"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
DOCS=( AUTHORS ChangeLog {HACKING,NEWS}.md PACKAGES-USED {PORTING-NOTES,README}.md SUPPORTED-SRFIS )
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-configure-clang16.patch
+)
+
src_prepare() {
+ default
+
use threads || rm -f tests/srfis/216.stk
- default
eautoreconf
- export LD="$(tc-getCC)"
}
src_configure() {
+ export LD="$(tc-getCC)"
+
econf \
--enable-threads=$(usex threads pthreads none) \
--without-gmp-light \