summary refs log tree commit diff
path: root/pkgs/games/xmoto/r3402.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/xmoto/r3402.patch')
-rw-r--r--pkgs/games/xmoto/r3402.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/games/xmoto/r3402.patch b/pkgs/games/xmoto/r3402.patch
new file mode 100644
index 00000000000..787e5625b5f
--- /dev/null
+++ b/pkgs/games/xmoto/r3402.patch
@@ -0,0 +1,26 @@
+Index: a/src/image/tim_png.cpp
+===================================================================
+--- a/src/image/tim_png.cpp	(revision 3401)
++++ b/src/image/tim_png.cpp	(revision 3402)
+@@ -25,7 +25,8 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include "tim.h"
+-#include "png.h"
++#include <png.h>
++#include <zlib.h>
+ 
+ /*==============================================================================
+ Types
+Index: ChangeLog
+===================================================================
+--- a/ChangeLog	(revision 3401)
++++ b/ChangeLog	(revision 3402)
+@@ -1,3 +1,7 @@
++X-Moto 0.5.10 2012-
++--------------------------------
++ * libpng patch by Kelly Anderson
++
+ X-Moto 0.5.9 2011-11-13
+ --------------------------------
+  * fix a compilation error with libxml