summaryrefslogtreecommitdiffstats
path: root/games/chroma/gcc.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-02-23 07:59:47 +0100
committer Matteo Bernardini2019-02-23 07:59:47 +0100
commit1e0504fb667c2e46b7658648e95f6bec2232b005 (patch)
tree59f57dadb63234845f17b82010dc7c5fc11e1446 /games/chroma/gcc.patch
parent56fec0e2e3a00a31f6b83d66093db60a3bbb19f4 (diff)
downloadslackbuilds-current-20190223.1.tar.gz
20190223.1 global branch merge.current-20190223.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/chroma/gcc.patch')
-rw-r--r--games/chroma/gcc.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/games/chroma/gcc.patch b/games/chroma/gcc.patch
new file mode 100644
index 0000000000..22ef1b2ea7
--- /dev/null
+++ b/games/chroma/gcc.patch
@@ -0,0 +1,30 @@
+diff -Naur chroma-1.15.orig/sdlshadowdisplay.c chroma-1.15/sdlshadowdisplay.c
+--- chroma-1.15.orig/sdlshadowdisplay.c 2013-04-20 08:07:00.000000000 +0200
++++ chroma-1.15/sdlshadowdisplay.c 2017-08-02 12:07:56.327010753 +0200
+@@ -88,7 +88,7 @@
+ void displayshadowed_level(struct level* plevel);
+ void displayshadowed_movers(struct level* plevel, int redraw);
+
+-inline void displayshadowed_piece(struct level* plevel, int p, int x, int y, int d)
++void displayshadowed_piece(struct level* plevel, int p, int x, int y, int d)
+ {
+ SDL_Surface *pimage;
+
+@@ -255,7 +255,7 @@
+ }
+ }
+
+-inline void displayshadowed_pieceshadow(struct level* plevel, int p, int x, int y, int d)
++void displayshadowed_pieceshadow(struct level* plevel, int p, int x, int y, int d)
+ {
+ SDL_Surface *pimage;
+
+@@ -310,7 +310,7 @@
+ SDL_BlitSurface(pimage, &srect, screen_surface, &drect);
+ }
+
+-inline void displayshadowed_piecebase(struct level* plevel, int x, int y)
++void displayshadowed_piecebase(struct level* plevel, int x, int y)
+ {
+ int p;
+ SDL_Surface *pimage;