aboutsummaryrefslogtreecommitdiff
path: root/gis/gpsbabel/gpsbabel.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-20 06:13:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-23 06:11:51 +0700
commit816be12bf3a98fc63d2bf250f6773f35fea3ded6 (patch)
treef7f5856e074c368683f7dd4e571501dd93d712aa /gis/gpsbabel/gpsbabel.SlackBuild
parent8ac72611fd08c19dd52a9b6bf12c17c2bc3abdc1 (diff)
gis/gpsbabel: Fix build against Qt5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/gpsbabel/gpsbabel.SlackBuild')
-rw-r--r--gis/gpsbabel/gpsbabel.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/gis/gpsbabel/gpsbabel.SlackBuild b/gis/gpsbabel/gpsbabel.SlackBuild
index 1b08cb69af7fd..8fe33a62dae65 100644
--- a/gis/gpsbabel/gpsbabel.SlackBuild
+++ b/gis/gpsbabel/gpsbabel.SlackBuild
@@ -89,6 +89,10 @@ sed -i 's|QApplication::applicationDirPath()|"/usr/share/gpsbabel"|' gui/mainwin
# Thanks to Gentoo.
sed -i '/AC_CHECK_LIB(\[z\], \[gzopen\])/aAC_CHECK_LIB([minizip], [zipOpen64])' configure.in
sed -i 's|"zlib/contrib/minizip/zip.h"|<minizip/zip.h>|' src/core/ziparchive.cc src/core/ziparchive.h
+
+# Patched to build against Qt5
+patch -p1 < $CWD/build-fix.patch
+
autoreconf -vif
./configure \