From 4413de5e16b44ec563819e51fcab2c5015c51bae Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sat, 19 Feb 2022 22:30:05 +1300 Subject: gis/librasterlite: Fix build on 15.0. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- gis/librasterlite/0001-fix-autotools.patch.gz | Bin 0 -> 612 bytes gis/librasterlite/librasterlite.SlackBuild | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 gis/librasterlite/0001-fix-autotools.patch.gz (limited to 'gis/librasterlite') diff --git a/gis/librasterlite/0001-fix-autotools.patch.gz b/gis/librasterlite/0001-fix-autotools.patch.gz new file mode 100644 index 0000000000000..313220087200a Binary files /dev/null and b/gis/librasterlite/0001-fix-autotools.patch.gz differ diff --git a/gis/librasterlite/librasterlite.SlackBuild b/gis/librasterlite/librasterlite.SlackBuild index 4e25050cb0f0b..0e9338b2f973e 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" \ -- cgit v1.2.3