From 9ca626f1594e3ddada88fa4aba1eed984acf392c7bf5493d5e74099d3bc5bcec Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Fri, 23 Apr 2021 09:20:44 +0000 Subject: [PATCH] Accepting request 887984 from home:alois:branches:X11:Utilities - Fix build with ffmpeg 4.4 on Leap OBS-URL: https://build.opensuse.org/request/show/887984 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=78 --- xpra.changes | 5 +++++ xpra.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/xpra.changes b/xpra.changes index 68ad53d..e40b0bd 100644 --- a/xpra.changes +++ b/xpra.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 23 09:09:12 UTC 2021 - Luigi Baldoni + +- Fix build with ffmpeg 4.4 on Leap + ------------------------------------------------------------------- Wed Apr 21 10:40:46 UTC 2021 - Luigi Baldoni diff --git a/xpra.spec b/xpra.spec index cd874a6..8423643 100644 --- a/xpra.spec +++ b/xpra.spec @@ -142,6 +142,10 @@ sed -e 's|__FILLUPDIR__|%{_fillupdir}|' \ sed -i '/install_html5/s/verbose=False/verbose=True/' %{name}-html5-%{html5_ver}/setup.py %build +export CFLAGS="%{optflags}" +%if 0%{?suse_version} <= 1500 +export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations" +%endif python3 setup.py clean python3 setup.py build \