diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2009-11-22 20:22:19 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2009-11-22 20:22:19 +0000 |
commit | e5a0000458d1763d6473a6843177093f235f7f45 (patch) | |
tree | 528f6935ecf16f14c7f2da92c741132a2b3987bd /media-gfx/sane-backends/files | |
parent | stable sparc, bug 292307 (diff) | |
download | gentoo-2-e5a0000458d1763d6473a6843177093f235f7f45.tar.gz gentoo-2-e5a0000458d1763d6473a6843177093f235f7f45.tar.bz2 gentoo-2-e5a0000458d1763d6473a6843177093f235f7f45.zip |
Fixing udev rules once more, see bug #293453.
(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/udev-rule-6.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/files/udev-rule-6.patch b/media-gfx/sane-backends/files/udev-rule-6.patch new file mode 100644 index 000000000000..46b89e1d82dc --- /dev/null +++ b/media-gfx/sane-backends/files/udev-rule-6.patch @@ -0,0 +1,20 @@ +--- tools/sane-desc.c.orig 2009-04-15 02:47:56.000000000 +0100 ++++ tools/sane-desc.c 2009-11-17 11:12:36.000000000 +0000 +@@ -3488,7 +3488,7 @@ + printf ("SUBSYSTEMS!=\"scsi\", GOTO=\"libsane_scsi_rules_end\"\n\n"); + printf ("LABEL=\"libsane_scsi_rules_begin\"\n"); + printf ("# Generic: SCSI device type 6 indicates a scanner\n"); +- printf ("KERNEL==\"sg[0-9]*\", NAME=\"%%k\", ATTRS{type}==\"6\", MODE=\"%s\", GROUP=\"%s\"\n", DEVMODE, DEVGROUP); ++ printf ("KERNEL==\"sg[0-9]*\", ATTRS{type}==\"6\", MODE=\"%s\", GROUP=\"%s\"\n", DEVMODE, DEVGROUP); + printf ("# Some scanners advertise themselves as SCSI device type 3\n"); + + while (scsiid) +@@ -3521,7 +3521,7 @@ + } + } + printf ("\n"); +- printf ("KERNEL==\"sg[0-9]*\", NAME=\"%%k\", ATTRS{type}==\"3\", ATTRS{vendor}==\"%s\", ATTRS{model}==\"%s\", MODE=\"%s\", GROUP=\"%s\"\n", ++ printf ("KERNEL==\"sg[0-9]*\", ATTRS{type}==\"3\", ATTRS{vendor}==\"%s\", ATTRS{model}==\"%s\", MODE=\"%s\", GROUP=\"%s\"\n", + scsiid->scsi_vendor_id, scsiid->scsi_product_id, DEVMODE, DEVGROUP); + scsiid = scsiid->next; + } |