summaryrefslogtreecommitdiff
path: root/debian/patches/hp3900.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/hp3900.patch')
-rw-r--r--debian/patches/hp3900.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/hp3900.patch b/debian/patches/hp3900.patch
new file mode 100644
index 0000000..637a51e
--- /dev/null
+++ b/debian/patches/hp3900.patch
@@ -0,0 +1,20 @@
+Description: Replace the startup gamma with the same from the standalone version
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629470
+Forwarded: http://lists.alioth.debian.org/pipermail/sane-devel/2014-October/032777.html
+Last-Update: 2014-10-26
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/backend/hp3900_sane.c
+===================================================================
+--- trunk.orig/backend/hp3900_sane.c
++++ trunk/backend/hp3900_sane.c
+@@ -1159,7 +1159,7 @@ options_init (TScanner * scanner)
+ TOptionValue *pVal;
+
+ /* set gamma */
+- gamma_create (scanner, 2.2);
++ gamma_create (scanner, 1.0);
+
+ /* color convertion */
+ scanner->cnv.colormode = -1;