commit:     c2e6572068547e86ba81b38940ff59692f274a24
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  5 12:03:24 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul  5 12:03:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2e65720

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 <AT> gentoo.org>

 games-emulation/generator/files/generator-0.35_p4-gcc.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

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 c0e22a05739..e82512f0e3f 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 @@

Reply via email to