summaryrefslogtreecommitdiff
path: root/community/critter/criticalmass-1.0.2-libpng15.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/critter/criticalmass-1.0.2-libpng15.patch
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/critter/criticalmass-1.0.2-libpng15.patch')
-rw-r--r--community/critter/criticalmass-1.0.2-libpng15.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/community/critter/criticalmass-1.0.2-libpng15.patch b/community/critter/criticalmass-1.0.2-libpng15.patch
deleted file mode 100644
index ac1b8c0c6..000000000
--- a/community/critter/criticalmass-1.0.2-libpng15.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- game/main.cpp
-+++ game/main.cpp
-@@ -28,6 +28,8 @@
- #include <sys/stat.h>
- #include <sys/types.h>
-
-+#include <zlib.h>
-+
- void migrateConfig( void)
- {
- //if onlineCheck is not set, default it to true
---- utilssdl/PNG.cpp
-+++ utilssdl/PNG.cpp
-@@ -45,7 +45,7 @@
- {
- png_size_t check;
-
-- check = fwrite( data, 1, length, (FILE *)(png->io_ptr));
-+ check = fwrite( data, 1, length, (FILE *)(png_get_io_ptr(png)));
- if( check != length)
- {
- png_error( png, "Write Error");
-@@ -72,7 +72,7 @@
- return false;
- }
-
-- if( setjmp(_png->jmpbuf))
-+ if( setjmp(png_jmpbuf(_png)))
- {
- fclose( fp);
- png_destroy_write_struct(&_png, (png_infopp)NULL);