diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2020-07-04 21:38:31 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2020-07-04 21:38:31 +0000 |
commit | 9717515a2a2c50e687d625f2db90b539372e9269 (patch) | |
tree | dee74a3ca1f3266d9ca73a47c59a6ece0428a188 /lang | |
parent | 35cbe487f82dbde45f5f43040bf561fe2c70e80f (diff) | |
download | ports-9717515a2a2c50e687d625f2db90b539372e9269.tar.gz ports-9717515a2a2c50e687d625f2db90b539372e9269.zip |
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)
Notes
Notes:
svn path=/head/; revision=541238
Diffstat (limited to 'lang')
-rw-r--r-- | lang/polyml/files/patch-libpolyml_polyffi.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/polyml/files/patch-libpolyml_polyffi.cpp b/lang/polyml/files/patch-libpolyml_polyffi.cpp new file mode 100644 index 000000000000..a0a23bacc8b3 --- /dev/null +++ b/lang/polyml/files/patch-libpolyml_polyffi.cpp @@ -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} + }; |