aboutsummaryrefslogtreecommitdiff
path: root/graphics
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
parentba2aff2f24f10f6e18da05a62858e805d0ac8cd6 (diff)
graphics/OpenCASCADE: Forward compatibility fix for VTK.
Thanks to Chris Willing. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics')
-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 df22114511f7..cd7a56a46a7a 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} \