summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2003-12-10 17:13:22 +0000
committerjdolecek <jdolecek>2003-12-10 17:13:22 +0000
commit45361f06096aaac0671afdae53cb20edbe1dd839 (patch)
tree17d2393bdecdf45cd7a75ee51924ca07edba4408 /graphics
parent40ae6a7710f8177c836f1ad80af375f68d891bba (diff)
downloadpkgsrc-45361f06096aaac0671afdae53cb20edbe1dd839.tar.gz
enable use of /dev/uscanner
problem reported and patch provided in pkg/23665 by Thilo Manske
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sane-backends/distinfo3
-rw-r--r--graphics/sane-backends/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/sane-backends/distinfo b/graphics/sane-backends/distinfo
index 359b14e4ab7..c0aa497c966 100644
--- a/graphics/sane-backends/distinfo
+++ b/graphics/sane-backends/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2003/06/29 10:16:44 rh Exp $
+$NetBSD: distinfo,v 1.13 2003/12/10 17:13:22 jdolecek Exp $
SHA1 (sane-backends-1.0.12.tar.gz) = f50c17957291e40de8b55d002ef178b742659759
Size (sane-backends-1.0.12.tar.gz) = 2790931 bytes
SHA1 (patch-aa) = b782bc8ee2e6d68e667706659998a6c82ce1d5e6
+SHA1 (patch-ab) = 0bd6183de8f16a009db21957583e724603a7f1f2
diff --git a/graphics/sane-backends/patches/patch-ab b/graphics/sane-backends/patches/patch-ab
new file mode 100644
index 00000000000..08d9440aafb
--- /dev/null
+++ b/graphics/sane-backends/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.4 2003/12/10 17:13:22 jdolecek Exp $
+
+--- sanei/sanei_usb.c.orig 2003-12-10 17:59:14.000000000 +0100
++++ sanei/sanei_usb.c 2003-12-10 17:59:27.000000000 +0100
+@@ -206,7 +206,7 @@
+ #if defined(__linux__)
+ "/dev/", "usbscanner",
+ "/dev/usb/", "scanner",
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ "/dev/", "uscanner",
+ #endif
+ 0, 0