summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2016-05-16 21:23:31 +0000
committerrichard <richard@pkgsrc.org>2016-05-16 21:23:31 +0000
commit338aa003148d309eb041877081a6a23fe10d908f (patch)
treef7817e571ba3e03c07930e7d4c0f944ba5b386e6 /graphics/netpbm
parent3829add0e43398b36b928dc1fc8a812b49a18028 (diff)
downloadpkgsrc-338aa003148d309eb041877081a6a23fe10d908f.tar.gz
netpbm should use flex tool instead of lex and, while we're here, enable
vasprintf for SunOS. bump PKGREVISION
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/Makefile6
-rw-r--r--graphics/netpbm/distinfo4
-rw-r--r--graphics/netpbm/patches/patch-pm__config.in.h9
3 files changed, 10 insertions, 9 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 5b56a4db54f..aa2a0eb5ea8 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.207 2016/04/09 20:08:53 alnsn Exp $
+# $NetBSD: Makefile,v 1.208 2016/05/16 21:23:31 richard Exp $
DISTNAME= netpbm-10.68.02
CATEGORIES= graphics
MASTER_SITES= #
-PKGREVISION= 2
+PKGREVISION= 3
# manually created from svn checkout of
# svn checkout http://svn.code.sf.net/p/netpbm/code/advanced netpbm
# tar --exclude netpbm/.svn/\* -cvzf /archive/distfiles/netpbm-$VERSION.tar.gz netpbm
@@ -19,7 +19,7 @@ HOMEPAGE= http://netpbm.sourceforge.net/
COMMENT= Toolkit for conversion of images between different formats
LICENSE= gnu-gpl-v2
-USE_TOOLS+= gmake lex pax perl
+USE_TOOLS+= gmake flex pax perl
USE_FEATURES= snprintf
INSTALL_TARGET= install-dev install-run
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo
index 082baae9bea..28350a6933f 100644
--- a/graphics/netpbm/distinfo
+++ b/graphics/netpbm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.101 2015/11/03 21:34:11 agc Exp $
+$NetBSD: distinfo,v 1.102 2016/05/16 21:23:31 richard Exp $
SHA1 (netpbm-10.68.02.tar.gz) = 90fa87549dc7fb33bd7f9f29abad09fe99faf3e1
RMD160 (netpbm-10.68.02.tar.gz) = 7567eb6c38f06ad89b995b9315deec91db94bfb0
@@ -11,5 +11,5 @@ Size (netpbm-docs-r2313.tar.gz) = 447907 bytes
SHA1 (patch-common.mk) = f590cc66e0fe6a07e848b9b46662bca350557bea
SHA1 (patch-converter_other_giftopnm.c) = d64d645307e12b32d3a9ce56885bbfb3a4a80d23
SHA1 (patch-lib_Makefile) = 3f93bd24c53aa1f22aa43545d7ca5422af8e78ca
-SHA1 (patch-pm__config.in.h) = 9cb3084371be4b354832581d47d552bfe9ff1ce1
+SHA1 (patch-pm__config.in.h) = c6d51bbdf6c1f7725f08f321591038e296761e61
SHA1 (patch-wordaccess_be_aligned.h) = 7cc5cd1126f65b3307393c978ac9ff4a49d666de
diff --git a/graphics/netpbm/patches/patch-pm__config.in.h b/graphics/netpbm/patches/patch-pm__config.in.h
index 02496142029..b96999b779b 100644
--- a/graphics/netpbm/patches/patch-pm__config.in.h
+++ b/graphics/netpbm/patches/patch-pm__config.in.h
@@ -1,13 +1,14 @@
-$NetBSD: patch-pm__config.in.h,v 1.1 2014/11/23 14:38:34 gson Exp $
+$NetBSD: patch-pm__config.in.h,v 1.2 2016/05/16 21:23:31 richard Exp $
---- pm_config.in.h.orig 2014-11-23 14:12:37.000000000 +0000
+--- pm_config.in.h.orig 2014-09-08 21:53:09.000000000 +0000
+++ pm_config.in.h
-@@ -139,7 +139,7 @@
+@@ -139,7 +139,8 @@
/* #define HAVE_SETMODE */
-#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__))
-+#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__)) || defined(__NetBSD__)
++#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__)) \
++ || defined(__NetBSD__) || (defined(__SVR4) && defined (__sun))
#define HAVE_VASPRINTF 1
#else
#define HAVE_VASPRINTF 0