diff options
Diffstat (limited to 'multimedia/mpv/patches/patch-video_out_drm__common.c')
-rw-r--r-- | multimedia/mpv/patches/patch-video_out_drm__common.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/multimedia/mpv/patches/patch-video_out_drm__common.c b/multimedia/mpv/patches/patch-video_out_drm__common.c index e567b76c4f3..02d150a067b 100644 --- a/multimedia/mpv/patches/patch-video_out_drm__common.c +++ b/multimedia/mpv/patches/patch-video_out_drm__common.c @@ -1,19 +1,16 @@ -$NetBSD: patch-video_out_drm__common.c,v 1.3 2019/10/25 14:35:56 leot Exp $ +$NetBSD: patch-video_out_drm__common.c,v 1.4 2020/12/19 11:27:51 leot Exp $ Enable support for DRM on NetBSD. ---- video/out/drm_common.c.orig 2019-10-25 13:08:15.000000000 +0000 +--- video/out/drm_common.c.orig 2020-11-22 17:46:28.000000000 +0000 +++ video/out/drm_common.c -@@ -21,7 +21,12 @@ - #include <sys/ioctl.h> - #include <poll.h> - #include <sys/stat.h> -+#if defined(__NetBSD__) +@@ -30,6 +30,9 @@ + + #if HAVE_CONSIO_H + #include <sys/consio.h> ++#elif HAVE_WSDISPLAY_USL_IO_H +#include <sys/types.h> +#include <dev/wscons/wsdisplay_usl_io.h> -+#else + #else #include <sys/vt.h> -+#endif - #include <unistd.h> - #include <limits.h> - #include <math.h> + #endif |