[Pkg-samba-maint] [samba] 02/03: Add wrapper for cups-config

Ivo De Decker idd-guest at alioth.debian.org
Mon Oct 21 20:54:53 UTC 2013


This is an automated email from the git hooks/post-receive script.

idd-guest pushed a commit to branch master
in repository samba.

commit 38b3709ddba8b6617f48d033123e7fab2202698e
Author: Ivo De Decker <ivo.dedecker at ugent.be>
Date:   Mon Oct 21 22:16:24 2013 +0200

    Add wrapper for cups-config
---
 debian/bin/cups-config |    6 ++++++
 debian/changelog       |    2 ++
 2 files changed, 8 insertions(+)

diff --git a/debian/bin/cups-config b/debian/bin/cups-config
new file mode 100755
index 0000000..64ac41b
--- /dev/null
+++ b/debian/bin/cups-config
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# wrapper around cups-config, to work around #726726
+
+DEB_HOST_MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`
+/usr/bin/cups-config "$@" | sed "s;-L/usr/lib/${DEB_HOST_MULTIARCH}; ;g"
diff --git a/debian/changelog b/debian/changelog
index 45f2752..8ecb852 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ samba (2:4.0.10+dfsg-3) UNRELEASED; urgency=low
     architectures in Multi-Arch: same packages. Closes: #726314
   * Restore build-dep on libcups2-dev, which got lost in the samba4 merge.
     This should restore the cups printing functionality. Closes: #726726
+  * Add wrapper for cups-config to filter out
+    -L/usr/lib/${DEB_HOST_MULTIARCH}, to work around build-failure.
 
   [ Steve Langasek ]
   * Don't fail on errors from testparm in the samba init script.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list