summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2022-02-20 02:54:41 +0100
committer Willy Sudiarto Raharjo2022-02-20 09:13:28 +0100
commit942a8237e0b584df896cc814f099f372c7921e8f (patch)
tree702aa0002f6037eb44338c79dfd1040971ec1e2b
parent570c2610c2341e1a875f4e792c13263acbeebc55 (diff)
downloadslackbuilds-942a8237e0b584df896cc814f099f372c7921e8f.tar.gz
gis/spatialite-tools: Updated for version 4.3.0.
Patch to fix build on 15.0. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--gis/spatialite-tools/0001-fix-autotools.patch.gzbin0 -> 377 bytes
-rw-r--r--gis/spatialite-tools/spatialite-tools.SlackBuild5
-rw-r--r--gis/spatialite-tools/spatialite-tools.info6
3 files changed, 7 insertions, 4 deletions
diff --git a/gis/spatialite-tools/0001-fix-autotools.patch.gz b/gis/spatialite-tools/0001-fix-autotools.patch.gz
new file mode 100644
index 0000000000..68d1284410
--- /dev/null
+++ b/gis/spatialite-tools/0001-fix-autotools.patch.gz
Binary files differ
diff --git a/gis/spatialite-tools/spatialite-tools.SlackBuild b/gis/spatialite-tools/spatialite-tools.SlackBuild
index 79f94d2c2f..919c58564e 100644
--- a/gis/spatialite-tools/spatialite-tools.SlackBuild
+++ b/gis/spatialite-tools/spatialite-tools.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=spatialite-tools
-VERSION=${VERSION:-4.2.0}
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,6 +71,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+zcat $CWD/0001-fix-autotools.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-ldl" \
diff --git a/gis/spatialite-tools/spatialite-tools.info b/gis/spatialite-tools/spatialite-tools.info
index df2eceed66..2aa5373e0f 100644
--- a/gis/spatialite-tools/spatialite-tools.info
+++ b/gis/spatialite-tools/spatialite-tools.info
@@ -1,8 +1,8 @@
PRGNAM="spatialite-tools"
-VERSION="4.2.0"
+VERSION="4.3.0"
HOMEPAGE="https://www.gaia-gis.it/fossil/spatialite-tools/index"
-DOWNLOAD="http://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-4.2.0.tar.gz"
-MD5SUM="e00aeccec0cc8bf1e6fc725b1eabd2d2"
+DOWNLOAD="http://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-4.3.0.tar.gz"
+MD5SUM="83cb7b1f6c6b20fe5475586f1fb77088"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libspatialite readosm"