diff options
Diffstat (limited to 'misc/tangogps/tangogps.SlackBuild')
-rw-r--r-- | misc/tangogps/tangogps.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/tangogps/tangogps.SlackBuild b/misc/tangogps/tangogps.SlackBuild index f992438b22..28b343a07a 100644 --- a/misc/tangogps/tangogps.SlackBuild +++ b/misc/tangogps/tangogps.SlackBuild @@ -4,7 +4,7 @@ # This script is hereby put in the public domain PRGNAM=tangogps -VERSION=0.99.2 +VERSION=0.99.4 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,6 +48,14 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Fix for glib>=2.31 +sed -i "s|^#include\ <glib/.*||" src/map_management.c + +# This other is for curl>=7.24 +sed -i "s|^#include\ <curl/types\.h>||" \ + src/tile_management.c src/util.h src/friends.c + +LDFLAGS="-lm" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |