aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-06-17 01:08:41 +0800
committeraz <az@FreeBSD.org>2013-06-17 01:08:41 +0800
commit7fb78e1baf1151e99c1fe3e0a626041819581bd2 (patch)
treed89ab5367d9ddb94518c20ef2c0f605104afd533
parent8e5c4105eb9c255e81e43059417a00068ba471bf (diff)
downloadfreebsd-ports-gnome-7fb78e1baf1151e99c1fe3e0a626041819581bd2.tar.gz
freebsd-ports-gnome-7fb78e1baf1151e99c1fe3e0a626041819581bd2.tar.zst
freebsd-ports-gnome-7fb78e1baf1151e99c1fe3e0a626041819581bd2.zip
- 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)
-rw-r--r--graphics/p5-Image-Scale/Makefile11
-rw-r--r--graphics/p5-Image-Scale/files/patch-src-png.c14
2 files changed, 17 insertions, 8 deletions
diff --git a/graphics/p5-Image-Scale/Makefile b/graphics/p5-Image-Scale/Makefile
index fbdf1391fefe..df3501419e95 100644
--- a/graphics/p5-Image-Scale/Makefile
+++ b/graphics/p5-Image-Scale/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: p5-Image-Scale
-# Date created: 11 November 2011
-# Whom: Mark Atkinson <atkin901@gmail.com>
-#
+# Created by: Mark Atkinson <atkin901@gmail.com>
# $FreeBSD$
-#
PORTNAME= Image-Scale
PORTVERSION= 0.08
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -19,8 +15,7 @@ LICENSE= GPLv2
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
- gif.5:${PORTSDIR}/graphics/giflib
-
+ gif:${PORTSDIR}/graphics/giflib
TEST_DEPENDS= p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings
MAN3= Image::Scale.3
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;
+
+
+