diff options
author | Nathan Angelacos <nangel@alpinelinux.org> | 2018-01-21 13:50:21 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-02-01 20:14:40 +0000 |
commit | 6a9f2a91c955bce8a4e2d2ad2fe1b919acf0155c (patch) | |
tree | 43ea30db1566925161a68c69af053be798459379 /main/gpsd/gpsd-use-local-timepps-header.patch | |
parent | aeab50c64318f49054e86eb7692f1c2925f904ce (diff) | |
download | aports-6a9f2a91c955bce8a4e2d2ad2fe1b919acf0155c.tar.bz2 aports-6a9f2a91c955bce8a4e2d2ad2fe1b919acf0155c.tar.xz |
main/gpsd version bump to 3.17
Diffstat (limited to 'main/gpsd/gpsd-use-local-timepps-header.patch')
-rw-r--r-- | main/gpsd/gpsd-use-local-timepps-header.patch | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/gpsd/gpsd-use-local-timepps-header.patch b/main/gpsd/gpsd-use-local-timepps-header.patch index 4724e43ed5..ea27de7a3e 100644 --- a/main/gpsd/gpsd-use-local-timepps-header.patch +++ b/main/gpsd/gpsd-use-local-timepps-header.patch @@ -1,13 +1,19 @@ diff --git a/ppsthread.c b/ppsthread.c -index 5fae444..d09957b 100644 +index 6819c6f..45002cb 100644 --- a/ppsthread.c +++ b/ppsthread.c -@@ -72,7 +72,7 @@ +@@ -75,12 +75,11 @@ + */ + #define FAKE_PPS_NAME "ktimer" + +-#if defined(HAVE_SYS_TIMEPPS_H) ++// We supply our own timepps.h for Linux + // include unistd.h here as it is missing on older pps-tools releases. // 'close' is not defined otherwise. #include <unistd.h> - #include <sys/time.h> -#include <sys/timepps.h> +-#endif +#include "sys/timepps.h" - #endif #include "timespec.h" + #include "ppsthread.h" |