openbsd-ports/devel/spidermonkey/patches/patch-nanojit_NativeSparc_cpp
landry 191bc6db26 Import devel/spidermonkey 1.8.5
- built from the official upstream release
- needed for upcoming gnome/js update
- this is not an update to lang/spidermonkey, as that new version was
  built upon Ffx 4 js engine and probably only works on amd64/i386/ppc.
It builds on sparc64 but is broken at runtime. Not marking BROKEN-* to
allow depending ports to build. Other archs untested.
- special care was taken to ensure it doesnt conflict with
  lang/spidermonkey (install versionned binaries/headers..)
- ports wanting to use it should use devel/spidermonkey>=1.8,<1.9 to
  ensure the correct version is picked up

Tested in an amd64 bulk build.
ok/prodding ajacoutot@
2012-04-07 13:48:18 +00:00

12 lines
344 B
Plaintext

$OpenBSD: patch-nanojit_NativeSparc_cpp,v 1.1.1.1 2012/04/07 13:48:18 landry Exp $
--- nanojit/NativeSparc.cpp.orig Thu Mar 31 21:08:36 2011
+++ nanojit/NativeSparc.cpp Sun Apr 3 12:38:25 2011
@@ -39,6 +39,7 @@
*
* ***** END LICENSE BLOCK ***** */
+#include <sys/types.h>
#include <sys/mman.h>
#include <errno.h>
#include "nanojit.h"