summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-01-29 20:15:59 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-01-29 20:16:32 +0000
commit8c07d209f2974a24906f4ac9bdddd48e0dc3b063 (patch)
treec1d354d69462134d3143948671b3dca30746f8c7 /app-emulation/ski/files
parentsys-kernel/linux-headers: bump up to 5.5 (diff)
downloadgentoo-8c07d209f2974a24906f4ac9bdddd48e0dc3b063.tar.gz
gentoo-8c07d209f2974a24906f4ac9bdddd48e0dc3b063.tar.bz2
gentoo-8c07d209f2974a24906f4ac9bdddd48e0dc3b063.zip
app-emulation/ski: tweak for gcc-10
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/707144 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-emulation/ski/files')
-rw-r--r--app-emulation/ski/files/ski-1.3.2-gcc-10.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-emulation/ski/files/ski-1.3.2-gcc-10.patch b/app-emulation/ski/files/ski-1.3.2-gcc-10.patch
new file mode 100644
index 000000000000..bfe5de33acbf
--- /dev/null
+++ b/app-emulation/ski/files/ski-1.3.2-gcc-10.patch
@@ -0,0 +1,22 @@
+--- a/src/linux/syscall-linux.c
++++ b/src/linux/syscall-linux.c
+@@ -538,7 +538,7 @@ pid_t cons_pid = -1;
+ static int cfd = -1;
+ BOOL trace_syscalls;
+ char *consLog = NULL;
+-extern BOOL noConsole;
++BOOL noConsole;
+ extern BOOL userint;
+ static struct termios sane_ttyIos;
+
+--- a/src/platform.c
++++ b/src/platform.c
+@@ -29,7 +29,7 @@
+ #include "platform.h"
+ #include "state.h"
+
+-BOOL autoAlloc, noConsole;
++extern BOOL autoAlloc, noConsole;
+ extern char *consLog;
+ extern unsigned va_len, pa_len, rid_len, key_len;
+ extern unsigned mips;