$OpenBSD: patch-third_party_swiftshader_src_System_Debug_cpp,v 1.1 2020/05/29 20:03:24 robert Exp $

Index: third_party/swiftshader/src/System/Debug.cpp
--- third_party/swiftshader/src/System/Debug.cpp.orig
+++ third_party/swiftshader/src/System/Debug.cpp
@@ -46,7 +46,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;
 
