$OpenBSD: patch-src_qml_jit_qv4targetplatform_p_h,v 1.1 2017/07/17 08:34:38 zhuk Exp $
Enable JIT on OpenBSD.

Index: src/qml/jit/qv4targetplatform_p.h
--- src/qml/jit/qv4targetplatform_p.h.orig
+++ src/qml/jit/qv4targetplatform_p.h
@@ -90,7 +90,7 @@ class TargetPlatform
 {
 };
 
-#if CPU(X86) && (OS(LINUX) || OS(WINDOWS) || OS(QNX) || OS(FREEBSD) || defined(Q_OS_IOS))
+#if CPU(X86) && (OS(LINUX) || OS(WINDOWS) || OS(QNX) || OS(FREEBSD) || OS(OPENBSD) || defined(Q_OS_IOS))
 template <>
 class TargetPlatform<JSC::MacroAssemblerX86, NoOperatingSystemSpecialization>
 {
@@ -150,7 +150,7 @@ class TargetPlatform<JSC::MacroAssemblerX86, NoOperati
     }
 
 #if OS(WINDOWS) || OS(QNX) || \
-    ((OS(LINUX) || OS(FREEBSD)) && (defined(__PIC__) || defined(__PIE__)))
+    ((OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)) && (defined(__PIC__) || defined(__PIE__)))
 
     static const int gotRegister = JSC::X86Registers::ebx;
     static int savedGOTRegisterSlotOnStack() {
@@ -178,7 +178,7 @@ class TargetPlatform<JSC::MacroAssemblerX86, NoOperati
 };
 #endif // x86
 
-#if CPU(X86_64) && (OS(LINUX) || OS(MAC_OS_X) || OS(FREEBSD) || OS(QNX) || defined(Q_OS_IOS))
+#if CPU(X86_64) && (OS(LINUX) || OS(MAC_OS_X) || OS(FREEBSD) || OS(OPENBSD) || OS(QNX) || defined(Q_OS_IOS))
 template <>
 class TargetPlatform<JSC::MacroAssemblerX86_64, NoOperatingSystemSpecialization>
 {
