summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2009-07-17 20:20:10 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2009-07-17 20:20:10 +0000
commitf2fd98d333f426e202480221ceced9cd8812d9d0 (patch)
treeb45572667173a3b46888be4a14973a19c32bed57 /media-gfx/sane-backends/files
parentSparc stable, Bug #274904. (diff)
downloadgentoo-2-f2fd98d333f426e202480221ceced9cd8812d9d0.tar.gz
gentoo-2-f2fd98d333f426e202480221ceced9cd8812d9d0.tar.bz2
gentoo-2-f2fd98d333f426e202480221ceced9cd8812d9d0.zip
Fixing udev rules, see bug #276486. Fixing flags and dependency for libusb.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'media-gfx/sane-backends/files')
-rw-r--r--media-gfx/sane-backends/files/1.0.20-unbreak-udev.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/files/1.0.20-unbreak-udev.diff b/media-gfx/sane-backends/files/1.0.20-unbreak-udev.diff
new file mode 100644
index 000000000000..04f173d4b2e9
--- /dev/null
+++ b/media-gfx/sane-backends/files/1.0.20-unbreak-udev.diff
@@ -0,0 +1,12 @@
+diff -Naur sane-backends-1.0.20-vanilla/tools/sane-desc.c sane-backends-1.0.20/tools/sane-desc.c
+--- sane-backends-1.0.20-vanilla/tools/sane-desc.c 2009-07-04 19:05:52.000000000 +0200
++++ sane-backends-1.0.20/tools/sane-desc.c 2009-07-04 19:07:17.000000000 +0200
+@@ -3475,7 +3475,7 @@
+ }
+ }
+ printf ("\n");
+- printf ("ATTR{idVendor}==\"%s\", ATTR{idProduct}==\"%s\", MODE=\"%s\", GROUP=\"%s\", ENV{libsane_matched}=\"yes\"\n",
++ printf ("ATTRS{idVendor}==\"%s\", ATTRS{idProduct}==\"%s\", MODE=\"%s\", GROUP=\"%s\", ENV{libsane_matched}=\"yes\"\n",
+ usbid->usb_vendor_id + 2, usbid->usb_product_id + 2, DEVMODE, DEVGROUP);
+ usbid = usbid->next;
+ }