From 0adff3ba523a4774fb9170083a68d68cf9c30050 Mon Sep 17 00:00:00 2001
From: Will Sinatra <wpsinatra@gmail.com>
Date: Tue, 29 Sep 2020 14:57:37 -0400
Subject: [PATCH 1/3] community/sbcl: upgrade to 2.0.9

---
 community/sbcl/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/sbcl/APKBUILD b/community/sbcl/APKBUILD
index d13a7f73d691..0fe8d75edf72 100644
--- a/community/sbcl/APKBUILD
+++ b/community/sbcl/APKBUILD
@@ -3,7 +3,7 @@
 # Contributor: Will Sinatra <wpsinatra@gmail.com>
 # Maintainer: Will Sinatra <wpsinatra@gmail.com>
 pkgname=sbcl
-pkgver=2.0.7
+pkgver=2.0.9
 pkgrel=0
 pkgdesc="Steel Bank Common Lisp"
 url="http://www.sbcl.org/"
@@ -45,7 +45,7 @@ package() {
 		"$pkgdir"/usr/share/info 2>/dev/null || true
 }
 
-sha512sums="02f39a2d643e2aebfe0e96611a9bca7cd859ff8a64d0e552cb4e39697a72a69fc51eacf40388bb49d64d851ea4005f9098100e490001d028844d0e2adc3b1490  sbcl-2.0.7.tar.bz2
+sha512sums="bc2351d524d6184ee9e60bc33a517f186e55a1dbfbf23288187d9a083fb2ba07985154ff03449eb49a0e2ff7aad9facd5d1ef43472201869561fb694bf04d4dd  sbcl-2.0.9.tar.bz2
 7c7d7b982814435463a7678ff59ab354426bcee62a3b7ba253d8da1391e68c614cd4d90970fbbfd68ea0927c2689b6c16f01b0e0185489329700ce21aaa5a92c  0004-Only-include-old-memcpy-version-on-glibc.patch
 6f49d1f1c6bd4e8d839e6b4ab3bb74cbdcce85ee83a0f1c5efab04d97b613a624f8874dadd7f6d981940ff28c468f00b74a56ff2afc53f41884d753ac7a5028f  Fix-ARM-build-using-ECL-host.patch
 367454a75de122134fdbf1064182a96ee00cf0685db0922134fdbdfc0e0bb2c6a5cfb9878f23409eca48a443e0f19b291f8d380e3475176a4c8cea0c9768c2bd  march-armv5-removed.patch"
-- 
GitLab


From 55d36bd1ce48c2867df4bc1bd26ef22485077434 Mon Sep 17 00:00:00 2001
From: Will Sinatra <wpsinatra@gmail.com>
Date: Tue, 29 Sep 2020 22:58:25 -0400
Subject: [PATCH 2/3] testing without patches, these are likely upstreamed now

---
 community/sbcl/APKBUILD | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/community/sbcl/APKBUILD b/community/sbcl/APKBUILD
index 0fe8d75edf72..2ae3941a0da1 100644
--- a/community/sbcl/APKBUILD
+++ b/community/sbcl/APKBUILD
@@ -13,10 +13,10 @@ options="!check"
 checkdepends="ed"
 makedepends="ecl ecl-dev gmp-dev gc gc-dev libffi-dev linux-headers paxmark zlib-dev"
 subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.bz2::https://prdownloads.sourceforge.net/sbcl/sbcl-$pkgver-source.tar.bz2
