aboutsummaryrefslogtreecommitdiff
path: root/misc/tangogps/tangogps.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-23 20:13:05 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:32 -0500
commit7cb1f691d745b8b2e8eb178a20c39711796e4e63 (patch)
treea03c6a2e853a246c873f26d87b88bf2f24534d32 /misc/tangogps/tangogps.SlackBuild
parentdc43fabf3e1c783315396e26c499125ca3f2dad6 (diff)
misc/tangogps: Updated for version 0.99.4.
Added a fix for the newer glib, another for the newer curl and fixed underlinking Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'misc/tangogps/tangogps.SlackBuild')
-rw-r--r--misc/tangogps/tangogps.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/tangogps/tangogps.SlackBuild b/misc/tangogps/tangogps.SlackBuild
index f992438b228a6..28b343a07a158 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 \