openbsd-ports/emulators/spim/patches/patch-CPU_run_c
ajacoutot 54f84d5d36 Update to spim-8.0.
from Azwaw OUSADOU
maintainer timeout
2012-08-20 15:08:44 +00:00

16 lines
321 B
Plaintext

$OpenBSD: patch-CPU_run_c,v 1.3 2012/08/20 15:08:45 ajacoutot Exp $
Fix build on OpenBSD's mips architectures.
--- CPU/run.c.orig Sat Jan 9 06:22:52 2010
+++ CPU/run.c Mon Aug 20 16:55:19 2012
@@ -31,7 +31,7 @@
*/
-#ifdef mips
+#if defined(mips) && !defined(__OpenBSD__)
#define _IEEE 1
#include <nan.h>
#else