gis/foxtrotgps: Updated for version 1.2.2.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-02-19 20:57:32 +13:00 committed by Willy Sudiarto Raharjo
parent 95e7b2efb4
commit 8547442215
No known key found for this signature in database
GPG key ID: 3F617144D7238786
6 changed files with 8 additions and 18 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1,11 +0,0 @@
--- foxtrotgps-1.2.1/src/gps_functions.c.orig 2018-10-09 17:00:10.297646701 +0000
+++ foxtrotgps-1.2.1/src/gps_functions.c 2018-10-09 17:00:43.751114273 +0000
@@ -738,7 +738,7 @@
if (!libgps_initialized)
return FALSE;
- ret = gps_read(&libgps_gpsdata);
+ ret = gps_read(&libgps_gpsdata, NULL, 0);
/* Note that gps_read() will never actually return 0
(zero-length reads are converted internally to a -1 return,
since they mean that the connection to the daemon has closed),

View file

@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=foxtrotgps
VERSION=${VERSION:-1.2.1}
VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -74,6 +74,10 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
# thanks gentoo maintainers
zcat $CWD/$PRGNAM-$VERSION-gpsd-api9.patch.gz | patch -p1
zcat $CWD/$PRGNAM-$VERSION-gcc10.patch.gz | patch -p1
zcat $CWD/$PRGNAM-$VERSION-fix-some-receivers.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -81,9 +85,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Patch ripped off from Arch (thanks!)
patch -p1 < $CWD/foxtrotgps-gpsd-3.18.patch
# "--with-gconf-source" requires this, it will put all files in the package
mkdir -p $PKG/etc/gconf/gconf.xml.defaults

View file

@ -1,8 +1,8 @@
PRGNAM="foxtrotgps"
VERSION="1.2.1"
VERSION="1.2.2"
HOMEPAGE="https://www.foxtrotgps.org/"
DOWNLOAD="https://www.foxtrotgps.org/releases/foxtrotgps-1.2.1.tar.xz"
MD5SUM="b4042572edbbad13db6bc90eb9a7f11b"
DOWNLOAD="https://www.foxtrotgps.org/releases/foxtrotgps-1.2.2.tar.xz"
MD5SUM="3a7e7b94202134b51b11dcb80734eb7f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gpsd"