Bug#1065373: fix heimdal build with abi=time64

2024-03-08 Thread Steve Langasek
Control: tags -1 -experimental

Since heimdal failing to build from source has a significant impact on
rebootstrapping the archive on 32-bit archs, I am going ahead and uploading
a 0-day NMU for this issue with the patch provided by Matthias.

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: PGP signature


Bug#1065373: fix heimdal build with abi=time64

2024-03-03 Thread Matthias Klose

Package: src:heimdal
Version: 7.8.git20221117.28daf24+dfsg-4
Severity: serious
Tags: sid trixie ftbfs patch

fix heimdal build with abi=time64.  This is just a work-around for a 
configure test not setting LIB_crypt.
diff -Nru heimdal-7.8.git20221117.28daf24+dfsg/debian/changelog heimdal-7.8.git20221117.28daf24+dfsg/debian/changelog
--- heimdal-7.8.git20221117.28daf24+dfsg/debian/changelog	2024-02-29 17:20:07.0 +0100
+++ heimdal-7.8.git20221117.28daf24+dfsg/debian/changelog	2024-03-03 15:31:17.0 +0100
@@ -1,3 +1,10 @@
+heimdal (7.8.git20221117.28daf24+dfsg-4.1ubuntu2) noble; urgency=medium
+
+  * Filter-out -Werror=implicit-function-declaration, unconditionally set
+by abi=time64.
+
+ -- Matthias Klose   Sun, 03 Mar 2024 15:31:17 +0100
+
 heimdal (7.8.git20221117.28daf24+dfsg-4.1ubuntu1) noble; urgency=low
 
   * Merge from Debian unstable. Remaining changes:
diff -Nru heimdal-7.8.git20221117.28daf24+dfsg/debian/rules heimdal-7.8.git20221117.28daf24+dfsg/debian/rules
--- heimdal-7.8.git20221117.28daf24+dfsg/debian/rules	2024-02-28 16:57:12.0 +0100
+++ heimdal-7.8.git20221117.28daf24+dfsg/debian/rules	2024-03-03 15:31:17.0 +0100
@@ -37,7 +37,7 @@
 	dh_auto_test -- -j1
 
 override_dh_auto_configure:
-	./configure $(shell dpkg-buildflags --export=configure) \
+	./configure $(shell dpkg-buildflags --export=configure | sed 's/-Werror=implicit-function-declaration//') \
 	  --disable-silent-rules \
 	  --libexecdir="\$${prefix}/sbin" \
 	  --enable-shared \