aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/obs-studio/files/patch-cmake_common_helpers__common.cmake2
-rw-r--r--multimedia/obs-studio/files/patch-libobs-opengl_gl-egl-common.c13
2 files changed, 1 insertions, 14 deletions
diff --git a/multimedia/obs-studio/files/patch-cmake_common_helpers__common.cmake b/multimedia/obs-studio/files/patch-cmake_common_helpers__common.cmake
index f505af58fcf4..f80e9a43150c 100644
--- a/multimedia/obs-studio/files/patch-cmake_common_helpers__common.cmake
+++ b/multimedia/obs-studio/files/patch-cmake_common_helpers__common.cmake
@@ -5,7 +5,7 @@
else()
foreach(architecture IN LISTS _AOP_ARCHITECTURES)
+ if (${architecture} STREQUAL x86_64)
-+ set(architecture "amd64")
++ set(architecture "amd64") # the x86_64 is called amd64 on BSDs
+ endif()
if(OS_WINDOWS)
if("${architecture}" STREQUAL CMAKE_VS_PLATFORM_NAME)
diff --git a/multimedia/obs-studio/files/patch-libobs-opengl_gl-egl-common.c b/multimedia/obs-studio/files/patch-libobs-opengl_gl-egl-common.c
deleted file mode 100644
index 9de878a7d06c..000000000000
--- a/multimedia/obs-studio/files/patch-libobs-opengl_gl-egl-common.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- libobs-opengl/gl-egl-common.c.orig 2025-07-14 17:07:11 UTC
-+++ libobs-opengl/gl-egl-common.c
-@@ -33,7 +33,10 @@ typedef unsigned int drm_handle_t;
-
- #else
-
-+#include <fcntl.h>
-+#include <unistd.h>
- #include <stdint.h>
-+#include <xf86drm.h>
- #include <sys/ioccom.h>
- #include <sys/types.h>
- typedef int8_t __s8;