Control: tags 1097225 upstream patch
thanks

On Mon, Feb 17, 2025 at 05:32:23PM +0000, Matthias Klose wrote:
> [...]
> The package fails to build in a test rebuild on at least amd64 with
> gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
> severity of this report will be raised before the forky release.
> [...]

Given the recent pace of upstream commits[0] I'd assume that no upstream
update will be forthcoming soon. Yes, the most recent upstream tag[1] is
still affected by this, as I just verified.

However, for both the current Debian version and the most recent
upstream tag the attached patch resolves the FTBFS. It seems other
distributions already went down the same path, given the above
circumstances, cf. Arch[2], Gentoo[3], or in a similar vein but more
drastic Fedora[4].

Cheers,
Flo

[0] https://github.com/carlobaldassi/liblqr/commits/master
[1] https://github.com/carlobaldassi/liblqr/releases/tag/v0.4.3
[2] 
https://gitlab.archlinux.org/archlinux/packaging/packages/liblqr/-/blob/main/PKGBUILD?ref_type=heads#L18
[3] 
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/liblqr/liblqr-0.4.3.ebuild#n23
[4] https://src.fedoraproject.org/rpms/liblqr-1/blob/rawhide/f/liblqr-1.spec#_32
diff -Nru liblqr-0.4.2/debian/rules liblqr-0.4.2/debian/rules
--- liblqr-0.4.2/debian/rules	2018-01-01 01:00:04.000000000 +0100
+++ liblqr-0.4.2/debian/rules	2025-09-15 13:15:37.000000000 +0200
@@ -4,7 +4,7 @@
 	dh $@
 
 override_dh_auto_build:
-	dh_auto_build
+	dh_auto_build -- CFLAGS="$(CFLAGS) -std=gnu17"
 	$(MAKE) -C docs all
 
 override_dh_auto_clean:

Attachment: signature.asc
Description: PGP signature

Reply via email to