summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-02-04 21:17:17 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-02-04 21:17:23 +0000
commiteb59b32637163183ba71a90a1bcf5ce74ff22dc4 (patch)
tree1aff92a50dc261e602d02f128aec2146100e2dfe /games-emulation/zsnes/files
parentnet-irc/telepathy-idle: remove old (diff)
downloadgentoo-eb59b32637163183ba71a90a1bcf5ce74ff22dc4.tar.gz
gentoo-eb59b32637163183ba71a90a1bcf5ce74ff22dc4.tar.bz2
gentoo-eb59b32637163183ba71a90a1bcf5ce74ff22dc4.zip
games-emulation/zsnes: tweak for gcc-10
Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'games-emulation/zsnes/files')
-rw-r--r--games-emulation/zsnes/files/zsnes-1.51-gcc-10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-emulation/zsnes/files/zsnes-1.51-gcc-10.patch b/games-emulation/zsnes/files/zsnes-1.51-gcc-10.patch
new file mode 100644
index 000000000000..71a1392e6a4e
--- /dev/null
+++ b/games-emulation/zsnes/files/zsnes-1.51-gcc-10.patch
@@ -0,0 +1,11 @@
+--- a/initc.c
++++ b/initc.c
+@@ -1495,7 +1495,7 @@ Would be nice to trash this section in the future
+ extern unsigned char ENVDisable, cycpb268, cycpb358, cycpbl2, cycpblt2, cycpbl;
+ extern unsigned char cycpblt, opexec268, opexec358, opexec268b, opexec358b;
+ extern unsigned char opexec268cph, opexec358cph, opexec268cphb, opexec358cphb;
+-bool HacksDisable;
++extern bool HacksDisable;
+
+ void headerhack()
+ {