$OpenBSD: patch-third_party_swiftshader_src_Vulkan_VkDebug_cpp,v 1.1 2020/02/22 12:33:22 robert Exp $

Index: third_party/swiftshader/src/Vulkan/VkDebug.cpp
--- third_party/swiftshader/src/Vulkan/VkDebug.cpp.orig
+++ third_party/swiftshader/src/Vulkan/VkDebug.cpp
@@ -33,7 +33,7 @@ namespace {
 
 bool IsUnderDebugger()
 {
-#if defined(PTRACE) && !defined(__APPLE__) && !defined(__MACH__)
+#if defined(PTRACE) && !defined(__APPLE__) && !defined(__MACH__) && !defined(__OpenBSD__)
 	static bool checked = false;
 	static bool res = false;
 
