diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-06 10:57:51 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-06 10:57:51 +0800 |
commit | 21597ce6504597469bc5e2cb3c811363369b8b06 (patch) | |
tree | 449172d30cb5d67b71008d0cbc10a447f7ef936d /lang/yap-devel | |
parent | 86ece73956c7b646ebc9566a9f50a9a202aed6a2 (diff) | |
download | freebsd-ports-gnome-21597ce6504597469bc5e2cb3c811363369b8b06.tar.gz freebsd-ports-gnome-21597ce6504597469bc5e2cb3c811363369b8b06.tar.zst freebsd-ports-gnome-21597ce6504597469bc5e2cb3c811363369b8b06.zip |
- Revert to patches to enable build on i386
Diffstat (limited to 'lang/yap-devel')
-rw-r--r-- | lang/yap-devel/Makefile | 3 | ||||
-rw-r--r-- | lang/yap-devel/files/patch-H__TermExt.h | 14 | ||||
-rw-r--r-- | lang/yap-devel/files/patch-H__amiops.h | 21 |
3 files changed, 37 insertions, 1 deletions
diff --git a/lang/yap-devel/Makefile b/lang/yap-devel/Makefile index 17bec12b867a..947194d61b7d 100644 --- a/lang/yap-devel/Makefile +++ b/lang/yap-devel/Makefile @@ -29,7 +29,8 @@ STRIP= #none USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-max-performance +CONFIGURE_ARGS+= --enable-max-performance \ + --disable-clpbn-bp USES= gmake USE_GCC= any 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) + 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 |