git: 4e59ce147d17 - main - multimedia/obs-studio: Update patches

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 02 Aug 2025 07:47:59 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e59ce147d179ea2ef231312a0674be1ce246e4f

commit 4e59ce147d179ea2ef231312a0674be1ce246e4f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-08-02 03:53:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-08-02 07:47:53 +0000

    multimedia/obs-studio: Update patches
---
 .../files/patch-cmake_common_helpers__common.cmake          |  2 +-
 .../obs-studio/files/patch-libobs-opengl_gl-egl-common.c    | 13 -------------
 2 files changed, 1 insertion(+), 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;