commit 6dfa8004fd9f52e5c86c48a7df63595e5747b5ed
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Oct 23 20:58:16 2018 +0100
Adapt patch
vlc-2.2x-fix-upnp.patch | 10 ++++++++++
vlc.spec | 2 ++
2 files changed, 12 insertions(+)
---
diff --git a/vlc-2.2x-fix-upnp.patch b/vlc-2.2x-fix-upnp.patch
index c6efe3c..0209e90 100644
--- a/vlc-2.2x-fix-upnp.patch
+++ b/vlc-2.2x-fix-upnp.patch
@@ -21,3 +21,13 @@ index bdd3c55ee5..82d43632f4 100644
/*
* Compat functions and typedefs for libupnp prior to 1.8
*/
+@@ -74,6 +74,8 @@
+ {
+ return p_s->Sid;
+ }
++#elif UPNP_VERSION < 10800
++typedef void* UpnpEventPtr;
+ #else
+ typedef const void* UpnpEventPtr;
+ #endif
+
diff --git a/vlc.spec b/vlc.spec
index 2f40526..cc1f7c8 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -37,6 +37,8 @@ License: GPLv2+
Group: Applications/Multimedia
URL:
http://www.videolan.org
Source0:
http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}%{...
+# Adapt patch with this addition fix
+#
https://github.com/mrjimenez/pupnp/issues/63
Patch0: vlc-2.2x-fix-upnp.patch
BuildRequires: desktop-file-utils