Source: libpam-ccreds
Version: 10-7
Tags: patch
User: [email protected]
Usertags: rebootstrap

libpam-ccreds successfully cross builds a broken package. It uses the
build architecture libdir when it should be using the host architecture
one. The attached patch fixes that. Please consider applying it.

Helmut
diff --minimal -Nru libpam-ccreds-10/debian/changelog 
libpam-ccreds-10/debian/changelog
--- libpam-ccreds-10/debian/changelog   2018-11-02 12:52:36.000000000 +0100
+++ libpam-ccreds-10/debian/changelog   2019-02-23 19:41:00.000000000 +0100
@@ -1,3 +1,10 @@
+libpam-ccreds (10-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix build/host confusion in libdir. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 23 Feb 2019 19:41:00 +0100
+
 libpam-ccreds (10-7) unstable; urgency=medium
 
   [ Guido Günther ]
diff --minimal -Nru libpam-ccreds-10/debian/rules libpam-ccreds-10/debian/rules
--- libpam-ccreds-10/debian/rules       2018-11-02 12:32:11.000000000 +0100
+++ libpam-ccreds-10/debian/rules       2019-02-23 19:40:57.000000000 +0100
@@ -1,9 +1,10 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 DEB_CONFIGURE_EXTRA_ARGS := \
-       --libdir=/lib/$(DEB_BUILD_GNU_TYPE) \
+       --libdir=/lib/$(DEB_HOST_GNU_TYPE) \
        --sbindir=/sbin \
        --enable-gcrypt \
        $(NULL)

Reply via email to