summaryrefslogtreecommitdiff
path: root/debian/patches/01_printing_defaults.dpatch
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2008-09-08 11:04:02 +0200
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:44 +0000
commit802508367270acca054ba84dd82c9b7972e724fc (patch)
tree1634b893b960192c2e92042add41bb9489b740c2 /debian/patches/01_printing_defaults.dpatch
parentc12282c9b53511b258ec7f3a0faeeda5ce5767b6 (diff)
Imported Debian patch 0.995-5debian/0.995-5
Diffstat (limited to 'debian/patches/01_printing_defaults.dpatch')
-rw-r--r--debian/patches/01_printing_defaults.dpatch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/01_printing_defaults.dpatch b/debian/patches/01_printing_defaults.dpatch
new file mode 100644
index 0000000..7f037bc
--- /dev/null
+++ b/debian/patches/01_printing_defaults.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_printing_defaults.dpatch by <jblache@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Change default printing options, switch from lpr to lp.
+
+@DPATCH@
+diff -urNad xsane-0.995~/src/xsane.h xsane-0.995/src/xsane.h
+--- xsane-0.995~/src/xsane.h 2008-09-08 11:02:36.000000000 +0200
++++ xsane-0.995/src/xsane.h 2008-09-08 11:03:17.191704659 +0200
+@@ -510,8 +510,8 @@
+
+ #define OUT_FILENAME "out.pnm"
+ #define PRINTERNAME "new printer"
+-#define PRINTERCOMMAND "lpr"
+-#define PRINTERCOPYNUMBEROPTION "-#"
++#define PRINTERCOMMAND "lp"
++#define PRINTERCOPYNUMBEROPTION "-n"
+ #define FAXPROJECT "faxproject"
+ #define FAXCOMMAND "sendfax"
+ #define FAXRECEIVEROPT "-d"