mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix on i386 (no impact where on other archs).
Reported by: pointyhat
This commit is contained in:
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
|
@ -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"
|
||||
|
|
19
cad/opencascade/files/patch-inc_Standard__Time.hxx
Normal file
19
cad/opencascade/files/patch-inc_Standard__Time.hxx
Normal 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
|
||||
|
19
cad/opencascade/files/patch-src_Standard_Standard__Time.hxx
Normal file
19
cad/opencascade/files/patch-src_Standard_Standard__Time.hxx
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue