$NetBSD: patch-ae,v 1.1.2.2 2009/05/30 21:02:35 tron Exp $

Make a minimal adjustment to support the various NetBSD mips ports.

--- src/mips/ffitarget.h.orig	2008-02-15 19:43:40.000000000 +0100
+++ src/mips/ffitarget.h
@@ -39,6 +39,11 @@
 #    define _ABIO32 _MIPS_SIM_ABI32
 #  endif
 #endif
+#ifdef __NetBSD__
+/* Let's cheat a bit... */   
+#  define _ABIO32 1     
+#  define _MIPS_SIM _ABIO32
+#endif
 
 #if !defined(_MIPS_SIM)
 -- something is very wrong --
