diff --git a/vlc-allow-deprecated-fribidi.patch b/vlc-allow-deprecated-fribidi.patch new file mode 100644 index 0000000..79fe883 --- /dev/null +++ b/vlc-allow-deprecated-fribidi.patch @@ -0,0 +1,12 @@ +Index: vlc-3.0.0/modules/text_renderer/freetype/text_layout.c +=================================================================== +--- vlc-3.0.0.orig/modules/text_renderer/freetype/text_layout.c ++++ vlc-3.0.0/modules/text_renderer/freetype/text_layout.c +@@ -52,7 +52,6 @@ + + /* RTL */ + #if defined(HAVE_FRIBIDI) +-# define FRIBIDI_NO_DEPRECATED 1 + # include + #endif + diff --git a/vlc.changes b/vlc.changes index acae3ae..5f9299b 100644 --- a/vlc.changes +++ b/vlc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Feb 18 10:01:28 UTC 2018 - dimstar@opensuse.org + +- Add vlc-allow-deprecated-fribidi.patch: Allow the usage of + deprecated fribidi functions. Disallowing deprecated stuff is + good during the dev phase, but once released, it is just becoming + a pain. + ------------------------------------------------------------------- Wed Feb 14 20:12:18 UTC 2018 - bjorn.lie@gmail.com diff --git a/vlc.spec b/vlc.spec index 6b4cf94..da6b0bb 100644 --- a/vlc.spec +++ b/vlc.spec @@ -43,6 +43,8 @@ Source1: %{name}.changes Source2: %{name}-rpmlintrc # PATCH-FIX-UPSTREAM vlc.a52.patch https://trac.videolan.org/vlc/ticket/3731 dimstar@opensuse.org -- Support new version of liba52 Patch0: vlc.a52.patch +# PATCH-FIX-UPSTREAM vlc-allow-deprecated-fribidi.patch dimstar@opensuse.org -- Allow usage of deprecated fribidi functions +Patch1: vlc-allow-deprecated-fribidi.patch # PATCH-FEATURE-OPENSUSE vlc-projectM-qt5.patch -- Build against projectM-qt5; openSUSE provides projectM as -qt and -qt5 variant Patch100: vlc-projectM-qt5.patch BuildRequires: Mesa-devel @@ -318,6 +320,7 @@ default when `vlc` is invoked from an X session. %prep %setup -q %patch0 -p1 +%patch1 -p1 %patch100 -p1 ### And LUA 5.3.1 has some more API changes