ports/devel/libffi33/files/patch-src__mips__ffitarget.h
Gleb Popov 957f31fc71 devel/libffi33: Add new port.
This is a compat port needed mainly for binaries downloaded by devel/stack.
See the commit message for devel/libffi321 and the linked PR for detailed
explanation.
2022-05-30 22:09:38 +03: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