$NetBSD: patch-libffi_configure,v 1.1 2016/09/12 22:13:54 maya 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