aboutsummaryrefslogtreecommitdiff
path: root/gis/foxtrotgps/foxtrotgps.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/foxtrotgps/foxtrotgps.SlackBuild')
-rw-r--r--gis/foxtrotgps/foxtrotgps.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/gis/foxtrotgps/foxtrotgps.SlackBuild b/gis/foxtrotgps/foxtrotgps.SlackBuild
index ac9beed8e5095..02d2a1c653a1f 100644
--- a/gis/foxtrotgps/foxtrotgps.SlackBuild
+++ b/gis/foxtrotgps/foxtrotgps.SlackBuild
@@ -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