Fix on i386 (no impact where on other archs).

Reported by:	pointyhat
This commit is contained in:
Thierry Thomas 2017-07-18 19:21:11 +00:00
parent e84b70d96b
commit d57c228b5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446173
4 changed files with 45 additions and 1 deletions

View file

@ -77,6 +77,12 @@ DOXYGEN_RUN_DEPENDS= ${LOCALBASE}/www/MathJax/MathJax.js:www/mathjax
.include <bsd.port.options.mk>
.if ${ARCH} == "i386"
BITS= 32
.else
BITS= 64
.endif
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "Warning: to build OpenCascade, you should have at least"

View file

@ -0,0 +1,19 @@
--- inc/Standard_Time.hxx.orig 2016-11-25 09:52:28 UTC
+++ inc/Standard_Time.hxx
@@ -26,11 +26,11 @@
// ------------------------------------------------------------------
// IsEqual : Returns Standard_True if two time values are equal
// ------------------------------------------------------------------
-inline Standard_Boolean IsEqual (const Standard_Time theOne,
- const Standard_Time theTwo)
-{
- return theOne == theTwo;
-}
+//inline Standard_Boolean IsEqual (const Standard_Time theOne,
+// const Standard_Time theTwo)
+//{
+// return theOne == theTwo;
+//}
#endif

View file

@ -0,0 +1,19 @@
--- src/Standard/Standard_Time.hxx.orig 2016-11-25 09:52:28 UTC
+++ src/Standard/Standard_Time.hxx
@@ -26,11 +26,11 @@
// ------------------------------------------------------------------
// IsEqual : Returns Standard_True if two time values are equal
// ------------------------------------------------------------------
-inline Standard_Boolean IsEqual (const Standard_Time theOne,
- const Standard_Time theTwo)
-{
- return theOne == theTwo;
-}
+//inline Standard_Boolean IsEqual (const Standard_Time theOne,
+// const Standard_Time theTwo)
+//{
+// return theOne == theTwo;
+//}
#endif

View file

@ -1,6 +1,6 @@
%%OCCROOT%%/bin/DRAWEXE
%%OCCROOT%%/bin/custom.sh
%%OCCROOT%%/bin/custom_%%CC%%_64.sh
%%OCCROOT%%/bin/custom_%%CC%%_%%BITS%%.sh
%%OCCROOT%%/bin/draw.sh
%%OCCROOT%%/bin/env.sh
%%OCCROOT%%/data/iges/bearing.iges