summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-02 17:01:17 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-02 17:01:17 +0000
commit71ab31518c37cc5e7f536489bbab3340fefd4b43 (patch)
treefaecff937c9bd4089731801a684ef21d2032f1ba
parenta08cf60a6e8035bdcfb5a694af946dd34b59bcc5 (diff)
downloadpkgsrc-71ab31518c37cc5e7f536489bbab3340fefd4b43.tar.gz
Save a bunch of coredump message in my dmesg and allow groff to compile
by fixing pnmtopng's opt parsing. Bump revision.
-rw-r--r--graphics/netpbm/Makefile3
-rw-r--r--graphics/netpbm/distinfo3
-rw-r--r--graphics/netpbm/patches/patch-ag22
3 files changed, 26 insertions, 2 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 12d6ab077b3..cceb322f750 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.128 2006/01/16 15:17:02 adam Exp $
+# $NetBSD: Makefile,v 1.129 2006/02/02 17:01:17 joerg Exp $
DISTNAME= netpbm-10.31
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo
index 2a23f1c8b09..095819af9ce 100644
--- a/graphics/netpbm/distinfo
+++ b/graphics/netpbm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.47 2006/02/02 16:04:35 joerg Exp $
+$NetBSD: distinfo,v 1.48 2006/02/02 17:01:17 joerg Exp $
SHA1 (netpbm-10.31.tgz) = c85d5c439e2bb81a5c5f7a5ab1068391c553caaa
RMD160 (netpbm-10.31.tgz) = abeb8b44ce3496f7b4127ca6e1a89bd11e5ef2bb
@@ -9,4 +9,5 @@ SHA1 (patch-ac) = 07f109139bf30da22b05d00189cbb7b4a5f8f05a
SHA1 (patch-ad) = b4a5833e18afd5a991aad897674386a3f00c3ee1
SHA1 (patch-ae) = 33a5be2843dd85b530f5e6ba496cd0380cd5edd1
SHA1 (patch-af) = 82e366af1c8b644cf374706c2eb113c370447de9
+SHA1 (patch-ag) = f291e9b45313c01b6aeeb2fc62cd9498e13baf72
SHA1 (patch-ah) = 638f2f48fc073011c8d436b38a274df6e8b31238
diff --git a/graphics/netpbm/patches/patch-ag b/graphics/netpbm/patches/patch-ag
new file mode 100644
index 00000000000..9f2f31a5eac
--- /dev/null
+++ b/graphics/netpbm/patches/patch-ag
@@ -0,0 +1,22 @@
+$NetBSD: patch-ag,v 1.12 2006/02/02 17:01:17 joerg Exp $
+
+--- converter/other/pnmtopng.c.orig 2006-02-02 16:52:10.000000000 +0000
++++ converter/other/pnmtopng.c
+@@ -267,7 +267,7 @@ parseCommandLine (int argc, char ** argv
+ unsigned int option_def_index;
+
+ unsigned int alphaSpec, transparentSpec, backgroundSpec;
+- unsigned int textSpec, ztxtSpec, modtimeSpec, paletteSpec;
++ unsigned int textSpec, ztxtSpec, paletteSpec;
+ unsigned int filterSpec;
+
+ unsigned int nofilter, sub, up, avg, paeth, filter;
+@@ -296,7 +296,7 @@ parseCommandLine (int argc, char ** argv
+ OPTENT3(0, "ztxt", OPT_STRING, &cmdlineP->ztxt,
+ &ztxtSpec, 0);
+ OPTENT3(0, "modtime", OPT_STRING, &modtime,
+- &modtimeSpec, 0);
++ &cmdlineP->modtimeSpec, 0);
+ OPTENT3(0, "palette", OPT_STRING, &cmdlineP->palette,
+ &paletteSpec, 0);
+ OPTENT3(0, "compression", OPT_UINT,