diff options
author | reed <reed@pkgsrc.org> | 2006-10-03 00:30:05 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2006-10-03 00:30:05 +0000 |
commit | bb52cfdc6b37b43502a5128fe0bd6ba34718ce04 (patch) | |
tree | d1529cebf6a7f1078cee1e08089b2fa2b94e1905 /print/foomatic-filters/patches/patch-aa | |
parent | 74fcb2f1a7fab03e0abe0a001acdb463935a09a7 (diff) | |
download | pkgsrc-bb52cfdc6b37b43502a5128fe0bd6ba34718ce04.tar.gz |
Change test string checking to use one equal sign.
Noticed on NetBSD when my print job didn't work
(using pdq and foomatic-rip).
Bump package revision.
I also reported upstream.
Diffstat (limited to 'print/foomatic-filters/patches/patch-aa')
-rw-r--r-- | print/foomatic-filters/patches/patch-aa | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/print/foomatic-filters/patches/patch-aa b/print/foomatic-filters/patches/patch-aa index 6d9f16b4848..a2f9fde3a3c 100644 --- a/print/foomatic-filters/patches/patch-aa +++ b/print/foomatic-filters/patches/patch-aa @@ -1,11 +1,20 @@ -$NetBSD: patch-aa,v 1.2 2005/12/17 18:35:10 jlam Exp $ - ---- foomatic-rip.in.orig 2004-08-26 16:53:35.000000000 -0400 -+++ foomatic-rip.in -@@ -48,5 +48,5 @@ my $execpath = "@prefix@/bin:/usr/local/ +--- foomatic-rip.in.orig 2004-08-26 15:53:35.000000000 -0500 ++++ foomatic-rip.in 2006-10-02 19:23:18.000000000 -0500 +@@ -47,7 +47,7 @@ + my $execpath = "@prefix@/bin:/usr/local/bin:/usr/bin:/bin"; # CUPS raster drivers are searched here -my $cupsfilterpath = "@prefix@/lib/cups/filter:/usr/local/lib/cups/filter:/usr/local/libexec/cups/filter:/opt/cups/filter:/usr/lib/cups/filter"; +my $cupsfilterpath = "@CUPS_FILTERS@:@prefix@/lib/cups/filter"; # Location of the configuration file "filter.conf", this file can be + # used to change the settings of foomatic-rip without editing +@@ -5919,7 +5919,7 @@ + " # Custom page size settings\n", + " # We aren't really checking for " . + "legal vals.\n", +- " if [ \"x\${$varn}\" == 'x$val' ]; " . ++ " if [ \"x\${$varn}\" = 'x$val' ]; " . + "then\n", + " $varn=\"\${$varn}.\${PageWidth}" . + "x\${PageHeight}\${PageSizeUnit}\"\n", |