summaryrefslogtreecommitdiff
path: root/debian/debian.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/debian.diff')
-rw-r--r--debian/debian.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/debian.diff b/debian/debian.diff
new file mode 100644
index 0000000..729cce9
--- /dev/null
+++ b/debian/debian.diff
@@ -0,0 +1,34 @@
+--- a/debian/control
++++ b/debian/control
+@@ -14,7 +14,7 @@ Build-Depends:
+ libcups2-dev,
+ libcurl4-gnutls-dev,
+ libgphoto2-dev,
+- libieee1284-3-dev [!hurd-i386],
++ libieee1284-3-dev [!hurd-any],
+ libjpeg-dev,
+ libltdl-dev,
+ libpng-dev,
+--- a/debian/libsane1.dirs
++++ b/debian/libsane1.dirs
+@@ -1 +1,2 @@
+ /usr/lib/udev/hwdb.d/
++/usr/lib/udev/rules.d/
+--- a/debian/libsane1.install
++++ b/debian/libsane1.install
+@@ -1,4 +1,2 @@
+ usr/lib/*/*.so.*
+ usr/lib/*/sane/*.so.*
+-debian/60-libsane1.rules /usr/lib/udev/rules.d/
+-debian/99-libsane1.rules /usr/lib/udev/rules.d/
+--- a/debian/rules
++++ b/debian/rules
+@@ -92,6 +92,8 @@ ifeq (linux,$(DEB_HOST_ARCH_OS))
+ $(SANE_DESC) -s $(CURDIR)/doc/descriptions -m hwdb > $(CURDIR)/debian/20-sane.hwdb
+
+ cp $(CURDIR)/debian/20-sane.hwdb $(CURDIR)/debian/libsane1/usr/lib/udev/hwdb.d/
++ cp $(CURDIR)/debian/60-libsane1.rules $(CURDIR)/debian/libsane1/usr/lib/udev/rules.d/
++ cp $(CURDIR)/debian/99-libsane1.rules $(CURDIR)/debian/libsane1/usr/lib/udev/rules.d/
+ endif
+
+ dh_install