File ppracer-0.3.1-png14.patch of Package ppracer

diff -ruN ./src/ppgltk/images/png_reader.cpp ../ppracer-0.3.1.patched//src/ppgltk/images/png_reader.cpp
--- ./src/ppgltk/images/png_reader.cpp	2005-02-27 17:10:47.000000000 +0800
+++ ../ppracer-0.3.1.patched//src/ppgltk/images/png_reader.cpp	2010-07-21 21:54:55.676876321 +0900
@@ -19,6 +19,9 @@
 
 #include "png_reader.h"
 
+#define png_infopp_NULL (png_infopp)NULL
+#define int_p_NULL (int*)NULL
+
 namespace pp {
 
 ReaderPNG::ReaderPNG(const char *fileName)
openSUSE Build Service is sponsored by