diff --git a/vlc.spec b/vlc.spec index 6be513c..dc11143 100644 --- a/vlc.spec +++ b/vlc.spec @@ -64,6 +64,7 @@ License: GPLv2+ URL: https://www.videolan.org Source0: https://code.videolan.org/videolan/vlc/-/archive/%{commit0}/vlc-%{shortcommit0}.tar.gz Patch3: 0001-Use-SYSTEM-wide-ciphers-for-gnutls.patch +Patch4: vlc-onevpl.patch Patch5: Lower-libgcrypt-to-1.5.3.patch Patch6: Restore-support-for-thread-callbacks-for-older-gcryp.patch # lua-5.1 is used by default for vlc build @@ -322,6 +323,9 @@ VLC media player extras modules. %prep %setup -q -n %{vlc_setup} %patch -P3 -p1 +%if 0%{?fedora} > 37 || 0%{?rhel} > 8 +%patch -P4 -p1 +%endif %if 0%{?el7} %patch -P5 -p1 %patch -P6 -p1