diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-02-06 10:29:07 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-02-06 10:29:07 -0500 |
commit | 09905688ec33404f8924080c6cb9c633962ee2ae (patch) | |
tree | 0fcaa87a5c6b522fbb351a8801cab673c29dd4cf /pcr/litecoin-qt/upnp-1.9.patch | |
parent | 694e63493168493aa065c0475bfabcae93af1266 (diff) | |
download | abslibre-09905688ec33404f8924080c6cb9c633962ee2ae.tar.gz abslibre-09905688ec33404f8924080c6cb9c633962ee2ae.tar.bz2 abslibre-09905688ec33404f8924080c6cb9c633962ee2ae.zip |
litecoin-qt-0.10.2.2-2: updating version
Diffstat (limited to 'pcr/litecoin-qt/upnp-1.9.patch')
-rw-r--r-- | pcr/litecoin-qt/upnp-1.9.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr/litecoin-qt/upnp-1.9.patch b/pcr/litecoin-qt/upnp-1.9.patch new file mode 100644 index 000000000..42e6cf18e --- /dev/null +++ b/pcr/litecoin-qt/upnp-1.9.patch @@ -0,0 +1,19 @@ +diff -Naur a/src/net.cpp b/src/net.cpp +--- a/src/net.cpp 2015-06-15 10:51:30.000000000 +0200 ++++ b/src/net.cpp 2015-10-03 16:15:10.441886309 +0200 +@@ -1020,10 +1020,14 @@ + #ifndef UPNPDISCOVER_SUCCESS + /* miniupnpc 1.5 */ + devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0); +-#else ++#elif MINIUPNPC_API_VERSION < 14 + /* miniupnpc 1.6 */ + int error = 0; + devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); ++#else ++ /* miniupnpc 1.9.20150730 */ ++ int error = 0; ++ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error); + #endif + + struct UPNPUrls urls; |