diff -Nru pgpdump-0.36/debian/changelog pgpdump-0.36/debian/changelog
--- pgpdump-0.36/debian/changelog	2024-01-30 16:44:12.000000000 +0100
+++ pgpdump-0.36/debian/changelog	2025-09-21 14:46:56.000000000 +0200
@@ -1,3 +1,10 @@
+pgpdump (0.36-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * add upstream patch to fix ftbfs with GCC-15 (Closes: #1097574)
+
+ -- Florian Ernst <florian@debian.org>  Sun, 21 Sep 2025 14:46:56 +0200
+
 pgpdump (0.36-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru pgpdump-0.36/debian/patches/541442dc04259bde680b46742522177be40cc065.diff pgpdump-0.36/debian/patches/541442dc04259bde680b46742522177be40cc065.diff
--- pgpdump-0.36/debian/patches/541442dc04259bde680b46742522177be40cc065.diff	1970-01-01 01:00:00.000000000 +0100
+++ pgpdump-0.36/debian/patches/541442dc04259bde680b46742522177be40cc065.diff	2025-09-21 14:46:53.000000000 +0200
@@ -0,0 +1,27 @@
+Description: Fix ftbfs with GCC-15
+Author: Sam James
+Origin: https://github.com/kazu-yamamoto/pgpdump/commit/541442dc04259bde680b46742522177be40cc065
+Bug-Debian: http://bugs.debian.org/1097574
+
+diff --git a/packet.c b/packet.c
+index b6f3665..bdd3d3e 100644
+--- a/packet.c
++++ b/packet.c
+@@ -4,7 +4,7 @@
+ 
+ #include "pgpdump.h"
+ 
+-typedef void (*funcptr)();
++typedef void (*funcptr)(int);
+ 
+ private int get_new_len(int);
+ private int is_partial(int);
+@@ -91,7 +91,7 @@ TAG[] = {
+ #define TAG_NUM (sizeof(TAG) * sizeof(string))
+ 
+ private void
+-(*tag_func[])() = {
++(*tag_func[])(int) = {
+ 	Reserved,
+ 	Public_Key_Encrypted_Session_Key_Packet,
+ 	Signature_Packet,
diff -Nru pgpdump-0.36/debian/patches/series pgpdump-0.36/debian/patches/series
--- pgpdump-0.36/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ pgpdump-0.36/debian/patches/series	2025-09-21 14:44:56.000000000 +0200
@@ -0,0 +1 @@
+541442dc04259bde680b46742522177be40cc065.diff
