Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2020 21:38:31 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r541238 - head/lang/polyml/files
Message-ID:  <202007042138.064LcVGI092660@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
+ };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007042138.064LcVGI092660>