Source: scute
Version: 1.5.0+git20160808+94eeb2d-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

scute fails to cross build from source, because it fails to find gpgsm
and gpg-agent. Even though it could find them using AC_PATH_PROG, it
doesn't and insists that one passes them via --with-gpgsm and
--with-gpg-agent. So be it. Here goes the patch that makes it cross
buildable. Please consider applying it.

Helmut
diff --minimal -Nru scute-1.5.0+git20160808+94eeb2d/debian/changelog 
scute-1.5.0+git20160808+94eeb2d/debian/changelog
--- scute-1.5.0+git20160808+94eeb2d/debian/changelog    2017-02-01 
01:54:00.000000000 +0100
+++ scute-1.5.0+git20160808+94eeb2d/debian/changelog    2018-08-03 
20:57:18.000000000 +0200
@@ -1,3 +1,11 @@
+scute (1.5.0+git20160808+94eeb2d-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass --with-gpgsm and --with-gpg-agent to configure.
+    (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 03 Aug 2018 20:57:18 +0200
+
 scute (1.5.0+git20160808+94eeb2d-2) unstable; urgency=medium
 
   * To accommodate the change of possible error codes of scdaemon
diff --minimal -Nru scute-1.5.0+git20160808+94eeb2d/debian/rules 
scute-1.5.0+git20160808+94eeb2d/debian/rules
--- scute-1.5.0+git20160808+94eeb2d/debian/rules        2016-11-01 
06:56:58.000000000 +0100
+++ scute-1.5.0+git20160808+94eeb2d/debian/rules        2018-08-03 
20:57:18.000000000 +0200
@@ -9,6 +9,9 @@
 %:
        dh $@ --with autoreconf
 
+override_dh_auto_configure:
+       dh_auto_configure -- --with-gpgsm=/usr/bin/gpgsm 
--with-gpg-agent=/usr/bin/gpg-agent
+
 override_dh_auto_test:
        mkdir -p debian/dot-gnupg
        chmod og-rx debian/dot-gnupg

Reply via email to