summaryrefslogtreecommitdiff
path: root/lang/yap-devel/files/patch-H__TermExt.h
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-10 14:08:01 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-10 14:08:01 +0000
commit9cb1e10d3a6e8878bac852c039f39469457c1c13 (patch)
treebe000c7ef4af1b5ab2ba35dac7f9158ad5d27a11 /lang/yap-devel/files/patch-H__TermExt.h
parentFix one build problem with Clang on FreeBSD 10. There is another problem (diff)
- 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 <danilogondolfo@gmail.com> Approved by: wg/culot (mentors)
Notes
Notes: svn path=/head/; revision=330001
Diffstat (limited to 'lang/yap-devel/files/patch-H__TermExt.h')
-rw-r--r--lang/yap-devel/files/patch-H__TermExt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/yap-devel/files/patch-H__TermExt.h b/lang/yap-devel/files/patch-H__TermExt.h
new file mode 100644
index 000000000000..f59a6ff9879e
--- /dev/null
+++ b/lang/yap-devel/files/patch-H__TermExt.h
@@ -0,0 +1,14 @@
+--- ./H/TermExt.h.orig 2012-06-30 16:53:59.000000000 -0300
++++ ./H/TermExt.h 2013-08-13 18:37:02.000000000 -0300
+@@ -217,7 +217,11 @@
+
+ #if SIZEOF_DOUBLE == 2*SIZEOF_LONG_INT
+
++#ifdef __amd64__
+ INLINE_ONLY inline EXTERN void AlignGlobalForDouble( USES_REGS1 );
++#else
++inline EXTERN void AlignGlobalForDouble( USES_REGS1 );
++#endif
+
+ #define DOUBLE_ALIGNED(ADDR) ((CELL)(ADDR) & 0x4)
+