I am uploading a NMU with a trivial patch to fix this. The debdiff is attached 
and also available in the git repo.
diff -Nru silverjuke-18.2.1/debian/changelog silverjuke-18.2.1/debian/changelog
--- silverjuke-18.2.1/debian/changelog  2022-09-18 20:21:55.000000000 +0200
+++ silverjuke-18.2.1/debian/changelog  2023-06-20 20:55:56.000000000 +0200
@@ -1,3 +1,13 @@
+silverjuke (18.2.1-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use newer UpnpInit2 API (Closes: #1037511)
+
+  [ Debian Janitor ]
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, 
Repository-Browse.
+
+ -- Bastian Germann <b...@debian.org>  Tue, 20 Jun 2023 20:55:56 +0200
+
 silverjuke (18.2.1-4) unstable; urgency=medium
 
   [ Dr. Tobias Quathamer ]
diff -Nru silverjuke-18.2.1/debian/patches/0003-Use-newer-UpnpInit2-API.patch 
silverjuke-18.2.1/debian/patches/0003-Use-newer-UpnpInit2-API.patch
--- silverjuke-18.2.1/debian/patches/0003-Use-newer-UpnpInit2-API.patch 
1970-01-01 01:00:00.000000000 +0100
+++ silverjuke-18.2.1/debian/patches/0003-Use-newer-UpnpInit2-API.patch 
2023-06-20 20:54:09.000000000 +0200
@@ -0,0 +1,21 @@
+From: Bastian Germann <b...@debian.org>
+Date: Tue, 20 Jun 2023 20:52:15 +0200
+Subject: Use newer UpnpInit2 API
+
+---
+ src/sjmodules/upnp.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/sjmodules/upnp.cpp b/src/sjmodules/upnp.cpp
+index a41b0e3..fa80f25 100644
+--- a/src/sjmodules/upnp.cpp
++++ b/src/sjmodules/upnp.cpp
+@@ -178,7 +178,7 @@ bool SjUpnpModule::InitLibupnp()
+ 
+       // init library - NB: we may be in a working thread here (eg. 
ImgThread), however, this seems not to be a problem
+       int error;
+-      if( (error=UpnpInit(NULL, 0)) != UPNP_E_SUCCESS ) {
++      if( (error=UpnpInit2(NULL, 0)) != UPNP_E_SUCCESS ) {
+               LogUpnpError("Cannot init", error);
+               ExitLibupnp();
+               return false; // error
diff -Nru silverjuke-18.2.1/debian/patches/series 
silverjuke-18.2.1/debian/patches/series
--- silverjuke-18.2.1/debian/patches/series     2022-09-18 20:21:40.000000000 
+0200
+++ silverjuke-18.2.1/debian/patches/series     2023-06-20 20:53:15.000000000 
+0200
@@ -1,3 +1,4 @@
 0001-Force-X11-for-wxGLCanvas.patch
 0002-Replace-URL-of-freedb-with-gnudb.gnudb.org.patch
+0003-Use-newer-UpnpInit2-API.patch
 wx3.2-compat.patch
diff -Nru silverjuke-18.2.1/debian/upstream/metadata 
silverjuke-18.2.1/debian/upstream/metadata
--- silverjuke-18.2.1/debian/upstream/metadata  1970-01-01 01:00:00.000000000 
+0100
+++ silverjuke-18.2.1/debian/upstream/metadata  2023-06-20 20:37:25.000000000 
+0200
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/silverjuke/silverjuke/issues
+Bug-Submit: https://github.com/silverjuke/silverjuke/issues/new
+Repository: https://github.com/silverjuke/silverjuke.git
+Repository-Browse: https://github.com/silverjuke/silverjuke

Reply via email to