summaryrefslogtreecommitdiff
path: root/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch')
-rw-r--r--sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch b/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch
new file mode 100644
index 000000000000..10d57c7f9ee9
--- /dev/null
+++ b/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch
@@ -0,0 +1,23 @@
+Bug: https://bugs.gentoo.org/886067
+--- a/src/core/uae/newcpu.c
++++ b/src/core/uae/newcpu.c
+@@ -19,6 +19,8 @@
+ #include "options.h"
+ #include "memory.h"
+ #include "newcpu.h"
++#include "romcalls.h"
++#include "handles.h"
+
+ // tiemu begin
+ #include "tilibs.h"
+--- a/src/gui/logger/log_link.c
++++ b/src/gui/logger/log_link.c
+@@ -36,7 +36,7 @@
+ #include "filesel.h"
+
+ static GtkTextBuffer *txtbuf;
+-static logger_enabled = 0;
++static int logger_enabled = 0;
+
+ static void udpate_widgets(GtkWidget *button, GtkWidget *spin)
+ {