summaryrefslogtreecommitdiff
path: root/graphics/OpenCASCADE
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-07-04 23:18:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-08 07:11:26 +0700
commit25ad83584240e7cd362bba5b4d9c2d2d0e56cc82 (patch)
tree66d4c214adb9bc15b9a5ab8acc10d03766f21857 /graphics/OpenCASCADE
parentba2aff2f24f10f6e18da05a62858e805d0ac8cd6 (diff)
downloadslackbuilds-25ad83584240e7cd362bba5b4d9c2d2d0e56cc82.tar.gz
graphics/OpenCASCADE: Forward compatibility fix for VTK.
Thanks to Chris Willing. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/OpenCASCADE')
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
index df22114511..cd7a56a46a 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
+++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
@@ -88,7 +88,7 @@ sed -i \
./build_configure
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -DvtkFloatingPointType=double" \
+CXXFLAGS="$SLKCFLAGS -DvtkFloatingPointType=double -Dnullptr=NULL" \
./configure \
--prefix=/opt/${PRGNAM} \
--libdir=/usr/lib${LIBDIRSUFFIX} \