summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortron <tron>2002-05-14 17:27:26 +0000
committertron <tron>2002-05-14 17:27:26 +0000
commit7983f32f59530f0e66d2a5c8fd0728dd5e734ce2 (patch)
tree696392b4cb7f56c485d8f9504e26fab56e038e05 /print
parent61d6bf02d482bb7f240e8dc76792c279b73b24d4 (diff)
downloadpkgsrc-7983f32f59530f0e66d2a5c8fd0728dd5e734ce2.tar.gz
Avoid problems with Acrobat reader running under Linux emulation. This
fixes PR pkg/15942 by Markus W Kilbinger.
Diffstat (limited to 'print')
-rw-r--r--print/apsfilter/distinfo3
-rw-r--r--print/apsfilter/patches/patch-ab16
2 files changed, 18 insertions, 1 deletions
diff --git a/print/apsfilter/distinfo b/print/apsfilter/distinfo
index 4f60744599e..54ba9a42d53 100644
--- a/print/apsfilter/distinfo
+++ b/print/apsfilter/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2002/03/09 13:58:03 martti Exp $
+$NetBSD: distinfo,v 1.4 2002/05/14 17:27:26 tron Exp $
SHA1 (apsfilter-7.2.2.tar.gz) = be43c7651cbec09cef09d6855c8e9b0fb59fb3c6
Size (apsfilter-7.2.2.tar.gz) = 352011 bytes
SHA1 (patch-aa) = 144c2cfeb15d00d036dc468a9be7579d39c4581d
+SHA1 (patch-ab) = 0da86a8669845a62ea356a61ad97bc961e2d01b8
diff --git a/print/apsfilter/patches/patch-ab b/print/apsfilter/patches/patch-ab
new file mode 100644
index 00000000000..731cd7bff25
--- /dev/null
+++ b/print/apsfilter/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2002/05/14 17:27:26 tron Exp $
+
+--- bin/apsfilter.in.orig Tue May 14 19:23:24 2002
++++ bin/apsfilter.in Tue May 14 19:25:02 2002
+@@ -1028,9 +1028,9 @@
+
+ cat > "$APS_TMPDIR/pdf"
+ if find_filter acroread4; then
+- eval acroread4 $ACROREAD_OPTS -pairs "$APS_TMPDIR/pdf" /dev/stdout
++ eval acroread4 $ACROREAD_OPTS -pairs "$APS_TMPDIR/pdf" /dev/fd/1
+ elif find_filter acroread; then
+- eval acroread $ACROREAD_OPTS -pairs "$APS_TMPDIR/pdf" /dev/stdout
++ eval acroread $ACROREAD_OPTS -pairs "$APS_TMPDIR/pdf" /dev/fd/1
+ elif find_filter pdftops; then
+ pdftops ${PDFTOPS_OPTS:--q} -paperw $WIDTH_POINTS \
+ -paperh $HEIGHT_POINTS "$APS_TMPDIR/pdf" -