summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-10-31 07:52:07 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-10-31 07:52:19 +0000
commitb6f075cae0bd3a804fffb076fc803180830f4e03 (patch)
tree6e1e7a4c3ba68617847f07720d4d229f87f5c7d3 /games-emulation/generator/files
parentgames-emulation/generator: restore build-time depends (diff)
downloadgentoo-b6f075cae0bd3a804fffb076fc803180830f4e03.tar.gz
gentoo-b6f075cae0bd3a804fffb076fc803180830f4e03.tar.bz2
gentoo-b6f075cae0bd3a804fffb076fc803180830f4e03.zip
games-emulation/generator: tweak for gcc-9
Fixed-by: kleph Closes: https://bugs.gentoo.org/698944 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'games-emulation/generator/files')
-rw-r--r--games-emulation/generator/files/generator-0.35_p4-gcc-9.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-emulation/generator/files/generator-0.35_p4-gcc-9.patch b/games-emulation/generator/files/generator-0.35_p4-gcc-9.patch
new file mode 100644
index 000000000000..7b8eeafb7154
--- /dev/null
+++ b/games-emulation/generator/files/generator-0.35_p4-gcc-9.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/698944
+
+--- a/main/vdp.c
++++ b/main/vdp.c
+@@ -87,7 +87,7 @@ void vdp_describe(void);
+ void vdp_eventinit(void);
+ void vdp_layer_simple(unsigned int layer, unsigned int priority,
+ uint8 *fielddata, unsigned int lineoffset);
+-inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
++static void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
+ uint8 *cellloc, unsigned int lineoffset);
+ void vdp_sprites(unsigned int line, uint8 *pridata, uint8 *outdata);
+ int vdp_sprite_simple(unsigned int priority, uint8 *framedata,
+@@ -1733,7 +1733,7 @@ void vdp_endfield(void)
+ vdp_event_endline); */
+ }
+
+-inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
++static void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
+ uint8 *cellloc, unsigned int lineoffset)
+ {
+ int y, x;