aboutsummaryrefslogtreecommitdiff
path: root/lang/yap-devel/files/patch-H__TermExt.h
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-06 02:57:51 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-06 02:57:51 +0000
commit11a4138fca9d43539d552da1e7b3ab62c2ea6f31 (patch)
tree449172d30cb5d67b71008d0cbc10a447f7ef936d /lang/yap-devel/files/patch-H__TermExt.h
parent91bad4a93ba328faa51a8aee235d3d9e686879e8 (diff)
downloadports-11a4138fca9d43539d552da1e7b3ab62c2ea6f31.tar.gz
ports-11a4138fca9d43539d552da1e7b3ab62c2ea6f31.zip
Notes
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)
+