- Fix build with clang on i386

This commit is contained in:
Danilo Egea Gondolfo 2013-11-03 18:12:02 +00:00
parent 0fd684f2dd
commit f90c917c7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332636
5 changed files with 16 additions and 5 deletions

View file

@ -1,5 +1,5 @@
--- ./H/TermExt.h.orig 2012-06-30 16:53:59.000000000 -0300
+++ ./H/TermExt.h 2013-08-13 18:37:02.000000000 -0300
+++ ./H/TermExt.h 2013-11-03 01:59:03.000000000 -0200
@@ -217,7 +217,11 @@
#if SIZEOF_DOUBLE == 2*SIZEOF_LONG_INT

View file

@ -0,0 +1,11 @@
--- ./H/absmi.h.orig 2013-11-03 01:59:20.000000000 -0200
+++ ./H/absmi.h 2013-11-03 01:59:48.000000000 -0200
@@ -74,7 +74,7 @@
* Use bp as PREG for X86 machines *
***************************************************************/
#if defined(IN_ABSMI_C)
-register struct yami* P1REG asm ("bp"); /* can't use yamop before Yap.h */
+struct yami* P1REG asm ("bp"); /* can't use yamop before Yap.h */
#define PREG P1REG
#endif
#define NEEDS_TO_SET_PC 1

View file

@ -1,5 +1,5 @@
--- ./H/amiops.h.orig 2012-06-30 16:53:59.000000000 -0300
+++ ./H/amiops.h 2013-08-13 18:37:02.000000000 -0300
+++ ./H/amiops.h 2013-11-03 01:59:03.000000000 -0200
@@ -102,10 +102,18 @@
#if SIZEOF_DOUBLE == 2*SIZEOF_LONG_INT

View file

@ -1,5 +1,5 @@
--- ./library/dialect/swi/fli/blobs.c.orig 2013-01-19 07:33:19.000000000 -0200
+++ ./library/dialect/swi/fli/blobs.c 2013-08-13 18:37:02.000000000 -0300
+++ ./library/dialect/swi/fli/blobs.c 2013-11-03 01:59:03.000000000 -0200
@@ -18,6 +18,7 @@
#include <Yap.h>
#include <Yatom.h>

View file

@ -1,5 +1,5 @@
--- ./packages/swi-minisat2/C/SolverTypes.h.orig 2013-08-13 18:37:17.000000000 -0300
+++ ./packages/swi-minisat2/C/SolverTypes.h 2013-08-13 18:38:31.000000000 -0300
--- ./packages/swi-minisat2/C/SolverTypes.h.orig 2012-06-29 18:30:38.000000000 -0300
+++ ./packages/swi-minisat2/C/SolverTypes.h 2013-11-03 01:59:03.000000000 -0200
@@ -97,6 +97,9 @@
//=================================================================================================
// Clause -- a simple class for representing a clause: