summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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} \