all the things

This commit is contained in:
c0dev0id
2023-01-10 11:45:28 +01:00
parent f3db1ea486
commit 7a9bbf0168
143 changed files with 15515 additions and 0 deletions

View 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)

View File

@@ -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)

View 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,