aboutsummaryrefslogtreecommitdiffstats
path: root/games/spacejunk/files/patch-src-SFont.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/spacejunk/files/patch-src-SFont.c')
-rw-r--r--games/spacejunk/files/patch-src-SFont.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/spacejunk/files/patch-src-SFont.c b/games/spacejunk/files/patch-src-SFont.c
new file mode 100644
index 000000000000..b139751b8364
--- /dev/null
+++ b/games/spacejunk/files/patch-src-SFont.c
@@ -0,0 +1,12 @@
+Clang compatibility
+--- src/SFont.c.orig 2013-06-14 01:28:33.767289275 +0400
++++ src/SFont.c 2013-06-14 01:39:06.709113401 +0400
+@@ -72,7 +72,7 @@
+ return -1;
+ }
+
+-Uint32 searchFirstPixel(SDL_Surface* s,int* X,int* Y,int* MinY){
++void searchFirstPixel(SDL_Surface* s,int* X,int* Y,int* MinY){
+ Uint32 bgpixel = GetPixel(s, 0, s->h-1);
+
+ int x=0;