Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2015 18:16:10 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399286 - in head/net-p2p/digitalcoin: . files
Message-ID:  <201510141816.t9EIGAY0050071@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510141816.t9EIGAY0050071>