Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2013 17:08:41 +0000 (UTC)
From:      Andrej Zverev <az@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321061 - in head/graphics/p5-Image-Scale: . files
Message-ID:  <201306161708.r5GH8fir003658@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: az
Date: Sun Jun 16 17:08:41 2013
New Revision: 321061
URL: http://svnweb.freebsd.org/changeset/ports/321061

Log:
  - 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)

Added:
  head/graphics/p5-Image-Scale/files/
  head/graphics/p5-Image-Scale/files/patch-src-png.c   (contents, props changed)
Modified:
  head/graphics/p5-Image-Scale/Makefile   (contents, props changed)

Modified: head/graphics/p5-Image-Scale/Makefile
==============================================================================
--- head/graphics/p5-Image-Scale/Makefile	Sun Jun 16 17:05:55 2013	(r321060)
+++ head/graphics/p5-Image-Scale/Makefile	Sun Jun 16 17:08:41 2013	(r321061)
@@ -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

Added: head/graphics/p5-Image-Scale/files/patch-src-png.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/p5-Image-Scale/files/patch-src-png.c	Sun Jun 16 17:08:41 2013	(r321061)
@@ -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;
+
+
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306161708.r5GH8fir003658>