openbsd-ports/www/firefox36/patches/patch-js_src_nanojit_Nativei386_cpp
landry 17b63192b8 Resurrect www/firefox36 from the Attic, installing 3.6.16 in
${LOCALBASE}/firefox36 with firefox36 binary. Needed for archs
firefox 4 doesn't support (yet?). Yes, i'm looking at you sparc64.
Not yet linked to the build.
2011-03-26 10:58:36 +00:00

12 lines
373 B
Plaintext

$OpenBSD: patch-js_src_nanojit_Nativei386_cpp,v 1.3 2011/03/26 10:58:36 landry Exp $
--- js/src/nanojit/Nativei386.cpp.orig Wed Jan 6 05:35:17 2010
+++ js/src/nanojit/Nativei386.cpp Sun Jan 10 17:47:27 2010
@@ -46,6 +46,7 @@
#endif
#if defined AVMPLUS_UNIX || defined AVMPLUS_MAC
+#include <sys/types.h>
#include <sys/mman.h>
#include <errno.h>
#include <stdlib.h>