summaryrefslogtreecommitdiff
path: root/gis/gpsbabel/gpsbabel.SlackBuild
diff options
context:
space:
mode:
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 1b08cb69af..8fe33a62da 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 \