public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vlc] epel10: Fix build with libupnp-1.18
@ 2026-09-23 14:55 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-23 14:55 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/vlc
Branch : epel10
Commit : 515c87fa572f017ce3453a0bce9c6b60fe68002b
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-02-11T12:35:46-05:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/vlc/c/515c87fa572f017ce3453a0bce9c6b60fe68002b?branch=epel10
Log:
Fix build with libupnp-1.18
---
diff --git a/libupnp118.patch b/libupnp118.patch
new file mode 100644
index 0000000..fcbbf65
--- /dev/null
+++ b/libupnp118.patch
@@ -0,0 +1,13 @@
+diff --git a/modules/services_discovery/upnp.hpp b/modules/services_discovery/upnp.hpp
+index b90e3cf..bc17189 100644
+--- a/modules/services_discovery/upnp.hpp
++++ b/modules/services_discovery/upnp.hpp
+@@ -37,7 +37,7 @@
+ #include <vlc_common.h>
+ #include <vlc_url.h>
+
+-#if UPNP_VERSION < 10800
++#if (UPNP_VERSION < 10800) || (UPNP_VERSION >= 11800)
+ typedef void* UpnpEventPtr;
+ #else
+ typedef const void* UpnpEventPtr;
diff --git a/vlc.spec b/vlc.spec
index 9b430ae..3ac8030 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -76,6 +76,8 @@ Patch: lua-math.patch
Patch: flatpak-cache.patch
# fix build with gstreamer-1.28
Patch: gstreamer128.patch
+# fix build with libupnp-1.18
+Patch: libupnp118.patch
%{load:%{S:1}}
%global __provides_exclude_from ^%{vlc_plugindir}/.*$
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-23 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 14:55 [rpms/vlc] epel10: Fix build with libupnp-1.18 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox