freebsd-ports/graphics/p5-Image-Scale/files/patch-src-png.c
Andrej Zverev 0455713d75 - png_memcpy is now part of libpng private API,
replace it with memcpy.
- Pet portlint (trim Makefile header, remove ABI version on LIB_DEPENDS).

PR:		ports/172377
Submitted by:	Michael Curtis <michael@moltenmercury.org>
Approved by:	Mark Atkinson <atkin901@gmail.com> (maintainer)
2013-06-16 17:08:41 +00:00

14 lines
268 B
C

--- 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;