Control: tags 1097225 + pending
Control: tags 1097225 + fixed-upstream

Dear maintainer,

I've prepared an NMU for liblqr (versioned as 0.4.2-2.2) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Cheers,
Flo
diff -Nru liblqr-0.4.2/debian/changelog liblqr-0.4.2/debian/changelog
--- liblqr-0.4.2/debian/changelog	2018-01-01 01:21:16.000000000 +0100
+++ liblqr-0.4.2/debian/changelog	2025-12-29 11:31:36.000000000 +0100
@@ -1,3 +1,13 @@
+liblqr (0.4.2-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * add d/patches/fix_FTBFS_with_GCC_15.patch to do exactly that, thanks to
+    TheEssem for the patch and to s3v <[email protected]> for the pointer
+    (Closes: #1097225)
+  * d/control: s/pkg-config/pkgconf/, while I'm at it
+
+ -- Florian Ernst <[email protected]>  Mon, 29 Dec 2025 11:31:36 +0100
+
 liblqr (0.4.2-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru liblqr-0.4.2/debian/control liblqr-0.4.2/debian/control
--- liblqr-0.4.2/debian/control	2018-01-01 01:10:24.000000000 +0100
+++ liblqr-0.4.2/debian/control	2025-12-29 11:28:15.000000000 +0100
@@ -7,7 +7,7 @@
  docbook-xml,
  docbook-xsl,
  libglib2.0-dev (>= 2.0.0),
- pkg-config,
+ pkgconf,
  xsltproc
 Standards-Version: 4.1.3
 Homepage: http://liblqr.wikidot.com/
diff -Nru liblqr-0.4.2/debian/patches/fix_FTBFS_with_GCC_15.patch liblqr-0.4.2/debian/patches/fix_FTBFS_with_GCC_15.patch
--- liblqr-0.4.2/debian/patches/fix_FTBFS_with_GCC_15.patch	1970-01-01 01:00:00.000000000 +0100
+++ liblqr-0.4.2/debian/patches/fix_FTBFS_with_GCC_15.patch	2025-12-29 11:24:00.000000000 +0100
@@ -0,0 +1,26 @@
+Description: Fix FTBFS with GCC 15
+Author: TheEssem
+Origin: https://github.com/carlobaldassi/liblqr/commit/66b67de3917f7e
+Bug-Debian: https://bugs.debian.org/1097225
+
+Index: liblqr-0.4.2/lqr/lqr_energy_priv.h
+===================================================================
+--- liblqr-0.4.2.orig/lqr/lqr_energy_priv.h
++++ liblqr-0.4.2/lqr/lqr_energy_priv.h
+@@ -56,11 +56,11 @@ gdouble lqr_carver_read_cached_rgba(LqrC
+ gdouble lqr_carver_read_cached_custom(LqrCarver *r, gint x, gint y, gint channel);
+ 
+ /* cache brightness (or luma or else) to speedup energy computation */
+-gdouble *lqr_carver_generate_rcache_bright();
+-gdouble *lqr_carver_generate_rcache_luma();
+-gdouble *lqr_carver_generate_rcache_rgba();
+-gdouble *lqr_carver_generate_rcache_custom();
+-gdouble *lqr_carver_generate_rcache();
++gdouble *lqr_carver_generate_rcache_bright(LqrCarver *r);
++gdouble *lqr_carver_generate_rcache_luma(LqrCarver *r);
++gdouble *lqr_carver_generate_rcache_rgba(LqrCarver *r);
++gdouble *lqr_carver_generate_rcache_custom(LqrCarver *r);
++gdouble *lqr_carver_generate_rcache(LqrCarver *r);
+ 
+ gfloat lqr_energy_builtin_grad_all(gint x, gint y, gint img_width, gint img_height, LqrReadingWindow *rwindow,
+                                    LqrGradFunc gf);
diff -Nru liblqr-0.4.2/debian/patches/series liblqr-0.4.2/debian/patches/series
--- liblqr-0.4.2/debian/patches/series	2017-12-18 23:49:04.000000000 +0100
+++ liblqr-0.4.2/debian/patches/series	2025-12-29 11:21:23.000000000 +0100
@@ -1 +1,2 @@
 fix_configure.ac_for_dh_autoreconf
+fix_FTBFS_with_GCC_15.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to