summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Image-Scale/files/libpng-1.5-memcpy.patch')
-rw-r--r--dev-perl/Image-Scale/files/libpng-1.5-memcpy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-perl/Image-Scale/files/libpng-1.5-memcpy.patch b/dev-perl/Image-Scale/files/libpng-1.5-memcpy.patch
new file mode 100644
index 000000000000..fa9ad60cbc4e
--- /dev/null
+++ b/dev-perl/Image-Scale/files/libpng-1.5-memcpy.patch
@@ -0,0 +1,11 @@
+--- a/src/png.c
++++ b/src/png.c
+@@ -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;