summaryrefslogtreecommitdiff
path: root/net-proxy/dante/files/dante-1.4.1-miniupnp14.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-proxy/dante/files/dante-1.4.1-miniupnp14.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'net-proxy/dante/files/dante-1.4.1-miniupnp14.patch')
-rw-r--r--net-proxy/dante/files/dante-1.4.1-miniupnp14.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-proxy/dante/files/dante-1.4.1-miniupnp14.patch b/net-proxy/dante/files/dante-1.4.1-miniupnp14.patch
new file mode 100644
index 000000000000..1e952ad18b7d
--- /dev/null
+++ b/net-proxy/dante/files/dante-1.4.1-miniupnp14.patch
@@ -0,0 +1,14 @@
+Index: dante-1.4.1/lib/upnp.c
+===================================================================
+--- dante-1.4.1.orig/lib/upnp.c
++++ dante-1.4.1/lib/upnp.c
+@@ -156,6 +156,9 @@ socks_initupnp(gw, emsg, emsglen)
+ 0
+ #if HAVE_LIBMINIUPNP17
+ ,0,
++#if MINIUPNPC_API_VERSION >= 14 /* adds ttl */
++ 2,
++#endif
+ &rc
+ #endif /* HAVE_LIBMINIUPNP17 */
+ );