-	0004-Only-include-old-memcpy-version-on-glibc.patch
-	Fix-ARM-build-using-ECL-host.patch
-	march-armv5-removed.patch"
+source="$pkgname-$pkgver.tar.bz2::https://prdownloads.sourceforge.net/sbcl/sbcl-$pkgver-source.tar.bz2"
+	#0004-Only-include-old-memcpy-version-on-glibc.patch
+	#Fix-ARM-build-using-ECL-host.patch
+	#march-armv5-removed.patch"
 
 build() {
 	all_arch_conf='--with-sb-test --with-sb-unicode --with-sb-core-compression'
@@ -45,7 +45,4 @@ package() {
 		"$pkgdir"/usr/share/info 2>/dev/null || true
 }
 
-sha512sums="bc2351d524d6184ee9e60bc33a517f186e55a1dbfbf23288187d9a083fb2ba07985154ff03449eb49a0e2ff7aad9facd5d1ef43472201869561fb694bf04d4dd  sbcl-2.0.9.tar.bz2
-7c7d7b982814435463a7678ff59ab354426bcee62a3b7ba253d8da1391e68c614cd4d90970fbbfd68ea0927c2689b6c16f01b0e0185489329700ce21aaa5a92c  0004-Only-include-old-memcpy-version-on-glibc.patch
-6f49d1f1c6bd4e8d839e6b4ab3bb74cbdcce85ee83a0f1c5efab04d97b613a624f8874dadd7f6d981940ff28c468f00b74a56ff2afc53f41884d753ac7a5028f  Fix-ARM-build-using-ECL-host.patch
-367454a75de122134fdbf1064182a96ee00cf0685db0922134fdbdfc0e0bb2c6a5cfb9878f23409eca48a443e0f19b291f8d380e3475176a4c8cea0c9768c2bd  march-armv5-removed.patch"
+sha512sums="bc2351d524d6184ee9e60bc33a517f186e55a1dbfbf23288187d9a083fb2ba07985154ff03449eb49a0e2ff7aad9facd5d1ef43472201869561fb694bf04d4dd  sbcl-2.0.9.tar.bz2"
-- 
GitLab


From 3dfbb5ac240c24949eeefc392009fb37b51fa088 Mon Sep 17 00:00:00 2001
From: Will Sinatra <wpsinatra@gmail.com>
Date: Wed, 30 Sep 2020 07:37:06 -0400
Subject: [PATCH 3/3] march-armv5 patch needed, add back

---
 community/sbcl/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/community/sbcl/APKBUILD b/community/sbcl/APKBUILD
index 2ae3941a0da1..19e27769f308 100644
--- a/community/sbcl/APKBUILD
+++ b/community/sbcl/APKBUILD
@@ -13,7 +13,8 @@ options="!check"
 checkdepends="ed"
 makedepends="ecl ecl-dev gmp-dev gc gc-dev libffi-dev linux-headers paxmark zlib-dev"
 subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.bz2::https://prdownloads.sourceforge.net/sbcl/sbcl-$pkgver-source.tar.bz2"
+source="$pkgname-$pkgver.tar.bz2::https://prdownloads.sourceforge.net/sbcl/sbcl-$pkgver-source.tar.bz2
+	march-armv5-removed.patch"
 	#0004-Only-include-old-memcpy-version-on-glibc.patch
 	#Fix-ARM-build-using-ECL-host.patch
 	#march-armv5-removed.patch"
@@ -45,4 +46,5 @@ package() {
 		"$pkgdir"/usr/share/info 2>/dev/null || true
 }
 
-sha512sums="bc2351d524d6184ee9e60bc33a517f186e55a1dbfbf23288187d9a083fb2ba07985154ff03449eb49a0e2ff7aad9facd5d1ef43472201869561fb694bf04d4dd  sbcl-2.0.9.tar.bz2"
+sha512sums="bc2351d524d6184ee9e60bc33a517f186e55a1dbfbf23288187d9a083fb2ba07985154ff03449eb49a0e2ff7aad9facd5d1ef43472201869561fb694bf04d4dd  sbcl-2.0.9.tar.bz2
+367454a75de122134fdbf1064182a96ee00cf0685db0922134fdbdfc0e0bb2c6a5cfb9878f23409eca48a443e0f19b291f8d380e3475176a4c8cea0c9768c2bd  march-armv5-removed.patch"
-- 
GitLab