summaryrefslogtreecommitdiff
path: root/debian/patches/10_batch_scan_bugfix.dpatch
diff options
context:
space:
mode:
authorAurelien Jarno <aurel32@debian.org>2005-02-03 16:24:20 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:06 +0000
commit825ef604db05e42ea267a86187bf62d54670c98c (patch)
treec41b8addd68e573fcf6ef599ec777e251a130b8e /debian/patches/10_batch_scan_bugfix.dpatch
parentac8459519a9ef2a1ee635509b52a653da1bfe9d5 (diff)
parent817e6294b42b3e4435f1b99728afc1dca84a6445 (diff)
Imported Debian patch 0.97-3debian/0.97-3
Diffstat (limited to 'debian/patches/10_batch_scan_bugfix.dpatch')
-rw-r--r--debian/patches/10_batch_scan_bugfix.dpatch25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/10_batch_scan_bugfix.dpatch b/debian/patches/10_batch_scan_bugfix.dpatch
new file mode 100644
index 0000000..a875c47
--- /dev/null
+++ b/debian/patches/10_batch_scan_bugfix.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_batch_scan_bugfix.dpatch by <jblache@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix batch scanning bug.
+
+@DPATCH@
+diff -urNad xsane-0.97/src/xsane-batch-scan.c /tmp/dpep.7eXNXU/xsane-0.97/src/xsane-batch-scan.c
+--- xsane-0.97/src/xsane-batch-scan.c 2005-01-22 15:59:54.000000000 +0100
++++ /tmp/dpep.7eXNXU/xsane-0.97/src/xsane-batch-scan.c 2005-01-27 22:16:31.000000000 +0100
+@@ -505,12 +505,12 @@
+
+ while (xsane.scanning)
+ {
+-#if 0
++#if 1
+ if (gtk_events_pending())
+ {
+ gtk_main_iteration();
+ }
+-#elseif
++#else
+ gtk_main_iteration();
+ #endif
+ }