From c7a88da4407d23ff7ea6b039796fe416fd17dd10 Mon Sep 17 00:00:00 2001 From: Eric Long Date: Mon, 30 Oct 2023 11:47:48 +0800 Subject: [PATCH] updpatch: squeak-vm 4.10.2.2614-7 Update outdated config.{guess,sub}. I have sent an email report as said in http://squeakvm.org/unix/. --- squeak-vm/fix_not_literal_format.patch | 13 ------------- squeak-vm/riscv64.patch | 25 ++++++------------------- 2 files changed, 6 insertions(+), 32 deletions(-) delete mode 100644 squeak-vm/fix_not_literal_format.patch diff --git a/squeak-vm/fix_not_literal_format.patch b/squeak-vm/fix_not_literal_format.patch deleted file mode 100644 index ab51ed6a7..000000000 --- a/squeak-vm/fix_not_literal_format.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Cross/plugins/Squeak3D/b3dMain.c b/Cross/plugins/Squeak3D/b3dMain.c -index 2716d4a..b920906 100644 ---- a/Cross/plugins/Squeak3D/b3dMain.c -+++ b/Cross/plugins/Squeak3D/b3dMain.c -@@ -63,7 +63,7 @@ int maxEdges = 0; - /*************************************************************/ - - void b3dAbort(char *msg){ -- printf(msg); -+ printf("%s", msg); - exit(-1); - } - diff --git a/squeak-vm/riscv64.patch b/squeak-vm/riscv64.patch index a360c0f29..f8f942602 100644 --- a/squeak-vm/riscv64.patch +++ b/squeak-vm/riscv64.patch @@ -1,23 +1,10 @@ -diff --git PKGBUILD PKGBUILD -index 573ff2a..2c849b9 100644 --- PKGBUILD +++ PKGBUILD -@@ -13,8 +13,16 @@ url="http://squeakvm.org" - license=('custom:MIT' 'APACHE') - depends=('libgl' 'libpulse' 'libxrender') - makedepends=('cmake') --source=(http://squeakvm.org/unix/release/Squeak-$pkgver-src.tar.gz) --md5sums=('8a5cb1d6899d55df56154fab8716e034') -+source=(http://squeakvm.org/unix/release/Squeak-$pkgver-src.tar.gz -+ "fix_not_literal_format.patch") -+md5sums=('8a5cb1d6899d55df56154fab8716e034' -+ 'fcd5caf14353490280231a737c8a74b6') -+ -+prepare() { -+ cd Squeak-$pkgver-src/ -+ -+ patch -Np1 -i "${srcdir}/fix_not_literal_format.patch" -+} - +@@ -26,6 +26,7 @@ prepare() { build() { cd Squeak-$pkgver-src/ + ++ cp /usr/share/autoconf/build-aux/config.{guess,sub} unix/cmake + ./unix/cmake/configure --prefix=/usr --without-quartz --with-x \ + --enable-mpg-mmx +