From bf326b70f735d9599e39b75415245ea784227e80 Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Tue, 5 Jul 2016 11:40:14 +0200 Subject: x11-wm/xpra: Make deprecated avcodec_decode_video2 non-fatal (see bug 588006). Package-Manager: portage-2.2.28 --- x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch (limited to 'x11-wm/xpra/files') diff --git a/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch b/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch new file mode 100644 index 000000000000..13bd4be892d5 --- /dev/null +++ b/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch @@ -0,0 +1,11 @@ +--- xpra-0.17.4/setup.py ++++ xpra-0.17.4/setup.py +@@ -660,7 +660,7 @@ + "-Wno-unused-function", + "-Wno-sometimes-uninitialized"] + elif get_gcc_version()>=[4, 4]: +- eifd = ["-Werror", ++ eifd = ["-Werror", "-Wno-error=deprecated-declarations", + #CentOS 6.x gives us some invalid warnings in nvenc, ignore those: + #"-Wno-error=uninitialized", + #needed on Debian and Ubuntu to avoid this error: -- cgit v1.2.3-65-gdbad