svn commit: r399286 - in head/net-p2p/digitalcoin: . files
Dirk Meyer
dinoex at FreeBSD.org
Wed Oct 14 18:16:11 UTC 2015
Author: dinoex
Date: Wed Oct 14 18:16:10 2015
New Revision: 399286
URL: https://svnweb.freebsd.org/changeset/ports/399286
Log:
- fix API for miniupnpc-1.9.20151008
Modified:
head/net-p2p/digitalcoin/Makefile
head/net-p2p/digitalcoin/files/patch-src__net.cpp
Modified: head/net-p2p/digitalcoin/Makefile
==============================================================================
--- head/net-p2p/digitalcoin/Makefile Wed Oct 14 18:12:58 2015 (r399285)
+++ head/net-p2p/digitalcoin/Makefile Wed Oct 14 18:16:10 2015 (r399286)
@@ -3,7 +3,7 @@
PORTNAME= digitalcoin
PORTVERSION= 1.0.0.0b
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net-p2p
MAINTAINER= myst3r10n at rocketmail.com
Modified: head/net-p2p/digitalcoin/files/patch-src__net.cpp
==============================================================================
--- head/net-p2p/digitalcoin/files/patch-src__net.cpp Wed Oct 14 18:12:58 2015 (r399285)
+++ head/net-p2p/digitalcoin/files/patch-src__net.cpp Wed Oct 14 18:16:10 2015 (r399286)
@@ -9,3 +9,16 @@
static std::vector<SOCKET> vhListenSocket;
CAddrMan addrman;
+@@ -1035,8 +1035,12 @@ void ThreadMapPort2(void* parg)
+ #else
+ /* miniupnpc 1.6 */
+ int error = 0;
++#if MINIUPNPC_API_VERSION >= 14
++ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error);
++#else
+ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
+ #endif
++#endif
+
+ struct UPNPUrls urls;
+ struct IGDdatas data;
More information about the svn-ports-all
mailing list