tags 1096503 + patch
user [email protected]
usertags 1096503 + bsp-2025-10-brazil
thanks

On Monday, February 17 2025, 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.

Hi there,

I fixed the issue and took the liberty to upload the package as an NMU
to DELAYED-5.  Feel free to cancel the upload if you would like!

I also have the commits/Debian tag locally, and will git push them if my
NMU is accepted.

Attached is the debdiff for the change.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

diff -Nru dasm-2.20.15~20201109+really2.20.14.1/debian/changelog dasm-2.20.15~20201109+really2.20.14.1/debian/changelog
--- dasm-2.20.15~20201109+really2.20.14.1/debian/changelog	2022-10-27 00:05:37.000000000 -0400
+++ dasm-2.20.15~20201109+really2.20.14.1/debian/changelog	2025-09-27 16:21:09.000000000 -0400
@@ -1,3 +1,24 @@
+dasm (2.20.15~20201109+really2.20.14.1-2.1) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Non-maintainer upload.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+    Changes-By: lintian-brush
+    Fixes: lintian: upstream-metadata-file-is-missing
+    See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html
+    Fixes: lintian: upstream-metadata-missing-bug-tracking
+    See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html
+  * Update lintian override info format in d/source/lintian-overrides on line 5.
+    Changes-By: lintian-brush
+    Fixes: lintian: mismatched-override
+    See-also: https://lintian.debian.org/tags/mismatched-override.html
+
+  [ Sergio Durigan Junior ]
+  * d/p/0001-exp.c-Make-opfunc_t-variadic.patch: Fix FTBFS with GCC 15.
+    (Closes: #1096503)
+
+ -- Sergio Durigan Junior <[email protected]>  Sat, 27 Sep 2025 16:21:09 -0400
+
 dasm (2.20.15~20201109+really2.20.14.1-2) unstable; urgency=medium
 
   * [00c6200] bump std-ver to 4.6.1; no changes
diff -Nru dasm-2.20.15~20201109+really2.20.14.1/debian/patches/0001-exp.c-Make-opfunc_t-variadic.patch dasm-2.20.15~20201109+really2.20.14.1/debian/patches/0001-exp.c-Make-opfunc_t-variadic.patch
--- dasm-2.20.15~20201109+really2.20.14.1/debian/patches/0001-exp.c-Make-opfunc_t-variadic.patch	1969-12-31 19:00:00.000000000 -0500
+++ dasm-2.20.15~20201109+really2.20.14.1/debian/patches/0001-exp.c-Make-opfunc_t-variadic.patch	2025-09-27 16:20:24.000000000 -0400
@@ -0,0 +1,28 @@
+From: Sergio Durigan Junior <[email protected]>
+Date: Sat, 27 Sep 2025 16:18:26 -0400
+Subject: exp.c: Make opfunc_t variadic
+
+Fix FTBFS with GCC 15.
+
+This is an ugly hack.  A better way would probably involve expanding
+the function's arguments using __attribute__((unused)) for extra vars.
+
+Forwarded: no
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096503
+---
+ src/exp.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/exp.c b/src/exp.c
+index aa849c9..06e0579 100644
+--- a/src/exp.c
++++ b/src/exp.c
+@@ -49,7 +49,7 @@ typedef union unibin opfunc_t;
+ #define _binary .binary
+ #else			/* warning: Calling functions without prototype */
+ 
+-typedef void (*opfunc_t)();
++typedef void (*opfunc_t)(...);
+ #define _unary
+ #define _binary
+ 
diff -Nru dasm-2.20.15~20201109+really2.20.14.1/debian/patches/series dasm-2.20.15~20201109+really2.20.14.1/debian/patches/series
--- dasm-2.20.15~20201109+really2.20.14.1/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ dasm-2.20.15~20201109+really2.20.14.1/debian/patches/series	2025-09-27 16:20:24.000000000 -0400
@@ -0,0 +1 @@
+0001-exp.c-Make-opfunc_t-variadic.patch
diff -Nru dasm-2.20.15~20201109+really2.20.14.1/debian/source/lintian-overrides dasm-2.20.15~20201109+really2.20.14.1/debian/source/lintian-overrides
--- dasm-2.20.15~20201109+really2.20.14.1/debian/source/lintian-overrides	2022-10-26 23:55:11.000000000 -0400
+++ dasm-2.20.15~20201109+really2.20.14.1/debian/source/lintian-overrides	2025-09-27 15:55:31.000000000 -0400
@@ -2,5 +2,5 @@
 dasm source: unnecessary-source-date-epoch-assignment
 
 # forwarded: https://github.com/dasm-assembler/dasm/pull/97
-dasm source: maintainer-manual-page debian/dasm.1
+dasm source: maintainer-manual-page [debian/dasm.1]
 
diff -Nru dasm-2.20.15~20201109+really2.20.14.1/debian/upstream/metadata dasm-2.20.15~20201109+really2.20.14.1/debian/upstream/metadata
--- dasm-2.20.15~20201109+really2.20.14.1/debian/upstream/metadata	1969-12-31 19:00:00.000000000 -0500
+++ dasm-2.20.15~20201109+really2.20.14.1/debian/upstream/metadata	2025-09-27 15:55:31.000000000 -0400
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/dasm-assembler/dasm/issues
+Bug-Submit: https://github.com/dasm-assembler/dasm/issues/new
+Repository-Browse: https://github.com/dasm-assembler/dasm

Attachment: signature.asc
Description: PGP signature

Reply via email to