openbsd-ports/www/seamonkey/patches/patch-mozilla_js_src_jsgc_cpp
landry 7fb16329b9 Major update to seamonkey 2.0.4, now built upon mozilla-1.9.1/firefox
3.5/thunderbird 3 codebase. See for details:
http://www.seamonkey-project.org/releases/seamonkey2.0.4/
Backing up your profile before upgrading is recommended..
Update also largely based on www/firefox35 port.
Tested on i386/amd64/sparc64/powerpc by myself and on alpha by naddy@

ok naddy@
2010-04-03 09:30:14 +00:00

12 lines
395 B
Plaintext

$OpenBSD: patch-mozilla_js_src_jsgc_cpp,v 1.1 2010/04/03 09:30:14 landry Exp $
--- mozilla/js/src/jsgc.cpp.orig Sat Dec 5 02:57:14 2009
+++ mozilla/js/src/jsgc.cpp Sat Jan 16 16:28:34 2010
@@ -118,6 +118,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. */