commit:     cbb8c04158f1c321aeba993a9989a283d85e8380
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 19 01:06:48 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 01:38:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb8c041

sci-calculators/tiemu: add patch for implicit-int

Closes: https://bugs.gentoo.org/919466
Co-authored-by: Matt Whitlock <gentoo <AT> mattwhitlock.name>
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 .../tiemu/files/tiemu-3.03-implicit-int.patch            | 16 ++++++++++++++++
 sci-calculators/tiemu/tiemu-3.03-r2.ebuild               |  1 +
 2 files changed, 17 insertions(+)

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 <[email protected]>
+
+--- 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() {

Reply via email to