summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authorgson <gson@pkgsrc.org>2014-11-23 14:38:34 +0000
committergson <gson@pkgsrc.org>2014-11-23 14:38:34 +0000
commit2a9ffa3cdcff127e0837b8332428d4b06be3d1ae (patch)
tree9fbd2fe88f04c4a09c9878f59bcb2df3e0cdca3a /graphics/netpbm
parent9a02584381ac1b78f4db61ce2eb96e6cd5400c40 (diff)
downloadpkgsrc-2a9ffa3cdcff127e0837b8332428d4b06be3d1ae.tar.gz
Use the libc vasprintf() on NetBSD. This fixes a bug where a warning
message from pnmtops would say "rescaling to g", with the letter "g" appearing in place of a floating point value. Bump PKGREVISION.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/Makefile4
-rw-r--r--graphics/netpbm/distinfo3
-rw-r--r--graphics/netpbm/patches/patch-pm__config.in.h13
3 files changed, 17 insertions, 3 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 1d7ba49b5ea..8dbe39aa90f 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.196 2014/10/23 23:41:32 fhajny Exp $
+# $NetBSD: Makefile,v 1.197 2014/11/23 14:38:34 gson Exp $
DISTNAME= netpbm-10.67.05
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= graphics
MASTER_SITES= #
# manually created from svn checkout of
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo
index f0055bb1819..7161e7cc2eb 100644
--- a/graphics/netpbm/distinfo
+++ b/graphics/netpbm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.94 2014/10/23 23:41:32 fhajny Exp $
+$NetBSD: distinfo,v 1.95 2014/11/23 14:38:34 gson Exp $
SHA1 (netpbm-10.67.05.tar.gz) = c08ce57d5a7bfb0c15d2840adca5ce1ac06c18a0
RMD160 (netpbm-10.67.05.tar.gz) = 5b6644db4698babe5a7cd214cfacde1d13b38e9b
@@ -8,3 +8,4 @@ RMD160 (netpbm-docs-r2273.tar.gz) = 31a0937cc3c650a0cea7b86771faabc86dbdeafb
Size (netpbm-docs-r2273.tar.gz) = 447100 bytes
SHA1 (patch-common.mk) = f590cc66e0fe6a07e848b9b46662bca350557bea
SHA1 (patch-lib_Makefile) = 3f93bd24c53aa1f22aa43545d7ca5422af8e78ca
+SHA1 (patch-pm__config.in.h) = 9cb3084371be4b354832581d47d552bfe9ff1ce1
diff --git a/graphics/netpbm/patches/patch-pm__config.in.h b/graphics/netpbm/patches/patch-pm__config.in.h
new file mode 100644
index 00000000000..02496142029
--- /dev/null
+++ b/graphics/netpbm/patches/patch-pm__config.in.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-pm__config.in.h,v 1.1 2014/11/23 14:38:34 gson Exp $
+
+--- pm_config.in.h.orig 2014-11-23 14:12:37.000000000 +0000
++++ pm_config.in.h
+@@ -139,7 +139,7 @@
+
+ /* #define HAVE_SETMODE */
+
+-#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__))
++#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__)) || defined(__NetBSD__)
+ #define HAVE_VASPRINTF 1
+ #else
+ #define HAVE_VASPRINTF 0