diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-19 23:49:48 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-20 15:13:28 +0700 |
commit | d6c86638a72edbb7f1ef1c57b0b4e25ed33b6741 (patch) | |
tree | a40849cfef31dd3f64f07812966ca9d7b936f610 /gis/qmapshack/qmapshack.SlackBuild | |
parent | 942a8237e0b584df896cc814f099f372c7921e8f (diff) |
gis/qmapshack: Updated for version 1.16.1.
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/qmapshack/qmapshack.SlackBuild')
-rw-r--r-- | gis/qmapshack/qmapshack.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild index 26d740c4e0f3a..197c0d1b77764 100644 --- a/gis/qmapshack/qmapshack.SlackBuild +++ b/gis/qmapshack/qmapshack.SlackBuild @@ -12,7 +12,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qmapshack -VERSION=${VERSION:-1.15.2} +VERSION=${VERSION:-1.16.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,16 +57,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-V_${VERSION} -tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz +tar xvf $CWD/${PRGNAM}-V_${VERSION}.tar.gz cd ${PRGNAM}-V_${VERSION} - -# Fix missing header file -patch -p1 < $CWD/QPainterPath.patch - -# Apply patches provided in the source tree -patch -p1 < FindPROJ4.patch -patch -p1 < FindQuaZip5.patch - +# cmake / autotools problem in proj package if proj switches to cmake in +# future, cmake should be able to find proj here. +# thanks debian maintainers +zcat $CWD/proj.patch.gz | patch -p1 chown -R root:root . find -L . \ |