Bug#963284: pd-unauthorized: diff for NMU version 0.1-4.1
Control: tags 963284 + patch
Control: tags 963284 + pending
Dear maintainer,
I've prepared an NMU for pd-unauthorized (versioned as 0.1-4.1) and
uploaded it to DELAYED/14. Please feel free to tell me if I
should cancel it.
cu
Adrian
diff -Nru pd-unauthorized-0.1/debian/changelog pd-unauthorized-0.1/debian/changelog
--- pd-unauthorized-0.1/debian/changelog 2020-04-13 22:17:47.000000000 +0300
+++ pd-unauthorized-0.1/debian/changelog 2020-07-20 18:44:29.000000000 +0300
@@ -1,3 +1,10 @@
+pd-unauthorized (0.1-4.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Remove local sys_sockerror() prototypes. (Closes: #963284)
+
+ -- Adrian Bunk <bunk@debian.org> Mon, 20 Jul 2020 18:44:29 +0300
+
pd-unauthorized (0.1-4) unstable; urgency=medium
[ Ondřej Nový ]
diff -Nru pd-unauthorized-0.1/debian/patches/series pd-unauthorized-0.1/debian/patches/series
--- pd-unauthorized-0.1/debian/patches/series 2020-04-13 22:17:47.000000000 +0300
+++ pd-unauthorized-0.1/debian/patches/series 2020-07-20 18:44:29.000000000 +0300
@@ -1,3 +1,4 @@
fix_hardening.patch
fix_Wreturn.patch
spelling.patch
+sys_sockerror.patch
diff -Nru pd-unauthorized-0.1/debian/patches/sys_sockerror.patch pd-unauthorized-0.1/debian/patches/sys_sockerror.patch
--- pd-unauthorized-0.1/debian/patches/sys_sockerror.patch 1970-01-01 02:00:00.000000000 +0200
+++ pd-unauthorized-0.1/debian/patches/sys_sockerror.patch 2020-07-20 18:44:29.000000000 +0300
@@ -0,0 +1,47 @@
+Description: Remove local sys_sockerror() prototypes
+ The parameter became const.
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/963284
+
+--- pd-unauthorized-0.1.orig/mp3fileout~.c
++++ pd-unauthorized-0.1/mp3fileout~.c
+@@ -84,7 +84,6 @@ static struct timeval ztout;
+
+ static char *mp3fileout_version = "mp3fileout~: mp3 file streamer version 0.2, written by ydegoyon@free.fr";
+
+-extern void sys_sockerror(char *s);
+
+ void mp3fileout_closesocket(int fd)
+ {
+--- pd-unauthorized-0.1.orig/mp3streamin~.c
++++ pd-unauthorized-0.1/mp3streamin~.c
+@@ -83,7 +83,6 @@ static struct timeval ztout;
+
+ static char *mp3streamin_version = "mp3streamin~: mp3 peer-to-peer streamer version 0.3, written by ydegoyon@free.fr";
+
+-extern void sys_sockerror(char *s);
+
+ void mp3streamin_closesocket(int fd)
+ {
+--- pd-unauthorized-0.1.orig/speexin~.c
++++ pd-unauthorized-0.1/speexin~.c
+@@ -30,6 +30,10 @@
+ #include <m_pd.h>
+ #include <g_canvas.h>
+
++#if PD_MINOR_VERSION >= 37
++#include "s_stuff.h"
++#endif
++
+ #include <sys/types.h>
+ #include <string.h>
+ #include <stdlib.h>
+@@ -82,8 +86,6 @@ static struct timeval ztout;
+
+ static char *speexin_version = "speexin~: speex voice quality streamer version 0.2, written by ydegoyon@free.fr";
+
+-extern void sys_sockerror(char *s);
+-
+ void speexin_closesocket(int fd)
+ {
+ #ifndef _WIN32
Reply to: