summaryrefslogtreecommitdiff
path: root/user/gambit-c/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-12-01 17:12:48 -0600
committerZach van Rijn <me@zv.io>2023-12-01 17:55:44 -0600
commitec2ce3515c9d7785ede8f0e64db011ed20088e97 (patch)
tree31174be6042e146e773a6c83f44fb211df2393cc /user/gambit-c/APKBUILD
parent1c36ca44c5ba757f8dde36a3b3fd516f8ed66514 (diff)
downloadpackages-ec2ce3515c9d7785ede8f0e64db011ed20088e97.tar.gz
packages-ec2ce3515c9d7785ede8f0e64db011ed20088e97.tar.bz2
packages-ec2ce3515c9d7785ede8f0e64db011ed20088e97.tar.xz
packages-ec2ce3515c9d7785ede8f0e64db011ed20088e97.zip
user/gambit-c: bump { 4.9.4 --> 4.9.5 }.
This provides SRFI 231, which "greatly improves upon" SRFI 179, but also experiences the same build failures, so we disable it. Ref: #934
Diffstat (limited to 'user/gambit-c/APKBUILD')
-rw-r--r--user/gambit-c/APKBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/user/gambit-c/APKBUILD b/user/gambit-c/APKBUILD
index 2104608b9..225984528 100644
--- a/user/gambit-c/APKBUILD
+++ b/user/gambit-c/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Zach van Rijn <me@zv.io>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=gambit-c
-pkgver=4.9.4
+pkgver=4.9.5
_pkgver=$(printf "%s" "${pkgver}" | tr . _)
-pkgrel=4
+pkgrel=0
pkgdesc="An efficient implementation of the Scheme programming language."
url="https://gambitscheme.org/"
arch="all"
@@ -13,14 +13,18 @@ makedepends="openssl-dev texinfo gnu-ghostscript"
subpackages="$pkgname-dev $pkgname-doc"
source="https://gambitscheme.org/$pkgver/gambit-v${_pkgver}.tgz
fix-incompatible-stat-usage.patch
- remove-non-ascii-character-from-gambit-txi.patch
reproducibility.patch
- 0001-Avoid-fixnum-overflow-on-32-bit-machines-in-port-set.patch
- s390.patch
-
- disable-srfi-179.patch
"
-builddir="$srcdir/gambit-$pkgver"
+builddir="$srcdir/gambit-v$_pkgver"
+
+prepare() {
+ default_prepare
+
+ #934
+ for srfi in 179 231; do
+ sed -i lib/srfi/makefile -e "s/\b${srfi}\b//g";
+ done
+}
build() {
# https://github.com/gambit/gambit/issues/249
@@ -76,10 +80,6 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
-sha512sums="3471062618949fe4e1eba19ca3170b8334065797d0c2f440050520ebca2af8bb6d57d9434b1756e5d67d4d4ec108c8e6a0c2900f01d8a35b71c979d776995ab1 gambit-v4_9_4.tgz
+sha512sums="5b5a6fc783851eac140590ef81e017de8301490095d56afa9e670d1a00ed0a31c621b6d48215af8ace9682ca21cd317200167cb95bfdc01a7312394c944597ff gambit-v4_9_5.tgz
a878994ea7c40b301d30b4d05879c335ad42e1ca8c25387556691192b6945276d6d6ff017ff568302558b23c42c61f223bddb3596b8203fbee8edbf4fdd9b813 fix-incompatible-stat-usage.patch
-45336179d3f61fa3d70c3517f368fd8ccd744b5981c4bbc2091ed0016e10940c1b24dd58ee4c8d59637d89865a4c6f0ea80dc49a8859b7a900331fdb0e1efe49 remove-non-ascii-character-from-gambit-txi.patch
-133ef5442c1bfe51e57caecd509c12cdecd86cfb941114a5038fad2c3e2bda1770fde7e367561039d523db5ea9cba5cebae7a9ed9daca699863267e7224f1ad6 reproducibility.patch
-2b11fe9957c22a4410070f887f507215703e7476f050ef90ee8ea04e66f0f602f5cf2877a6efb71e7355a767e50a4f2fa4ecdc7b4bd9b1971f3d1234ca980b8c 0001-Avoid-fixnum-overflow-on-32-bit-machines-in-port-set.patch
-a47db8bc273b7133647aac986339569cf5cd6724064634caeee9e90976265ff40983869960f8ccfd44600b8d357b4bd25f49567aee7e9e3ff429d4881512aae3 s390.patch
-d0da7949db7a83020fc7e4e139c7df292b4671adf0ba42fdfee4448915e6b697fbcecb3ca206507a3756dc39506e0d0c1f8d07ea5906bb5ce6ab6b42c18f0781 disable-srfi-179.patch"
+133ef5442c1bfe51e57caecd509c12cdecd86cfb941114a5038fad2c3e2bda1770fde7e367561039d523db5ea9cba5cebae7a9ed9daca699863267e7224f1ad6 reproducibility.patch"