From c05e2c11a7104ba41888b96b4cba67ecdea653f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 26 Oct 2014 22:35:06 +0100 Subject: work on bugs LP: #1080787 --- debian/changelog | 2 ++ debian/patches/hp3900.patch | 2 +- debian/patches/hp5370c.patch | 20 ++++++++++++++++++++ debian/patches/niash_c-array-bounds.patch | 2 +- debian/patches/series | 1 + debian/patches/typo.patch | 2 +- 6 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 debian/patches/hp5370c.patch diff --git a/debian/changelog b/debian/changelog index a2f3fca..25891ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,8 @@ sane-backends (1.0.24-4) UNRELEASED; urgency=medium Thanks to Peter Walser . - New niash_c-array-bounds.patch: + Prevent array bounds in TScanner. + - New hp5370c.patch: + + Improved recognizability.(LP: #1080787) * debian/control: - Change Build-Depends from the transitional package libgphoto2-2-dev to libgphoto2-dev. (Closes: #736451) diff --git a/debian/patches/hp3900.patch b/debian/patches/hp3900.patch index 9504685..637a51e 100644 --- a/debian/patches/hp3900.patch +++ b/debian/patches/hp3900.patch @@ -1,7 +1,7 @@ Description: Replace the startup gamma with the same from the standalone version Author: Jörg Frings-Fürst Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629470 -Forwarded: +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/ diff --git a/debian/patches/hp5370c.patch b/debian/patches/hp5370c.patch new file mode 100644 index 0000000..88713fa --- /dev/null +++ b/debian/patches/hp5370c.patch @@ -0,0 +1,20 @@ +Description: improved recognizability +Author: Jörg Frings-Fürst +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787 +Forwarded: http://lists.alioth.debian.org/pipermail/sane-devel/2014-October/032778.html +Last-Update: 2014-10-26 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/backend/avision.c +=================================================================== +--- trunk.orig/backend/avision.c ++++ trunk/backend/avision.c +@@ -620,7 +620,7 @@ static Avision_HWEntry Avision_Device_Li + { "HP", "ScanJet 5370C", + 0x03f0, 0x0701, + "Hewlett-Packard", "ScanJet 5370C", +- AV_MULTI_CALIB_CMD | AV_INT_STATUS, AV_FIRMWARE }, ++ AV_MULTI_CALIB_CMD | AV_INT_STATUS, 0 }, + /* comment="1 pass, 2400 dpi - some FW revisions have x-axis image scaling problems over 1200 dpi" */ + /* status="good" */ + diff --git a/debian/patches/niash_c-array-bounds.patch b/debian/patches/niash_c-array-bounds.patch index b7a2114..49ada3b 100644 --- a/debian/patches/niash_c-array-bounds.patch +++ b/debian/patches/niash_c-array-bounds.patch @@ -1,6 +1,6 @@ Description: prevent array bounds in TScanner Author: Jörg Frings-Fürst -Forwarded: +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/ diff --git a/debian/patches/series b/debian/patches/series index 4152836..eaed460 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -19,3 +19,4 @@ nousbtest.patch man-page-spelling.patch source-spelling.patch ppc64el.patch +hp5370c.patch diff --git a/debian/patches/typo.patch b/debian/patches/typo.patch index 5201917..365952b 100644 --- a/debian/patches/typo.patch +++ b/debian/patches/typo.patch @@ -1,7 +1,7 @@ Description: typo in backend/genesys.conf.in Author: Jörg Frings-Fürst Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743848 -Forwarded: +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/ -- cgit v1.2.3