Dear maintainer,

I've uploaded an NMU for spooles (versioned as 2.2-14.2).
The diff is attached to this message.

cu
Adrian
diffstat for spooles-2.2 spooles-2.2

 changelog           |    8 ++++++++
 patches/gcc14.patch |   33 +++++++++++++++++++++++++++++++++
 patches/series      |    1 +
 rules               |    1 +
 4 files changed, 43 insertions(+)

diff -Nru spooles-2.2/debian/changelog spooles-2.2/debian/changelog
--- spooles-2.2/debian/changelog	2024-02-29 19:18:08.000000000 +0200
+++ spooles-2.2/debian/changelog	2025-04-10 22:26:46.000000000 +0300
@@ -1,3 +1,11 @@
+spooles (2.2-14.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 14. (Closes: #1075534)
+  * Remove stale main.toc during the build.
+
+ -- Adrian Bunk <b...@debian.org>  Thu, 10 Apr 2025 22:26:46 +0300
+
 spooles (2.2-14.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru spooles-2.2/debian/patches/gcc14.patch spooles-2.2/debian/patches/gcc14.patch
--- spooles-2.2/debian/patches/gcc14.patch	1970-01-01 02:00:00.000000000 +0200
+++ spooles-2.2/debian/patches/gcc14.patch	2025-04-10 22:26:46.000000000 +0300
@@ -0,0 +1,33 @@
+Description: Fix FTBFS with gcc 14
+Author: Adrian Bunk <b...@debian.org>
+Bug-Debian: https://bugs.debian.org/1075534
+
+--- spooles-2.2.orig/ETree/src/transform.c
++++ spooles-2.2/ETree/src/transform.c
+@@ -291,7 +291,7 @@ etree2 = ETree_compress(etree, mapIV) ;
+    remap the nzeros[] vector
+    -------------------------
+ */
+-temp = IVinit(nfront, NULL) ;
++temp = IVinit(nfront, 0) ;
+ IVcopy(nfront, temp, nzeros) ;
+ IV_setSize(nzerosIV, nnew) ;
+ nzeros = IV_entries(nzerosIV) ;
+@@ -453,7 +453,7 @@ etree2 = ETree_compress(etree, mapIV) ;
+    remap the nzeros[] vector
+    -------------------------
+ */
+-temp = IVinit(nfront, NULL) ;
++temp = IVinit(nfront, 0) ;
+ IVcopy(nfront, temp, nzeros) ;
+ IV_setSize(nzerosIV, nnew) ;
+ nzeros = IV_entries(nzerosIV) ;
+@@ -614,7 +614,7 @@ etree2 = ETree_compress(etree, mapIV) ;
+    remap the nzeros[] vector
+    -------------------------
+ */
+-temp = IVinit(nfront, NULL) ;
++temp = IVinit(nfront, 0) ;
+ IVcopy(nfront, temp, nzeros) ;
+ IV_setSize(nzerosIV, nnew) ;
+ nzeros = IV_entries(nzerosIV) ;
diff -Nru spooles-2.2/debian/patches/series spooles-2.2/debian/patches/series
--- spooles-2.2/debian/patches/series	2018-12-20 00:56:58.000000000 +0200
+++ spooles-2.2/debian/patches/series	2025-04-10 22:26:46.000000000 +0300
@@ -8,3 +8,4 @@
 fix_format_not_a_string.patch
 fix_FTBFS_timings.patch
 cross.patch
+gcc14.patch
diff -Nru spooles-2.2/debian/rules spooles-2.2/debian/rules
--- spooles-2.2/debian/rules	2018-12-20 00:56:58.000000000 +0200
+++ spooles-2.2/debian/rules	2025-04-10 22:26:46.000000000 +0300
@@ -8,6 +8,7 @@
 override_dh_auto_build-indep:
 	for texdocdir in AllInOne FrontTrees ReferenceManual; do \
 	  (cd documentation/$$texdocdir; \
+	   rm -f main.toc; \
 	   latex main; \
 	   latex main; \
 	   latex main; \

Reply via email to