summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules4
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 5c48515..94794c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,9 @@ sane-backends (1.0.32-1) UNRELEASED; urgency=medium
(Closes: #987837).
- Fix package doesn't purge cleanly (fix test with pathfind())
(Closes: #987805).
+ * Fix filtering out libsane-dll (Closes: #971592):
+ - Cherry-picked from 1.0.25-4.1+deb9u2 (Thanks to
+ Sylvain Beucler <beuc@beuc.net>).
-- Jörg Frings-Fürst <debian@jff.email> Tue, 16 Feb 2021 18:26:03 +0100
diff --git a/debian/rules b/debian/rules
index 1109e1f..d0e1664 100755
--- a/debian/rules
+++ b/debian/rules
@@ -84,6 +84,10 @@ override_dh_auto_install-arch:
override_dh_auto_install-indep:
dh_auto_install
+ # remove /usr/lib/sane/libsane.so.1 (libtool side-effect ?)
+ $(RM) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sane/libsane.so.1
+ # remove libsane-dll, same as regular libsane
+ $(RM) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sane/libsane-dll.*
override_dh_install-arch:
dh_install