summaryrefslogtreecommitdiffstats
path: root/gis/librasterlite
diff options
context:
space:
mode:
author Andrew Clemons2022-02-19 10:30:05 +0100
committer Willy Sudiarto Raharjo2022-02-20 09:13:27 +0100
commit4413de5e16b44ec563819e51fcab2c5015c51bae (patch)
tree8e9e96e1cf397df2d106686c67a5ec361719d5c9 /gis/librasterlite
parent85474422159198440b103051d18a2ef90d7b8981 (diff)
downloadslackbuilds-4413de5e16b44ec563819e51fcab2c5015c51bae.tar.gz
gis/librasterlite: Fix build on 15.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/librasterlite')
-rw-r--r--gis/librasterlite/0001-fix-autotools.patch.gzbin0 -> 612 bytes
-rw-r--r--gis/librasterlite/librasterlite.SlackBuild5
2 files changed, 4 insertions, 1 deletions
diff --git a/gis/librasterlite/0001-fix-autotools.patch.gz b/gis/librasterlite/0001-fix-autotools.patch.gz
new file mode 100644
index 0000000000..3132200872
--- /dev/null
+++ b/gis/librasterlite/0001-fix-autotools.patch.gz
Binary files differ
diff --git a/gis/librasterlite/librasterlite.SlackBuild b/gis/librasterlite/librasterlite.SlackBuild
index 4e25050cb0..0e9338b2f9 100644
--- a/gis/librasterlite/librasterlite.SlackBuild
+++ b/gis/librasterlite/librasterlite.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=librasterlite
VERSION=${VERSION:-1.1g}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,6 +72,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 \
@@ -79,6 +80,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" \