aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libva-vdpau-driver
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-01-17 23:54:42 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-01-17 23:54:42 +0000
commit09384ce004cba35e5d736a6f1d890f754dc488e7 (patch)
tree9db08bc764430fdea1c0eccfb1d7c0753f4a88c9 /multimedia/libva-vdpau-driver
parent7723e7d2bf16fabcc70a47b9f3e321fea788559a (diff)
downloadports-09384ce004cba35e5d736a6f1d890f754dc488e7.tar.gz
ports-09384ce004cba35e5d736a6f1d890f754dc488e7.zip
multimedia/libva{,-intel-driver}: clean up
- Add BUILD_DEPENDS to intel driver for wl_drm_interface fix - Rewrite gettid() to make it easier to maintain - Update description from upstream - Drop unused v4l_compat dependency - Drop unused USES=alias as <alloca.h> is gone - Drop libGL dependency as intel driver uses libEGL via dlopen on Wayland - Drop --program-prefix after vainfo moved to libva-utils - Drop fmake workaround as USES=gmake is used - Drop -ldl workaround for FreeBSD < 11.2 - Drop RTLD_NODELETE workaround for FreeBSD < 8.0 - Drop GLX_GLXEXT_VERSION workaround for Mesa < 7.8.1 - Drop Created by as the port diverged a lot (even more with Meson) - Hint intel driver isn't actively developed (but still maintained) - Clarify libdrm dependency
Notes
Notes: svn path=/head/; revision=490611
Diffstat (limited to 'multimedia/libva-vdpau-driver')
-rw-r--r--multimedia/libva-vdpau-driver/files/patch-src_vdpau__video.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/multimedia/libva-vdpau-driver/files/patch-src_vdpau__video.h b/multimedia/libva-vdpau-driver/files/patch-src_vdpau__video.h
new file mode 100644
index 000000000000..521f63da8258
--- /dev/null
+++ b/multimedia/libva-vdpau-driver/files/patch-src_vdpau__video.h
@@ -0,0 +1,36 @@
+In file included from vdpau_video.c:22:
+./vdpau_video.h:277:12: warning: declaration of 'struct v4l2_format' will not be visible outside of this function
+ [-Wvisibility]
+ struct v4l2_format *v4l2_fmt,
+ ^
+./vdpau_video.h:278:12: warning: declaration of 'struct v4l2_buffer' will not be visible outside of this function
+ [-Wvisibility]
+ struct v4l2_buffer *v4l2_buf,
+ ^
+vdpau_video.c:930:12: warning: declaration of 'struct v4l2_format' will not be visible outside of this function
+ [-Wvisibility]
+ struct v4l2_format *v4l2_fmt,
+ ^
+vdpau_video.c:931:12: warning: declaration of 'struct v4l2_buffer' will not be visible outside of this function
+ [-Wvisibility]
+ struct v4l2_buffer *v4l2_buf,
+ ^
+vdpau_video.c:927:1: error: conflicting types for 'vdpau_CreateSurfaceFromV4L2Buf'
+vdpau_CreateSurfaceFromV4L2Buf(
+^
+./vdpau_video.h:274:1: note: previous declaration is here
+vdpau_CreateSurfaceFromV4L2Buf(
+^
+4 warnings and 1 error generated.
+
+--- src/vdpau_video.h.orig 2012-10-05 15:02:58 UTC
++++ src/vdpau_video.h
+@@ -21,6 +21,8 @@
+ #ifndef VDPAU_VIDEO_H
+ #define VDPAU_VIDEO_H
+
++#include <linux/videodev2.h>
++
+ #include "vdpau_driver.h"
+ #include "vdpau_decode.h"
+