aboutsummaryrefslogtreecommitdiff
path: root/emulators/zsnes/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-12-23 23:39:53 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-12-23 23:39:53 +0000
commitde40ad94ae9a5a473553e7333d19bcff334564e3 (patch)
tree7b4603be91bca96da5b68bad7602b997dcfcb05e /emulators/zsnes/files
parent5a0aee42a5678aae679e35c6985efa434b10c0fd (diff)
downloadports-de40ad94ae9a5a473553e7333d19bcff334564e3.tar.gz
ports-de40ad94ae9a5a473553e7333d19bcff334564e3.zip
Properly patch for png 1.5
Notes
Notes: svn path=/head/; revision=375374
Diffstat (limited to 'emulators/zsnes/files')
-rw-r--r--emulators/zsnes/files/patch-zip_zpng.c10
-rw-r--r--emulators/zsnes/files/patch-zpng.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/emulators/zsnes/files/patch-zip_zpng.c b/emulators/zsnes/files/patch-zip_zpng.c
new file mode 100644
index 000000000000..fd5b2f8b2cb0
--- /dev/null
+++ b/emulators/zsnes/files/patch-zip_zpng.c
@@ -0,0 +1,10 @@
+--- zip/zpng.c.orig 2007-01-15 23:06:29 UTC
++++ zip/zpng.c
+@@ -129,7 +129,6 @@ int Png_Dump(const char *filename, unsig
+ png_set_IHDR(png_ptr, info_ptr, width, height, 8,
+ PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE,
+ PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
+- info_ptr->color_type = PNG_COLOR_TYPE_RGB;
+
+ //Allocate an array of scanline pointers
+ row_pointers = (png_bytep*)malloc(height*sizeof(png_bytep));
diff --git a/emulators/zsnes/files/patch-zpng.c b/emulators/zsnes/files/patch-zpng.c
deleted file mode 100644
index 11fe1536d4f4..000000000000
--- a/emulators/zsnes/files/patch-zpng.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- zip/zpng.c.orig 2007-01-16 00:06:29.000000000 +0100
-+++ zip/zpng.c 2012-05-06 16:01:13.000000000 +0200
-@@ -21,6 +21,7 @@
-
- #ifndef NO_PNG
- #include <png.h>
-+#include <pngpriv.h>
- #endif
-
- #ifdef __UNIXSDL__