diff options
-rw-r--r-- | media-video/vlc/files/vlc-2.1.0-libva-1.2.1-compat.patch | 12 | ||||
-rw-r--r-- | media-video/vlc/vlc-2.1.0.ebuild | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/media-video/vlc/files/vlc-2.1.0-libva-1.2.1-compat.patch b/media-video/vlc/files/vlc-2.1.0-libva-1.2.1-compat.patch new file mode 100644 index 0000000..db73a4e --- /dev/null +++ b/media-video/vlc/files/vlc-2.1.0-libva-1.2.1-compat.patch @@ -0,0 +1,12 @@ +--- a/modules/codec/avcodec/vaapi.c ++++ b/modules/codec/avcodec/vaapi.c +@@ -36,6 +36,9 @@ + #include <libavcodec/vaapi.h> + #include <X11/Xlib.h> + #include <va/va_x11.h> ++#if VA_MINOR_VERSION >= 34 ++# include <va/va_compat.h> ++#endif + + #include "avcodec.h" + #include "va.h"
\ No newline at end of file diff --git a/media-video/vlc/vlc-2.1.0.ebuild b/media-video/vlc/vlc-2.1.0.ebuild index 0f8033c..d366db9 100644 --- a/media-video/vlc/vlc-2.1.0.ebuild +++ b/media-video/vlc/vlc-2.1.0.ebuild @@ -191,6 +191,7 @@ src_prepare() { epatch "${FILESDIR}"/${P}-freetype-proper-default-font.patch epatch "${FILESDIR}"/${P}-newer-rdp.patch + epatch "${FILESDIR}"/${P}-libva-1.2.1-compat.patch eautoreconf } |