openbsd-ports/mail/mozilla-thunderbird/patches/patch-mozilla_js_src_jsgc_cpp
landry 28bb810af5 Update to thunderbird 3.1.1, tested by a few people on ports@ (and myself...)
Merge patches for 1.9.2 mozilla branch from firefox 3.6.x port.
While here, build lightning as a subpackage using --enable-calendar.
Add @pkgpath/@conflict markers for seamless upgrades.
2010-07-27 17:01:16 +00:00

12 lines
395 B
Plaintext

$OpenBSD: patch-mozilla_js_src_jsgc_cpp,v 1.2 2010/07/27 17:01:16 landry Exp $
--- mozilla/js/src/jsgc.cpp.orig Wed Jun 23 19:46:38 2010
+++ mozilla/js/src/jsgc.cpp Wed Jul 7 08:43:19 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. */