summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-10-10 15:23:38 +0000
committerdrochner <drochner@pkgsrc.org>2012-10-10 15:23:38 +0000
commita776281140253a92529aeda61d8c55711fb7729e (patch)
tree36503d8b231a4adb0d3f2887ef3783c8e171eee2 /net
parent7251c59c28d1cf2cacfe7c673eb9ff353f271a81 (diff)
downloadpkgsrc-a776281140253a92529aeda61d8c55711fb7729e.tar.gz
re-add the patch which applies SO_REUSEPORT, got lost in last update
Diffstat (limited to 'net')
-rw-r--r--net/gssdp/distinfo3
-rw-r--r--net/gssdp/patches/patch-aa17
2 files changed, 19 insertions, 1 deletions
diff --git a/net/gssdp/distinfo b/net/gssdp/distinfo
index b0a2f1e7510..497300caea6 100644
--- a/net/gssdp/distinfo
+++ b/net/gssdp/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2012/10/06 08:12:33 ryoon Exp $
+$NetBSD: distinfo,v 1.5 2012/10/10 15:23:38 drochner Exp $
SHA1 (gssdp-0.12.2.1.tar.xz) = d3b7dc2512835ff73709d95c218341fe8911d64c
RMD160 (gssdp-0.12.2.1.tar.xz) = af460625d0869be8332129ee05c5f2d328a649af
Size (gssdp-0.12.2.1.tar.xz) = 271976 bytes
+SHA1 (patch-aa) = 7a6df9b0d4673f89a437002929dbaf958e712e1d
SHA1 (patch-ab) = 16088d79afd534ec44b47f26ee30d3f9be126897
diff --git a/net/gssdp/patches/patch-aa b/net/gssdp/patches/patch-aa
new file mode 100644
index 00000000000..d4f52d0c01a
--- /dev/null
+++ b/net/gssdp/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.4 2012/10/10 15:23:39 drochner Exp $
+
+--- libgssdp/gssdp-socket-functions.c.orig 2011-11-29 12:07:01.000000000 +0000
++++ libgssdp/gssdp-socket-functions.c
+@@ -157,10 +157,10 @@ gboolean
+ gssdp_socket_reuse_address (GSocket *socket,
+ gboolean enable,
+ GError **error) {
+-#if defined(G_OS_WIN32) || defined(__OpenBSD__)
++#if defined(G_OS_WIN32) || defined(__OpenBSD__) || defined(__NetBSD__)
+ return gssdp_socket_option_set (socket,
+ SOL_SOCKET,
+-#if defined(__OpenBSD__)
++#if defined(__OpenBSD__) || defined(__NetBSD__)
+ SO_REUSEPORT,
+ #else
+ SO_REUSEADDR,