summaryrefslogtreecommitdiff
path: root/media-video/vlc/files/vlc-scm-libva-1.2.1-compat.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2015-05-29 11:37:42 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2015-05-29 11:37:42 +0300
commit61e3cf168213fd514bf1f86d7d436d2e13c9af32 (patch)
treefd44d1194a27761d7f98bbdedf79c484dabed467 /media-video/vlc/files/vlc-scm-libva-1.2.1-compat.patch
parente0e8af251d65328b5c37a8ae356a3f41ab42320b (diff)
a bit edited vlc ebuild from gentoo (do not depend on slot :0 lua ebuild)
Diffstat (limited to 'media-video/vlc/files/vlc-scm-libva-1.2.1-compat.patch')
-rw-r--r--media-video/vlc/files/vlc-scm-libva-1.2.1-compat.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-video/vlc/files/vlc-scm-libva-1.2.1-compat.patch b/media-video/vlc/files/vlc-scm-libva-1.2.1-compat.patch
new file mode 100644
index 0000000..adfdefe
--- /dev/null
+++ b/media-video/vlc/files/vlc-scm-libva-1.2.1-compat.patch
@@ -0,0 +1,12 @@
+--- a/modules/codec/avcodec/vaapi.c
++++ b/modules/codec/avcodec/vaapi.c
+@@ -34,6 +34,9 @@
+ #ifdef VLC_VA_BACKEND_XLIB
+ # include <vlc_xlib.h>
+ # include <va/va_x11.h>
++#if VA_MINOR_VERSION >= 34
++# include <va/va_compat.h>
++#endif
+ #endif
+ #ifdef VLC_VA_BACKEND_DRM
+ # include <sys/types.h>