This patch is not needed anymore.

prodded by and ok sthen@
This commit is contained in:
ajacoutot 2021-03-30 14:52:14 +00:00
parent 0cc3340392
commit 2b4aa19d17
2 changed files with 3 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.138 2021/03/28 07:26:33 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.139 2021/03/30 14:52:14 ajacoutot Exp $
# patches/patch-Source_JavaScriptCore_javascriptcoregtk_pc_in
# patches/patch-Source_WebKit_gtk_webkit2gtk-web-extension_pc_in
@ -21,6 +21,8 @@ API = 4.0
SUBST_VARS = API
DPB_PROPERTIES = parallel
REVISION = 0
SHARED_LIBS += javascriptcoregtk-${API} 3.4 # 18.13.3
SHARED_LIBS += webkit2gtk-${API} 3.4 # 37.37.2

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-Source_WTF_wtf_RAMSize_cpp,v 1.7 2021/03/29 16:55:30 sthen Exp $
Index: Source/WTF/wtf/RAMSize.cpp
--- Source/WTF/wtf/RAMSize.cpp.orig
+++ Source/WTF/wtf/RAMSize.cpp
@@ -31,7 +31,10 @@
#if OS(WINDOWS)
#include <windows.h>
#elif defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC
-#if OS(LINUX)
+#if OS(OPENBSD)
+#include <sys/sysctl.h>
+#include <unistd.h>
+#elif OS(LINUX)
#include <sys/sysinfo.h>
#elif OS(UNIX)
#include <unistd.h>