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 \