summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-12-17 17:48:48 -0600
committerZach van Rijn <me@zv.io>2022-12-17 17:49:00 -0600
commitdff6194e48dfdfc1e26fd423d53c448d5f2f51c1 (patch)
tree9c7e6cff7a60edfc367008e5c24a0406a75c665c /user
parentf03bc9d2f646f279566267eec0855741deebe9ba (diff)
downloadpackages-dff6194e48dfdfc1e26fd423d53c448d5f2f51c1.tar.gz
packages-dff6194e48dfdfc1e26fd423d53c448d5f2f51c1.tar.bz2
packages-dff6194e48dfdfc1e26fd423d53c448d5f2f51c1.tar.xz
packages-dff6194e48dfdfc1e26fd423d53c448d5f2f51c1.zip
user/gambit-c: temporarily disable SRFI 179. see #934.
Diffstat (limited to 'user')
-rw-r--r--user/gambit-c/APKBUILD7
-rw-r--r--user/gambit-c/disable-srfi-179.patch21
2 files changed, 26 insertions, 2 deletions
diff --git a/user/gambit-c/APKBUILD b/user/gambit-c/APKBUILD
index b0c7bfbf5..73a03981f 100644
--- a/user/gambit-c/APKBUILD
+++ b/user/gambit-c/APKBUILD
@@ -3,7 +3,7 @@
pkgname=gambit-c
pkgver=4.9.4
_pkgver=$(printf "%s" "${pkgver}" | tr . _)
-pkgrel=0
+pkgrel=1
pkgdesc="An efficient implementation of the Scheme programming language."
url="https://gambitscheme.org/"
arch="all"
@@ -16,6 +16,8 @@ source="https://gambitscheme.org/$pkgver/gambit-v${_pkgver}.tgz
fix-incompatible-stat-usage.patch
remove-non-ascii-character-from-gambit-txi.patch
reproducibility.patch
+
+ disable-srfi-179.patch
"
builddir="$srcdir/gambit-$pkgver"
@@ -54,4 +56,5 @@ package() {
sha512sums="3471062618949fe4e1eba19ca3170b8334065797d0c2f440050520ebca2af8bb6d57d9434b1756e5d67d4d4ec108c8e6a0c2900f01d8a35b71c979d776995ab1 gambit-v4_9_4.tgz
a878994ea7c40b301d30b4d05879c335ad42e1ca8c25387556691192b6945276d6d6ff017ff568302558b23c42c61f223bddb3596b8203fbee8edbf4fdd9b813 fix-incompatible-stat-usage.patch
45336179d3f61fa3d70c3517f368fd8ccd744b5981c4bbc2091ed0016e10940c1b24dd58ee4c8d59637d89865a4c6f0ea80dc49a8859b7a900331fdb0e1efe49 remove-non-ascii-character-from-gambit-txi.patch
-133ef5442c1bfe51e57caecd509c12cdecd86cfb941114a5038fad2c3e2bda1770fde7e367561039d523db5ea9cba5cebae7a9ed9daca699863267e7224f1ad6 reproducibility.patch"
+133ef5442c1bfe51e57caecd509c12cdecd86cfb941114a5038fad2c3e2bda1770fde7e367561039d523db5ea9cba5cebae7a9ed9daca699863267e7224f1ad6 reproducibility.patch
+d0da7949db7a83020fc7e4e139c7df292b4671adf0ba42fdfee4448915e6b697fbcecb3ca206507a3756dc39506e0d0c1f8d07ea5906bb5ce6ab6b42c18f0781 disable-srfi-179.patch"
diff --git a/user/gambit-c/disable-srfi-179.patch b/user/gambit-c/disable-srfi-179.patch
new file mode 100644
index 000000000..5ae78c31c
--- /dev/null
+++ b/user/gambit-c/disable-srfi-179.patch
@@ -0,0 +1,21 @@
+This patch disables SRFI 179 because it may fail
+to compile on 32-bit systems due to exceeding the
+limit of addressable memory.
+
+Adjusting compilation flags or other parameters
+may be a viable alternative, but it is easier to
+disable it wholesale until a better fix is found.
+
+diff --git a/lib/srfi/makefile b/lib/srfi/makefile
+index fd13fbb6..dd4d8c99 100644
+--- a/lib/srfi/makefile
++++ b/lib/srfi/makefile
+@@ -2,7 +2,7 @@
+
+ herefromlib = srfi
+ libfromhere = ..
+-SUBDIRS = 179 132 41 158 69 \
++SUBDIRS = 132 41 158 69 \
+ 0 1 2 4 5 6 8 9 13 14 23 26 27 28 31 33 45 64 111 124 193 219
+ HEADERS_SCM =
+ MODULES_SCM =