[vlc-commits] Revert "Contribs: update pupnp to 1.6.21"

Hugo Beauzée-Luyssen git at videolan.org
Wed Apr 19 18:41:44 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr 19 18:40:35 2017 +0200| [c057f15939774795bd84fd02bd42d28badffc5bb] | committer: Hugo Beauzée-Luyssen

Revert "Contribs: update pupnp to 1.6.21"

This reverts commit 87d6c82901f646c93328cb10ce03c4d36ebe369d.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c057f15939774795bd84fd02bd42d28badffc5bb
---

 contrib/src/upnp/SHA512SUMS               |  2 +-
 contrib/src/upnp/dont_use_down_intf.patch | 18 +++++++++---------
 contrib/src/upnp/rules.mak                |  2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/contrib/src/upnp/SHA512SUMS b/contrib/src/upnp/SHA512SUMS
index 7da63fce19..f30c34e49b 100644
--- a/contrib/src/upnp/SHA512SUMS
+++ b/contrib/src/upnp/SHA512SUMS
@@ -1 +1 @@
-65a2989497b941dfa1f7ac09fe44267de4a5231af25a304f0f6e754c7cbb578bdcb3c500188b5ebfbff9f579099db7501817d45e1724ef8e384d6d918bcdcdeb  libupnp-1.6.21.tar.bz2
+97af62a7483cc19cfe80157cbc3383c1b4b7c9c39b848f4ed063784b74df0b9b0527f7b467e01451e0a44dbf9e8a9eab510619146a6ee1e3dce46f3e4af6e661  libupnp-1.6.19.tar.bz2
diff --git a/contrib/src/upnp/dont_use_down_intf.patch b/contrib/src/upnp/dont_use_down_intf.patch
index a360eb4216..6af6a4795e 100644
--- a/contrib/src/upnp/dont_use_down_intf.patch
+++ b/contrib/src/upnp/dont_use_down_intf.patch
@@ -1,12 +1,12 @@
---- libupnp-1.6.21/upnp/src/api/upnpapi.c.orig	2017-04-09 19:05:45.803495288 +0200
-+++ libupnp-1.6.21/upnp/src/api/upnpapi.c	2017-04-09 19:07:08.719491594 +0200
-@@ -3260,7 +3260,8 @@
- 		ifname_found = 1;
- 	}
- 	for (adapts_item = adapts; adapts_item != NULL; adapts_item = adapts_item->Next) {
+--- upnp_clean/upnp/src/api/upnpapi.c	2015-05-11 18:04:45.054340200 +0200
++++ libupnp-1.6.19/upnp/src/api/upnpapi.c	2015-05-11 18:11:37.438360600 +0200
+@@ -3258,7 +3258,8 @@
+		ifname_found = 1;
+	}
+	for (adapts_item = adapts; adapts_item != NULL; adapts_item = adapts_item->Next) {
 -		if (adapts_item->Flags & IP_ADAPTER_NO_MULTICAST) {
 +		if (adapts_item->Flags & IP_ADAPTER_NO_MULTICAST ||
 +			adapts_item->OperStatus != IfOperStatusUp) {
- 			adapts_item = adapts_item->Next;
- 			continue;
- 		}
+			continue;
+        }
+		if (ifname_found == 0) {
diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak
index 5c77121ab4..5a4d815872 100644
--- a/contrib/src/upnp/rules.mak
+++ b/contrib/src/upnp/rules.mak
@@ -1,5 +1,5 @@
 # UPNP
-UPNP_VERSION := 1.6.21
+UPNP_VERSION := 1.6.19
 UPNP_URL := $(SF)/pupnp/libupnp-$(UPNP_VERSION).tar.bz2
 
 ifdef BUILD_NETWORK



More information about the vlc-commits mailing list