openbsd-ports/lang/spidermonkey/patches/patch-js_src_jsgc_cpp
landry dfd4ee914f Unbreak by reinstating patches from www/firefox36 for the old, ancient and
unmaintained lang/spidermonkey.

Beware apache-couchdb, mongodb, riak and mediatomb, you're next on the
'upgrade to a newer spidermonkey or die' list.

noticed by sthen@, sorry for the fsckup.
2013-12-09 16:31:59 +00:00

12 lines
371 B
Plaintext

$OpenBSD: patch-js_src_jsgc_cpp,v 1.1 2013/12/09 16:31:59 landry Exp $
--- js/src/jsgc.cpp.orig Wed Jan 6 05:35:17 2010
+++ js/src/jsgc.cpp Sun Jan 10 17:47:27 2010
@@ -128,6 +128,7 @@ extern "C" {
# ifndef JS_GC_USE_MMAP
# define JS_GC_USE_MMAP 1
# endif
+# include <sys/types.h>
# include <sys/mman.h>
/* On Mac OS X MAP_ANONYMOUS is not defined. */