summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2008-04-08 08:44:50 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2008-04-08 08:44:50 +0000
commit5fae75f6cc0f1fde15e0b60297cab33d21e54fc3 (patch)
tree123d603a6beeaca521ec75d581101c38b5ebd66a /media-gfx/sane-backends/files
parentRemoving broken versions (diff)
downloadgentoo-2-5fae75f6cc0f1fde15e0b60297cab33d21e54fc3.tar.gz
gentoo-2-5fae75f6cc0f1fde15e0b60297cab33d21e54fc3.tar.bz2
gentoo-2-5fae75f6cc0f1fde15e0b60297cab33d21e54fc3.zip
Fixing a minor compilation problem, bug #216608.
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-gfx/sane-backends/files')
-rw-r--r--media-gfx/sane-backends/files/fujitsu_DBG_LEVEL.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/files/fujitsu_DBG_LEVEL.patch b/media-gfx/sane-backends/files/fujitsu_DBG_LEVEL.patch
new file mode 100644
index 000000000000..32a1153d54c0
--- /dev/null
+++ b/media-gfx/sane-backends/files/fujitsu_DBG_LEVEL.patch
@@ -0,0 +1,30 @@
+--- backend/fujitsu.c 2008-01-23 02:21:21.000000000 +0100
++++ backend/fujitsu.c.new 2008-04-08 10:08:09.000000000 +0200
+@@ -1221,7 +1221,6 @@
+ init_ms(struct fujitsu *s)
+ {
+ int ret;
+- int oldDbg=DBG_LEVEL;
+ unsigned char buffer[1];
+ size_t inLen = sizeof(buffer);
+
+@@ -1232,10 +1231,6 @@
+ return SANE_STATUS_GOOD;
+ }
+
+- if(DBG_LEVEL < 35){
+- DBG_LEVEL = 0;
+- }
+-
+ set_MSEN_xfer_length (mode_senseB.cmd, inLen);
+
+ /* prepick */
+@@ -1391,8 +1386,6 @@
+ s->has_MS_jobsep=1;
+ }
+
+- DBG_LEVEL = oldDbg;
+-
+ DBG (15, " prepick: %d\n", s->has_MS_prepick);
+ DBG (15, " sleep: %d\n", s->has_MS_sleep);
+ DBG (15, " duplex: %d\n", s->has_MS_duplex);