summaryrefslogtreecommitdiffstats
path: root/gpsd/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd/Pkgfile')
-rw-r--r--gpsd/Pkgfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/gpsd/Pkgfile b/gpsd/Pkgfile
index ffb75dc7c..93794a5ea 100644
--- a/gpsd/Pkgfile
+++ b/gpsd/Pkgfile
@@ -7,13 +7,16 @@
name=gpsd
version=3.4
-release=1
+release=2
source=(http://download-mirror.savannah.gnu.org/releases/$name/$name-$version.tar.gz
gpsd.conf
- gpsd.rc)
+ gpsd.rc
+ gpsd-3.4-link.patch)
build() {
cd $name-$version
+
+ patch -p0 < ../gpsd-3.4-link.patch
# Correction de chemins pour Python2.7
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find . -name '*.py')
sed -i "s|/usr/bin/env python|/usr/bin/env python2|" gegps gpscat gpsfake gpsprof xgps xgpsspeed