summaryrefslogtreecommitdiff
path: root/gis/spatialite_gui/spatialite_gui.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/spatialite_gui/spatialite_gui.SlackBuild')
-rw-r--r--gis/spatialite_gui/spatialite_gui.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/gis/spatialite_gui/spatialite_gui.SlackBuild b/gis/spatialite_gui/spatialite_gui.SlackBuild
index 830f79b106..d2b7b20fa6 100644
--- a/gis/spatialite_gui/spatialite_gui.SlackBuild
+++ b/gis/spatialite_gui/spatialite_gui.SlackBuild
@@ -68,6 +68,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 {} \;
+sed -i 27i'#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1' Main.cpp
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-ldl" \