[SCM] liblo/master: Disable use of SO_REUSEPORT, build-time check does not guarantee availability at runtime
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Mon Feb 10 14:51:56 UTC 2014
The following commit has been merged in the master branch:
commit 24b5a1f1351d369cf413428d55d5276eee577cbc
Author: Felipe Sateler <fsateler at debian.org>
Date: Tue Feb 4 09:49:49 2014 -0300
Disable use of SO_REUSEPORT, build-time check does not guarantee availability at runtime
diff --git a/debian/patches/no-so-reuseport.patch b/debian/patches/no-so-reuseport.patch
new file mode 100644
index 0000000..79ea487
--- /dev/null
+++ b/debian/patches/no-so-reuseport.patch
@@ -0,0 +1,16 @@
+Description: Disable SO_REUSEPORT usage unconditionally
+The correct solution would be a non-fatal runtime check, currently being
+discussed with upstream. This patch evidently cannot be forwarded as-is.
+Forwarded: no
+Author: Felipe Sateler <fsateler at debian.org>
+--- a/src/server.c
++++ b/src/server.c
+@@ -203,7 +203,7 @@ static int lo_server_setsock_reuseaddr(l
+
+ static int lo_server_setsock_reuseport(lo_server s)
+ {
+-#ifdef SO_REUSEPORT
++#if 0
+ unsigned int yes = 1;
+ if (setsockopt(s->sockets[0].fd, SOL_SOCKET, SO_REUSEPORT,
+ &yes, sizeof(yes)) < 0) {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..747f730
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-so-reuseport.patch
--
liblo packaging
More information about the pkg-multimedia-commits
mailing list