ports/devel/libffi/files/patch-src__mips__ffitarget.h
Sean Bruno d0387721a0 Add support for mips/mips64 targets.
Unblocks 7k ports building for these targets.

PR:		191909
Submitted by:	sson
Reviewed by:	bapt (mentor)
2014-10-29 15:31:00 +00:00

13 lines
369 B
C

diff --git ./src/mips/ffitarget.h.orig ./src/mips/ffitarget.h
index 717d659..5a0c2b1 100644
--- ./src/mips/ffitarget.h.orig
+++ ./src/mips/ffitarget.h
@@ -41,7 +41,7 @@
#define _MIPS_SIM_ABI32 1
#define _MIPS_SIM_NABI32 2
#define _MIPS_SIM_ABI64 3
-#elif !defined(__OpenBSD__)
+#elif !defined(__OpenBSD__) && !defined(__FreeBSD__)
# include <sgidefs.h>
#endif