public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/vlc] epel10: Fix build with libupnp-1.18
Date: Wed, 23 Sep 2026 14:55:53 GMT	[thread overview]
Message-ID: <179017535319.1.14953807931085561088.rpms-vlc-515c87fa572f@fedoraproject.org> (raw)

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}/.*$

                 reply	other threads:[~2026-09-23 14:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179017535319.1.14953807931085561088.rpms-vlc-515c87fa572f@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox