diff options
author | pi <pi@FreeBSD.org> | 2016-04-23 01:15:02 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-04-23 01:15:02 +0800 |
commit | 47baf471d015421299aac5a2df316148b13df176 (patch) | |
tree | f314809d33cdde0c76a753e2f7b7bc177740bc48 /cad/openvsp | |
parent | 39e2d3ca92ef4a9072392dde77892ebe43cc1fc6 (diff) | |
download | freebsd-ports-graphics-47baf471d015421299aac5a2df316148b13df176.tar.gz freebsd-ports-graphics-47baf471d015421299aac5a2df316148b13df176.tar.zst freebsd-ports-graphics-47baf471d015421299aac5a2df316148b13df176.zip |
cad/openvsp: Fix build on i386
PR: 208904
Submitted by: fernando.apesteguia@gmail.com (maintainer)
Diffstat (limited to 'cad/openvsp')
-rw-r--r-- | cad/openvsp/Makefile | 1 | ||||
-rw-r--r-- | cad/openvsp/files/patch-src_vsp__graphic_src_Scene.cpp | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile index f7064ce34ad..5ab98006672 100644 --- a/cad/openvsp/Makefile +++ b/cad/openvsp/Makefile @@ -31,7 +31,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs \ ${LOCALBASE}/include/eigen3/Eigen/Array:math/eigen3 BROKEN_FreeBSD_9= dependency graphics/code-eli needs additional math functions -ONLY_FOR_ARCHS= amd64 USE_GITHUB= yes GH_PROJECT= OpenVSP diff --git a/cad/openvsp/files/patch-src_vsp__graphic_src_Scene.cpp b/cad/openvsp/files/patch-src_vsp__graphic_src_Scene.cpp new file mode 100644 index 00000000000..a99e4d09982 --- /dev/null +++ b/cad/openvsp/files/patch-src_vsp__graphic_src_Scene.cpp @@ -0,0 +1,10 @@ +--- src/vsp_graphic/src/Scene.cpp.orig 2016-04-22 13:35:09 UTC ++++ src/vsp_graphic/src/Scene.cpp +@@ -16,6 +16,7 @@ + #include "ByteOperationUtil.h" + + #include <assert.h> ++#include <stdlib.h> + + namespace VSPGraphic + { |