aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Image-Scale/files/patch-src-png.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-Image-Scale/files/patch-src-png.c')
-rw-r--r--graphics/p5-Image-Scale/files/patch-src-png.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/p5-Image-Scale/files/patch-src-png.c b/graphics/p5-Image-Scale/files/patch-src-png.c
new file mode 100644
index 000000000000..737b6a67fb16
--- /dev/null
+++ b/graphics/p5-Image-Scale/files/patch-src-png.c
@@ -0,0 +1,14 @@
+--- src/png.c 2011-07-12 01:03:28.000000000 +1000
++++ src/png.c 2012-10-04 01:53:55.000000000 +1000
+@@ -40,7 +40,7 @@
+ }
+ }
+
+- png_memcpy(data, buffer_ptr(im->buf), len);
++ memcpy(data, buffer_ptr(im->buf), len);
+ buffer_consume(im->buf, len);
+
+ goto ok;
+
+
+