summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/netpbm/Makefile4
-rw-r--r--graphics/netpbm/distinfo3
-rw-r--r--graphics/netpbm/patches/patch-ai13
3 files changed, 17 insertions, 3 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index b5a2499b377..1fd5e12cee3 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.131 2006/02/14 21:57:44 adam Exp $
+# $NetBSD: Makefile,v 1.132 2006/02/23 17:37:01 wiz Exp $
DISTNAME= netpbm-10.31
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo
index dcab3b0fdb1..dbbd1f1bd33 100644
--- a/graphics/netpbm/distinfo
+++ b/graphics/netpbm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.50 2006/02/14 21:57:44 adam Exp $
+$NetBSD: distinfo,v 1.51 2006/02/23 17:37:01 wiz Exp $
SHA1 (netpbm-10.31.tgz) = c85d5c439e2bb81a5c5f7a5ab1068391c553caaa
RMD160 (netpbm-10.31.tgz) = abeb8b44ce3496f7b4127ca6e1a89bd11e5ef2bb
@@ -11,3 +11,4 @@ SHA1 (patch-ae) = 33a5be2843dd85b530f5e6ba496cd0380cd5edd1
SHA1 (patch-af) = 41c3506dcd267ce15d5b7e5ff9b0c1ee97b54e26
SHA1 (patch-ag) = f291e9b45313c01b6aeeb2fc62cd9498e13baf72
SHA1 (patch-ah) = f2a542983932edebee2110868e631b394f380b26
+SHA1 (patch-ai) = 7eb478ae8cfe535e540c031a4a67de77c1225eaa
diff --git a/graphics/netpbm/patches/patch-ai b/graphics/netpbm/patches/patch-ai
new file mode 100644
index 00000000000..0c757176573
--- /dev/null
+++ b/graphics/netpbm/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.7 2006/02/23 17:37:01 wiz Exp $
+
+--- converter/other/xwdtopnm.c.orig 2005-12-15 03:45:59.000000000 +0000
++++ converter/other/xwdtopnm.c
+@@ -988,7 +988,7 @@ getpix(pixelReader * const rdrP) {
+ (rdrP->itemBuffer >> nBitsToLeave) & bitsToTakeMask;
+ } else {
+ bitsToTake = rdrP->itemBuffer & bitsToTakeMask;
+- bitsToTake >>= nBitsToTake;
++ rdrP->itemBuffer >>= nBitsToTake;
+ }
+ /* Shift the bits into the right end of the accumulator */
+ pixel <<= nBitsToTake;