From c2e6572068547e86ba81b38940ff59692f274a24 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 5 Jul 2020 14:03:24 +0200 Subject: 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 --- games-emulation/generator/files/generator-0.35_p4-gcc.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'games-emulation/generator') 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 @@ -- cgit v1.2.3-65-gdbad