summaryrefslogtreecommitdiff
path: root/graphics/sane-backends
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2003-12-10 17:13:22 +0000
committerjdolecek <jdolecek>2003-12-10 17:13:22 +0000
commit3db11d03e41e612bea974248428f5d5a43d762d7 (patch)
tree17d2393bdecdf45cd7a75ee51924ca07edba4408 /graphics/sane-backends
parent36a309caedaa39d3236a6349eea53d7aff37467c (diff)
downloadpkgsrc-3db11d03e41e612bea974248428f5d5a43d762d7.tar.gz
enable use of /dev/uscanner
problem reported and patch provided in pkg/23665 by Thilo Manske
Diffstat (limited to 'graphics/sane-backends')
-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