mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
19 lines
459 B
Plaintext
19 lines
459 B
Plaintext
$NetBSD: patch-aa,v 1.2 2013/04/14 00:30:02 cheusov Exp $
|
|
|
|
Fix v4l2 header path on NetBSD.
|
|
|
|
--- va/va_backend.h.orig 2012-09-28 14:04:28.000000000 +0000
|
|
+++ va/va_backend.h
|
|
@@ -30,7 +30,11 @@
|
|
#define _VA_BACKEND_H_
|
|
|
|
#include <va/va.h>
|
|
+#if defined(__linux__)
|
|
#include <linux/videodev2.h>
|
|
+#elif defined(__NetBSD__)
|
|
+#include <sys/videoio.h>
|
|
+#endif
|
|
|
|
typedef struct VADriverContext *VADriverContextP;
|
|
typedef struct VADisplayContext *VADisplayContextP;
|