diff options
Diffstat (limited to 'debian/patches/10_batch_scan_bugfix.dpatch')
-rw-r--r-- | debian/patches/10_batch_scan_bugfix.dpatch | 25 |
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 + } |