media-video/vlc: Update vlc-9999-libupnp-slot-1.8.patch
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 11 Aug 2018 14:34:34 +0000 (16:34 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 11 Aug 2018 16:43:55 +0000 (18:43 +0200)
Package-Manager: Portage-2.3.45, Repoman-2.3.10

media-video/vlc/files/vlc-9999-libupnp-slot-1.8.patch

index 893f936b729ec79e7ae1003eadaff6655266dd38..15ffc6af6fa4c26ba11dfbbae5431058c40dffa8 100644 (file)
@@ -1,16 +1,16 @@
---- a/modules/services_discovery/upnp.hpp      2017-12-25 18:17:33.358015500 +0100
-+++ b/modules/services_discovery/upnp.hpp      2017-12-25 18:30:45.158167813 +0100
+--- a/modules/services_discovery/upnp-wrapper.hpp      2017-12-25 18:17:33.358015500 +0100
++++ b/modules/services_discovery/upnp-wrapper.hpp      2017-12-25 18:30:45.158167813 +0100
 @@ -35,8 +35,8 @@
- #include <windows.h>
- #include <wincrypt.h>
- #endif
--#include <upnp/upnp.h>
--#include <upnp/upnptools.h>
+ #include <algorithm>
+ #include <assert.h>
+-#include <upnp.h>
+-#include <upnptools.h>
 +#include <upnp-1.8/upnp.h>
 +#include <upnp-1.8/upnptools.h>
  
- #include <vlc_common.h>
- #include <vlc_url.h>
+ #if UPNP_VERSION < 10800
+ typedef void* UpnpEventPtr;
 
 --- a/configure.ac     2017-12-09 14:09:12.956370304 +0100
 +++ b/configure.ac     2017-12-09 14:13:25.236710362 +0100