aboutsummaryrefslogtreecommitdiff
path: root/gis/qmapshack/qmapshack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/qmapshack/qmapshack.SlackBuild')
-rw-r--r--gis/qmapshack/qmapshack.SlackBuild16
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 . \