summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-au
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/netpbm/patches/patch-au')
-rw-r--r--graphics/netpbm/patches/patch-au25
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/netpbm/patches/patch-au b/graphics/netpbm/patches/patch-au
new file mode 100644
index 00000000000..fef00e98404
--- /dev/null
+++ b/graphics/netpbm/patches/patch-au
@@ -0,0 +1,25 @@
+$NetBSD: patch-au,v 1.1 1999/01/10 23:52:17 tron Exp $
+
+--- pnm/pnmsmooth.orig.orig Sun Jan 10 23:48:41 1999
++++ pnm/pnmsmooth.orig Sun Jan 10 23:48:41 1999
+@@ -0,0 +1,20 @@
++#!/bin/sh
++#
++# pnmsmooth - smooth out an image by replacing each xel with the
++# average of its nine immediate neighbors
++
++tmp=/tmp/psm.$$
++rm -f $tmp
++
++cat > $tmp << MOO
++P2
++3 3
++18
++10 10 10
++10 10 10
++10 10 10
++MOO
++
++pnmconvol $tmp ${1+"$@"}
++
++rm -f $tmp