From 9cb1e10d3a6e8878bac852c039f39469457c1c13 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Thu, 10 Oct 2013 14:08:01 +0000 Subject: - Add new port lang/yap-devel Yap-6.3.3 is the development version of lang/yap (6.2.2). YAP is a high-performance Prolog compiler developed at LIACC/Universidade do Porto and at COPPE Sistemas/UFRJ. Its Prolog engine is based in the WAM (Warren Abstract Machine), with several optimizations for better performance. YAP follows the Edinburgh tradition, and is largely compatible with the ISO-Prolog standard and with Quintus and SICStus Prolog. PR: ports/181334 Submitted by: Danilo Egea Gondolfo Approved by: wg/culot (mentors) --- lang/yap-devel/files/patch-H__amiops.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lang/yap-devel/files/patch-H__amiops.h (limited to 'lang/yap-devel/files/patch-H__amiops.h') diff --git a/lang/yap-devel/files/patch-H__amiops.h b/lang/yap-devel/files/patch-H__amiops.h new file mode 100644 index 000000000000..5b7dedb5153f --- /dev/null +++ b/lang/yap-devel/files/patch-H__amiops.h @@ -0,0 +1,21 @@ +--- ./H/amiops.h.orig 2012-06-30 16:53:59.000000000 -0300 ++++ ./H/amiops.h 2013-08-13 18:37:02.000000000 -0300 +@@ -102,10 +102,18 @@ + + #if SIZEOF_DOUBLE == 2*SIZEOF_LONG_INT + ++#ifdef __amd64__ + INLINE_ONLY EXTERN inline void ++#else ++EXTERN inline void ++#endif + AlignGlobalForDouble( USES_REGS1 ); + ++#ifdef __amd64__ + INLINE_ONLY EXTERN inline void ++#else ++EXTERN inline void ++#endif + AlignGlobalForDouble( USES_REGS1 ) + { + /* Force Alignment for floats. Note that garbage collector may -- cgit v1.2.3