View | Details | Raw Unified | Return to bug 203761 | Differences between
and this patch

Collapse All | Expand All

(-)bitcoin/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	bitcoin
4
PORTNAME=	bitcoin
5
PORTVERSION=	0.11.0
5
PORTVERSION=	0.11.0
6
PORTREVISION=	1
6
DISTVERSIONPREFIX=	v
7
DISTVERSIONPREFIX=	v
7
CATEGORIES=	net-p2p finance
8
CATEGORIES=	net-p2p finance
8
9
(-)bitcoin/files/patch-src_net_cpp (+18 lines)
Line 0 Link Here
1
--- src/net.cpp.orig	2015-07-11 03:23:55.000000000 +1000
2
+++ src/net.cpp	2015-10-14 18:11:50.724351591 +1000
3
@@ -995,10 +995,14 @@
4
 #ifndef UPNPDISCOVER_SUCCESS
5
     /* miniupnpc 1.5 */
6
     devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0);
7
-#else
8
+#elif MINIUPNPC_API_VERSION < 14
9
     /* miniupnpc 1.6 */
10
     int error = 0;
11
     devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
12
+#else
13
+    /* miniupnpc 1.9.20150730 */
14
+    int error = 0;
15
+    devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error);
16
 #endif
17
 
18
     struct UPNPUrls urls;

Return to bug 203761