summaryrefslogtreecommitdiff
path: root/lang/gcc5/patches/patch-libffi_configure
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc5/patches/patch-libffi_configure')
-rw-r--r--lang/gcc5/patches/patch-libffi_configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/gcc5/patches/patch-libffi_configure b/lang/gcc5/patches/patch-libffi_configure
new file mode 100644
index 00000000000..f61494f4b5d
--- /dev/null
+++ b/lang/gcc5/patches/patch-libffi_configure
@@ -0,0 +1,13 @@
+$NetBSD: patch-libffi_configure,v 1.1 2015/07/16 12:03:36 ryoon Exp $
+
+--- libffi/configure.orig 2013-06-01 17:03:49.000000000 +0000
++++ libffi/configure
+@@ -12689,7 +12689,7 @@ case "$target" in
+ $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
+
+ ;;
+- *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
++ *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-pc-solaris*)
+
+ $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
+