mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
testing/libretro-scummvm: fix build on loongarch64
Signed-off-by: Weijie Wang <wangweijie@loongson.cn>
This commit is contained in:
parent
fa62c4edc2
commit
fa85ca2682
@ -8,7 +8,9 @@ pkgdesc="ScummVM with libretro backend"
|
|||||||
url="https://github.com/libretro/scummvm"
|
url="https://github.com/libretro/scummvm"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/scummvm/archive/$_commit.tar.gz"
|
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/scummvm/archive/$_commit.tar.gz
|
||||||
|
fix-convertion-error.patch
|
||||||
|
"
|
||||||
builddir="$srcdir/scummvm-$_commit"
|
builddir="$srcdir/scummvm-$_commit"
|
||||||
options="!check" # No tests
|
options="!check" # No tests
|
||||||
|
|
||||||
@ -21,4 +23,7 @@ package() {
|
|||||||
"$pkgdir"/usr/lib/libretro/scummvm_libretro.so
|
"$pkgdir"/usr/lib/libretro/scummvm_libretro.so
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="e15be722b56960c09202e22e47bc6d497bca4343c49a0611cc5c98999ff2b8a67fee7b11e43e90574de5f642217cd6c2f92c92f58d87b4f87a7b4a5487b33f94 libretro-scummvm-6df2bdf73cc9596dbc0ef395d78e48a93e0854be.tar.gz"
|
sha512sums="
|
||||||
|
e15be722b56960c09202e22e47bc6d497bca4343c49a0611cc5c98999ff2b8a67fee7b11e43e90574de5f642217cd6c2f92c92f58d87b4f87a7b4a5487b33f94 libretro-scummvm-6df2bdf73cc9596dbc0ef395d78e48a93e0854be.tar.gz
|
||||||
|
17c058c9d77162f6d910656a5501e9d3728a54ee9d8ccba8b931d99dc7b9984b591eb313b88dd9a14f9837a5940e8c2eef7a1c1818e20cfafbbe33700fcc3a8d fix-convertion-error.patch
|
||||||
|
"
|
||||||
|
13
testing/libretro-scummvm/fix-convertion-error.patch
Normal file
13
testing/libretro-scummvm/fix-convertion-error.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/engines/sludge/loadsave.cpp b/engines/sludge/loadsave.cpp
|
||||||
|
index 453e78f..771a9cf 100644
|
||||||
|
--- a/engines/sludge/loadsave.cpp
|
||||||
|
+++ b/engines/sludge/loadsave.cpp
|
||||||
|
@@ -198,7 +198,7 @@ bool loadGame(const Common::String &fname) {
|
||||||
|
headerBad = true;
|
||||||
|
if (headerBad) {
|
||||||
|
fatal(ERROR_GAME_LOAD_NO, fname);
|
||||||
|
- return NULL;
|
||||||
|
+ return false;
|
||||||
|
}
|
||||||
|
char c;
|
||||||
|
c = fp->readByte();
|
Loading…
Reference in New Issue
Block a user