aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorLockywolf <lockywolf@gmail.com>2021-04-08 12:20:19 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:56 +0700
commit2f7e7fd5e3025647be98213d4fa5a88d12badbdf (patch)
treed81f6b2e5bb028d41aae30315f94af8aa9b5885e /gis
parent97fb2e00e6e567be6420695f396fd33a2856190a (diff)
gis/spatialite_gui: Add a fix for the newer proj.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-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 830f79b10676..d2b7b20fa604 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" \