summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-07-05 14:03:24 +0200
committerDavid Seifert <soap@gentoo.org>2020-07-05 14:03:24 +0200
commitc2e6572068547e86ba81b38940ff59692f274a24 (patch)
tree57b553cedfd990706049e804b1e610825246cd14 /games-emulation
parentgames-emulation/dgen-sdl: Fix compiling with clang (diff)
downloadgentoo-c2e6572068547e86ba81b38940ff59692f274a24.tar.gz
gentoo-c2e6572068547e86ba81b38940ff59692f274a24.tar.bz2
gentoo-c2e6572068547e86ba81b38940ff59692f274a24.zip
games-emulation/generator: Fix C99 inline semantics
Closes: https://bugs.gentoo.org/730776 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/generator/files/generator-0.35_p4-gcc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-emulation/generator/files/generator-0.35_p4-gcc.patch b/games-emulation/generator/files/generator-0.35_p4-gcc.patch
index c0e22a057395..e82512f0e3fb 100644
--- a/games-emulation/generator/files/generator-0.35_p4-gcc.patch
+++ b/games-emulation/generator/files/generator-0.35_p4-gcc.patch
@@ -9,6 +9,17 @@
#endif
#define LEN_SRAM 0x2000
+--- a/main/event.c
++++ b/main/event.c
+@@ -15,7 +15,7 @@
+
+ /* time for next event - update vdp_event - return when to call again */
+
+-inline void event_nextevent(void)
++void event_nextevent(void)
+ {
+ /* call this when it *is* time for the next event as dictated by vdp_event,
+ so we switch on it and update vdp_event at the same time */
--- a/main/vdp.c
+++ b/main/vdp.c
@@ -87,7 +87,7 @@