public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/sane-backends/files: udev-rule-6.patch
@ 2009-11-22 20:22 Patrick Kursawe (phosphan)
  0 siblings, 0 replies; only message in thread
From: Patrick Kursawe (phosphan) @ 2009-11-22 20:22 UTC (permalink / raw
  To: gentoo-commits

phosphan    09/11/22 20:22:19

  Added:                udev-rule-6.patch
  Log:
  Fixing udev rules once more, see bug #293453.
  (Portage version: 2.1.6.13/cvs/Linux i686)

Revision  Changes    Path
1.1                  media-gfx/sane-backends/files/udev-rule-6.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/sane-backends/files/udev-rule-6.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/sane-backends/files/udev-rule-6.patch?rev=1.1&content-type=text/plain

Index: udev-rule-6.patch
===================================================================
--- 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;
     }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-22 20:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-22 20:22 [gentoo-commits] gentoo-x86 commit in media-gfx/sane-backends/files: udev-rule-6.patch Patrick Kursawe (phosphan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox