Fix on i386 (no impact where on other archs).
Reported by: pointyhat
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user