summaryrefslogtreecommitdiffstats
path: root/gis/gdal/gdal.SlackBuild
diff options
context:
space:
mode:
author David Spencer <baildon.research@googlemail.com>2014-09-20 08:58:41 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-20 17:10:20 +0700
commit174f1a3c0a05a73fbe5e207e3a1976f913f127c5 (patch)
treebd89d340f149c780f5ef2cd8e3847400b154b9f2 /gis/gdal/gdal.SlackBuild
parent4ca5ac2b7c559c210d9ba7984c2236d6d923dfc3 (diff)
downloadslackbuilds-174f1a3c0a05a73fbe5e207e3a1976f913f127c5.tar.gz
slackbuilds-174f1a3c0a05a73fbe5e207e3a1976f913f127c5.tar.xz
gis/gdal: Patched to support json-c-0.12.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'gis/gdal/gdal.SlackBuild')
-rw-r--r--gis/gdal/gdal.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 59c6609679..b18d9d4109 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=gdal
VERSION=${VERSION:-1.11.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -113,6 +113,8 @@ fi
# Thanks to the people at Arch for this:
patch -p0 <$CWD/gdal-python-install.patch
+# Another patch from Arch, supporting json-c >= 0.12 (also works with 0.11)
+patch -p0 <$CWD/gdal-json-c-012.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \