From ab851df6a207f90cd48cc74ac7a416841edca5f4 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Tue, 9 Jul 2019 22:45:16 -0700 Subject: gis/saga-gis: Fix build issue. Signed-off-by: Benjamin Trigona-Harany --- gis/saga-gis/saga-gis.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gis/saga-gis') 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 \ -- cgit v1.2.3