$OpenBSD: patch-libraries_source_spidermonkey_patch_sh,v 1.2 2016/11/17 11:16:43 pascal Exp $
--- libraries/source/spidermonkey/patch.sh.orig.port	Sun Sep 25 12:20:55 2016
+++ libraries/source/spidermonkey/patch.sh	Wed Nov  9 11:43:25 2016
@@ -23,6 +23,9 @@ patch -p1 < ../FixZLibMozBuild.diff
 #    This causes tracelogger to flush data to the disk regularly and prevents out of
 #    memory issues if a lot of data gets logged.
 # * https://bugzilla.mozilla.org/show_bug.cgi?id=1155618
+
+# patch to fix SO_VERSION on OpenBSD
+patch -p1 -i ../FixSoVersionOpenBSD.diff
 #    Fix tracelogger destructor that touches possibly uninitialised hash table.
 # * https://bugzilla.mozilla.org/show_bug.cgi?id=1223636
 #    Don't treat extraTextId as containing only extra ids.
