Control: tags -1 + patch

On Sat, 23 Oct 2021 at 22:20:00 +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

Please see attached patch.

    smcv
>From e0f11e6141b848186d51127c3a20a4d50184b91a Mon Sep 17 00:00:00 2001
From: Simon McVittie <s...@debian.org>
Date: Wed, 27 Oct 2021 12:32:45 +0100
Subject: [PATCH] d/rules: Stop passing --with-build-date to CMake

This argument was added when the package was still built with Autotools.
It isn't understood by CMake, and recent versions of CMake no longer
ignore it, causing FTBFS.

Closes: #997394
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 08a903b..f00175a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,8 +46,7 @@ endif
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --with-build-date=$(DEB_VERSION) \
-	                     $(DISABLE_SIMD) $(FLOATTEST) \
+	dh_auto_configure -- $(DISABLE_SIMD) $(FLOATTEST) \
 	                     -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
 	                     -DCMAKE_INSTALL_MANDIR=/usr/share/man/
 	                     $(NULL)
-- 
2.33.1

Reply via email to