summaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2019-07-09 22:45:16 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-13 08:31:01 +0700
commitab851df6a207f90cd48cc74ac7a416841edca5f4 (patch)
tree8b9accddd71d7cbe6379e991a8d48aa26a919aac /gis
parent59cf81cf9bb986b59e0f74d3efd598061aa0cac1 (diff)
downloadslackbuilds-ab851df6a207f90cd48cc74ac7a416841edca5f4.tar.gz
gis/saga-gis: Fix build issue.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis')
-rw-r--r--gis/saga-gis/saga-gis.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild
index 0387a2ff8e..bc0f5f2a40 100644
--- a/gis/saga-gis/saga-gis.SlackBuild
+++ b/gis/saga-gis/saga-gis.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=saga
PKGNAM=${PRGNAM}-gis
VERSION=${VERSION:-7.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -75,6 +75,8 @@ if [ "$OPENCV" != "ON" ] ; then
sed -i "s/CVFOUND=1/true/g" configure
fi
+sed -i "s/isinf/std::isinf/g" src/saga_core/saga_gui/wksp_map_layer.cpp
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
PYTHON=python3 \