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>
This commit is contained in:
parent
dc43fabf3e
commit
7cb1f691d7
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue