From c730821d5684bcde26e262937382a8ceb7615357 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 6 Oct 2014 15:30:02 -0500 Subject: fix perl module loading --- package/p5-image-scale/patches/patch-src_png_c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/p5-image-scale/patches/patch-src_png_c (limited to 'package/p5-image-scale/patches/patch-src_png_c') diff --git a/package/p5-image-scale/patches/patch-src_png_c b/package/p5-image-scale/patches/patch-src_png_c new file mode 100644 index 000000000..a17a509c1 --- /dev/null +++ b/package/p5-image-scale/patches/patch-src_png_c @@ -0,0 +1,11 @@ +--- Image-Scale-0.08.orig/src/png.c 2011-07-11 10:03:28.000000000 -0500 ++++ Image-Scale-0.08/src/png.c 2014-10-06 15:07:14.824434687 -0500 +@@ -40,7 +40,7 @@ image_png_read_buf(png_structp png_ptr, + } + } + +- png_memcpy(data, buffer_ptr(im->buf), len); ++ memcpy(data, buffer_ptr(im->buf), len); + buffer_consume(im->buf, len); + + goto ok; -- cgit v1.2.3