diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-19 22:30:05 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-20 15:13:27 +0700 |
commit | 4413de5e16b44ec563819e51fcab2c5015c51bae (patch) | |
tree | 8e9e96e1cf397df2d106686c67a5ec361719d5c9 /gis | |
parent | 85474422159198440b103051d18a2ef90d7b8981 (diff) |
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')
-rw-r--r-- | gis/librasterlite/0001-fix-autotools.patch.gz | bin | 0 -> 612 bytes | |||
-rw-r--r-- | gis/librasterlite/librasterlite.SlackBuild | 5 |
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 Binary files differnew file mode 100644 index 0000000000000..313220087200a --- /dev/null +++ b/gis/librasterlite/0001-fix-autotools.patch.gz 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" \ |