summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2024-09-19 11:06:48 +1000
committerMatt Jolly <kangie@gentoo.org>2024-09-19 11:38:27 +1000
commitcbb8c04158f1c321aeba993a9989a283d85e8380 (patch)
tree9f0a390ccafb0d945d317b20d6a3d71cd109dbb3 /sci-calculators
parentsys-fs/android-file-transfer-linux: add 4.3, sync live (diff)
downloadgentoo-cbb8c04158f1c321aeba993a9989a283d85e8380.tar.gz
gentoo-cbb8c04158f1c321aeba993a9989a283d85e8380.tar.bz2
gentoo-cbb8c04158f1c321aeba993a9989a283d85e8380.zip
sci-calculators/tiemu: add patch for implicit-int
Closes: https://bugs.gentoo.org/919466 Co-authored-by: Matt Whitlock <gentoo@mattwhitlock.name> Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/tiemu/files/tiemu-3.03-implicit-int.patch16
-rw-r--r--sci-calculators/tiemu/tiemu-3.03-r2.ebuild1
2 files changed, 17 insertions, 0 deletions
diff --git a/sci-calculators/tiemu/files/tiemu-3.03-implicit-int.patch b/sci-calculators/tiemu/files/tiemu-3.03-implicit-int.patch
new file mode 100644
index 000000000000..c3f91a61be1d
--- /dev/null
+++ b/sci-calculators/tiemu/files/tiemu-3.03-implicit-int.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/915615
+
+Patch contributed by Matt Whitlock <gentoo@mattwhitlock.name>
+
+--- a/src/core/uae/gencpu.c
++++ b/src/core/uae/gencpu.c
+@@ -304,7 +304,7 @@
+ insn_n_cycles += 4;
+ }
+
+-static void fill_prefetch_next_1 (needcycles)
++static void fill_prefetch_next_1 (int needcycles)
+ {
+ if (needcycles && using_ce) {
+ printf ("\tint lostcycles;\n");
+
diff --git a/sci-calculators/tiemu/tiemu-3.03-r2.ebuild b/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
index 817fd4efec30..6c97f027df6c 100644
--- a/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
+++ b/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
@@ -36,6 +36,7 @@ PATCHES=(
"${FILESDIR}"/${P}-r2820.patch
"${FILESDIR}"/${P}-fix-ftbfs-with-customized-abort-function.patch
"${FILESDIR}"/${P}-clang16-build-fix.patch
+ "${FILESDIR}"/${P}-implicit-int.patch
)
src_prepare() {