svn commit: r541238 - head/lang/polyml/files
Niclas Zeising
zeising at FreeBSD.org
Sat Jul 4 21:38:32 UTC 2020
Author: zeising
Date: Sat Jul 4 21:38:31 2020
New Revision: 541238
URL: https://svnweb.freebsd.org/changeset/ports/541238
Log:
lang/polyml: Fix build after libffi update
Add a patch to fix the build of lang/polyml after devel/libffi update.
This was missed in r541232.
PR: 247028 (for tracking)
Added:
head/lang/polyml/files/patch-libpolyml_polyffi.cpp (contents, props changed)
Added: head/lang/polyml/files/patch-libpolyml_polyffi.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/polyml/files/patch-libpolyml_polyffi.cpp Sat Jul 4 21:38:31 2020 (r541238)
@@ -0,0 +1,14 @@
+--- libpolyml/polyffi.cpp.orig 2017-11-18 13:45:15 UTC
++++ libpolyml/polyffi.cpp
+@@ -108,9 +108,10 @@ static struct _abiTable { const char *abiName; ffi_abi
+ {"ms_cdecl", FFI_MS_CDECL},
+ #elif defined(X86_WIN64)
+ {"win64", FFI_WIN64},
++#elif defined(X86_64) || (defined (__x86_64__) && defined (X86_DARWIN))
++ {"unix64", FFI_UNIX64},
+ #elif defined(X86_ANY)
+ {"sysv", FFI_SYSV},
+- {"unix64", FFI_UNIX64},
+ #endif
+ { "default", FFI_DEFAULT_ABI}
+ };
More information about the svn-ports-all
mailing list