aboutsummaryrefslogtreecommitdiffstats
path: root/main/gpsd/gpsd-use-local-timepps-header.patch
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2013-12-18 15:23:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-20 10:08:07 +0000
commit03c69d3c2ada18201ac8fbc3e34ee0e6017af72b (patch)
tree2d7c7a0e209928c7cead9daf66d19de11cc914e4 /main/gpsd/gpsd-use-local-timepps-header.patch
parent1260ba010d54d1ffaa548482b6c77de3b671495c (diff)
downloadaports-03c69d3c2ada18201ac8fbc3e34ee0e6017af72b.tar.bz2
aports-03c69d3c2ada18201ac8fbc3e34ee0e6017af72b.tar.xz
main/gpsd: add support for pps
Include local timepps.h header so gpsd uses pps_ldisc kernel module Install .so.* symlinks as symlinks and not full copies of target
Diffstat (limited to 'main/gpsd/gpsd-use-local-timepps-header.patch')
-rw-r--r--main/gpsd/gpsd-use-local-timepps-header.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gpsd/gpsd-use-local-timepps-header.patch b/main/gpsd/gpsd-use-local-timepps-header.patch
new file mode 100644
index 0000000000..46bd300257
--- /dev/null
+++ b/main/gpsd/gpsd-use-local-timepps-header.patch
@@ -0,0 +1,11 @@
+--- a/gpsd.h-tail
++++ b/gpsd.h-tail
+@@ -19,7 +19,7 @@
+ // include unistd.h here as it is missing on older pps-tools releases.
+ // 'close' is not defined otherwise.
+ #include <unistd.h>
+-#include <sys/timepps.h>
++#include "sys/timepps.h"
+ #endif
+
+ #ifdef _WIN32