aboutsummaryrefslogtreecommitdiffstats
path: root/community/zsnes/zsnes-libpng15.patch
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2015-11-09 11:59:39 +0100
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-11-09 11:59:39 +0100
commitf27f694e518010617995ede72357067f1f9a6525 (patch)
treeddefed5a23d78e5118ff2cefb01c73f4e5e035ce /community/zsnes/zsnes-libpng15.patch
parente217298a190403f629f1f07454197d6bcc38155b (diff)
downloadaports-f27f694e518010617995ede72357067f1f9a6525.tar.bz2
aports-f27f694e518010617995ede72357067f1f9a6525.tar.xz
main/zsnes: move to community
Diffstat (limited to 'community/zsnes/zsnes-libpng15.patch')
-rw-r--r--community/zsnes/zsnes-libpng15.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/zsnes/zsnes-libpng15.patch b/community/zsnes/zsnes-libpng15.patch
new file mode 100644
index 0000000000..8f83171668
--- /dev/null
+++ b/community/zsnes/zsnes-libpng15.patch
@@ -0,0 +1,10 @@
+--- ./src/zip/zpng.c.orig
++++ ./src/zip/zpng.c
+@@ -129,7 +129,6 @@
+ 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));