git: 4d74c4cb4948 - main - graphics/vkd3d: drop FreeBSD < 12.2 workaround after 620968a43a5f

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 08 Dec 2022 09:20:46 UTC
The branch main has been updated by jbeich:

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

commit 4d74c4cb49481ed92539b8604d9e3e60cd31a54e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-08 06:27:53 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-08 09:19:16 +0000

    graphics/vkd3d: drop FreeBSD < 12.2 workaround after 620968a43a5f
    
    https://cgit.freebsd.org/src/commit/?id=92bcf7444cf5
    https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ab5dc9aceb34
    https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dcaf745f3ae
    
    NetBSD and OpenBSD support is out of scope.
---
 .../vkd3d/files/patch-libs_vkd3d_vkd3d__private.h  | 24 ----------------------
 1 file changed, 24 deletions(-)

diff --git a/graphics/vkd3d/files/patch-libs_vkd3d_vkd3d__private.h b/graphics/vkd3d/files/patch-libs_vkd3d_vkd3d__private.h
deleted file mode 100644
index 129d3213a971..000000000000
--- a/graphics/vkd3d/files/patch-libs_vkd3d_vkd3d__private.h
+++ /dev/null
@@ -1,24 +0,0 @@
---- libs/vkd3d/vkd3d_private.h.orig	2018-10-01 14:41:12 UTC
-+++ libs/vkd3d/vkd3d_private.h
-@@ -37,6 +37,10 @@
- #include <pthread.h>
- #include <stdbool.h>
- 
-+#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__)
-+#include <pthread_np.h>
-+#endif
-+
- #define VK_CALL(f) (vk_procs->f)
- 
- #define VKD3D_DESCRIPTOR_MAGIC_FREE    0x00000000u
-@@ -894,6 +898,10 @@ static inline void vkd3d_set_thread_name(const char *n
-     pthread_setname_np(pthread_self(), name);
- #elif defined(HAVE_PTHREAD_SETNAME_NP_1)
-     pthread_setname_np(name);
-+#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__)
-+    pthread_set_name_np(pthread_self(), name);
-+#elif defined(__NetBSD__) /* XXX Convert to HAVE_PTHREAD_SETNAME_NP_3 */
-+    pthread_setname_np(pthread_self(), "%s", (void*)name);
- #endif
- }
-