diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-20 23:40:16 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-21 06:47:03 +0700 |
commit | f8257a466f1379ed75e6107bc1672f91494670dd (patch) | |
tree | d15ab22d1f1a4c4741ce1ebc7fe923236046b036 /gis/foxtrotgps/foxtrotgps.SlackBuild | |
parent | 6b71a363e9e85bf83596ddc6e69bfe8956ae4046 (diff) |
gis/foxtrotgps: Fix build with gpsd-3.18.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'gis/foxtrotgps/foxtrotgps.SlackBuild')
-rw-r--r-- | gis/foxtrotgps/foxtrotgps.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gis/foxtrotgps/foxtrotgps.SlackBuild b/gis/foxtrotgps/foxtrotgps.SlackBuild index 709b23ba8d0f..f40d7d51271b 100644 --- a/gis/foxtrotgps/foxtrotgps.SlackBuild +++ b/gis/foxtrotgps/foxtrotgps.SlackBuild @@ -26,12 +26,12 @@ PRGNAM=foxtrotgps VERSION=${VERSION:-1.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -71,6 +71,9 @@ 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 |