summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2007-02-26 12:10:06 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2007-02-26 12:10:06 +0000
commita6e9daca4f8aadc9df49ae55a99d2113994b4b14 (patch)
treeb8c427bfed3794c0fc1e773f3628e50936cdf14f /media-gfx
parentUpdating keywords to match perl-core/Text-Balanced (diff)
downloadgentoo-2-a6e9daca4f8aadc9df49ae55a99d2113994b4b14.tar.gz
gentoo-2-a6e9daca4f8aadc9df49ae55a99d2113994b4b14.tar.bz2
gentoo-2-a6e9daca4f8aadc9df49ae55a99d2113994b4b14.zip
Added a little patch for a single broken driver, see bug #168220
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/sane-backends/ChangeLog8
-rw-r--r--media-gfx/sane-backends/files/broken_coolscan.patch18
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild5
3 files changed, 27 insertions, 4 deletions
diff --git a/media-gfx/sane-backends/ChangeLog b/media-gfx/sane-backends/ChangeLog
index 51ad5b5d5d9f..51b1a0260c72 100644
--- a/media-gfx/sane-backends/ChangeLog
+++ b/media-gfx/sane-backends/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/sane-backends
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.112 2006/10/20 21:34:27 kloeri Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.113 2007/02/26 12:10:06 phosphan Exp $
+
+ 26 Feb 2007; Patrick Kursawe <phosphan@gentoo.org>
+ +files/broken_coolscan.patch, sane-backends-1.0.18-r2.ebuild:
+ Added a little patch for a single broken driver, see bug #168220
20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
sane-backends-1.0.18-r2.ebuild:
diff --git a/media-gfx/sane-backends/files/broken_coolscan.patch b/media-gfx/sane-backends/files/broken_coolscan.patch
new file mode 100644
index 000000000000..d10a7ed0f821
--- /dev/null
+++ b/media-gfx/sane-backends/files/broken_coolscan.patch
@@ -0,0 +1,18 @@
+--- backend/coolscan2.c 2006-06-11 20:39:40.000000000 +0200
++++ backend/coolscan2.c.new 2007-02-26 12:29:15.000000000 +0100
+@@ -1482,6 +1482,7 @@
+ if (xfer_len_out == 0) /* no more data */
+ {
+ *len = 0;
++ s->scanning = SANE_FALSE;
+ return SANE_STATUS_EOF;
+ }
+
+@@ -1533,6 +1534,7 @@
+ if (xfer_len_line == 0) /* no more data */
+ {
+ *len = 0;
++ s->scanning = SANE_FALSE;
+ return SANE_STATUS_EOF;
+ }
+
diff --git a/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild b/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild
index 0a5cbffec08f..7e33a5fe941f 100644
--- a/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild
+++ b/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild,v 1.9 2006/10/20 21:34:27 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild,v 1.10 2007/02/26 12:10:06 phosphan Exp $
inherit eutils
@@ -90,6 +90,7 @@ src_unpack() {
die "could not add 'brother' to backend list"
fi
epatch ${FILESDIR}/udev-rule.patch
+ epatch ${FILESDIR}/broken_coolscan.patch
}
src_compile() {