all the things
This commit is contained in:
14
graphics/intel-vaapi-driver/patches/patch-meson_build
Normal file
14
graphics/intel-vaapi-driver/patches/patch-meson_build
Normal file
@@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: meson.build
|
||||
--- meson.build.orig
|
||||
+++ meson.build
|
||||
@@ -19,7 +19,7 @@ if version_arr.length() == 4
|
||||
endif
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
-dl_dep = cc.find_library('dl')
|
||||
+#dl_dep = cc.find_library('dl')
|
||||
mathlib_dep = cc.find_library('m', required : false)
|
||||
|
||||
git = find_program('git', required : false)
|
||||
@@ -0,0 +1,21 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: src/i965_encoder_utils.c
|
||||
--- src/i965_encoder_utils.c.orig
|
||||
+++ src/i965_encoder_utils.c
|
||||
@@ -82,6 +82,7 @@ struct __avc_bitstream {
|
||||
|
||||
typedef struct __avc_bitstream avc_bitstream;
|
||||
|
||||
+#ifndef __BSD_VISIBLE
|
||||
static unsigned int
|
||||
swap32(unsigned int val)
|
||||
{
|
||||
@@ -92,6 +93,7 @@ swap32(unsigned int val)
|
||||
(pval[2] << 8) |
|
||||
(pval[3] << 0));
|
||||
}
|
||||
+#endif
|
||||
|
||||
static void
|
||||
avc_bitstream_start(avc_bitstream *bs)
|
||||
13
graphics/intel-vaapi-driver/patches/patch-src_meson_build
Normal file
13
graphics/intel-vaapi-driver/patches/patch-src_meson_build
Normal file
@@ -0,0 +1,13 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: src/meson.build
|
||||
--- src/meson.build.orig
|
||||
+++ src/meson.build
|
||||
@@ -215,7 +215,6 @@ if thread_dep.found()
|
||||
endif
|
||||
|
||||
shared_deps = [
|
||||
- dl_dep,
|
||||
mathlib_dep,
|
||||
thread_dep,
|
||||
libdrm_dep,
|
||||
Reference in New Issue
Block a user