Control: tags 1097678 + patch
Control: tags 1097678 + pending

Dear maintainer,

I've prepared an NMU for python-easysnmp (versioned as 0.2.6-1.1) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian
diffstat for python-easysnmp-0.2.6 python-easysnmp-0.2.6

 changelog            |    7 +++++++
 patches/gcc-15.patch |   15 +++++++++++++++
 patches/series       |    1 +
 3 files changed, 23 insertions(+)

diff -Nru python-easysnmp-0.2.6/debian/changelog python-easysnmp-0.2.6/debian/changelog
--- python-easysnmp-0.2.6/debian/changelog	2022-09-06 23:27:41.000000000 +0300
+++ python-easysnmp-0.2.6/debian/changelog	2025-10-24 19:33:23.000000000 +0300
@@ -1,3 +1,10 @@
+python-easysnmp (0.2.6-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1097678)
+
+ -- Adrian Bunk <[email protected]>  Fri, 24 Oct 2025 19:33:23 +0300
+
 python-easysnmp (0.2.6-1) unstable; urgency=medium
 
   * New upstream version 0.2.6
diff -Nru python-easysnmp-0.2.6/debian/patches/gcc-15.patch python-easysnmp-0.2.6/debian/patches/gcc-15.patch
--- python-easysnmp-0.2.6/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ python-easysnmp-0.2.6/debian/patches/gcc-15.patch	2025-10-24 19:33:23.000000000 +0300
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1097678
+
+--- python-easysnmp-0.2.6.orig/easysnmp/interface.c
++++ python-easysnmp-0.2.6/easysnmp/interface.c
+@@ -261,7 +261,7 @@ void __libraries_init()
+                        NETSNMP_OID_OUTPUT_SUFFIX);
+ }
+ 
+-void __libraries_free()
++void __libraries_free(void *unused)
+ {
+     snmp_shutdown(APPNAME);
+ }
diff -Nru python-easysnmp-0.2.6/debian/patches/series python-easysnmp-0.2.6/debian/patches/series
--- python-easysnmp-0.2.6/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ python-easysnmp-0.2.6/debian/patches/series	2025-10-24 19:33:23.000000000 +0300
@@ -0,0 +1 @@
+gcc-15.patch

Reply via email to