aboutsummaryrefslogtreecommitdiff
path: root/misc
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
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')
-rw-r--r--misc/tangogps/tangogps.SlackBuild10
-rw-r--r--misc/tangogps/tangogps.info6
2 files changed, 12 insertions, 4 deletions
diff --git a/misc/tangogps/tangogps.SlackBuild b/misc/tangogps/tangogps.SlackBuild
index f992438b228a..28b343a07a15 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 \
diff --git a/misc/tangogps/tangogps.info b/misc/tangogps/tangogps.info
index ee369c20c7ba..e61aebc43130 100644
--- a/misc/tangogps/tangogps.info
+++ b/misc/tangogps/tangogps.info
@@ -1,8 +1,8 @@
PRGNAM="tangogps"
-VERSION="0.99.2"
+VERSION="0.99.4"
HOMEPAGE="http://www.tangogps.org"
-DOWNLOAD="http://www.tangogps.org/downloads/tangogps-0.99.2.tar.gz"
-MD5SUM="ba0b28f9f87f6b47cf32a4f2c935cc28"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/tangogps-0.99.4.tar.gz"
+MD5SUM="0f07ede94a21eb84f5e017fa88a1fc3d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""