aboutsummaryrefslogtreecommitdiffstats
path: root/main/gpsd/gpsd-use-local-timepps-header.patch
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2014-02-17 20:53:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-02-19 12:36:23 +0000
commitb4008ef11dbbf53fd9c358d7289001111a1ed193 (patch)
treeb1f6cd4eb0d15087f6eda199423dd64a7754c89a /main/gpsd/gpsd-use-local-timepps-header.patch
parenta29630d69eda6434a8bfe5490f548c7baa623082 (diff)
downloadaports-b4008ef11dbbf53fd9c358d7289001111a1ed193.tar.bz2
aports-b4008ef11dbbf53fd9c358d7289001111a1ed193.tar.xz
main/gpsd version bump to 3.10
Also include fixes to correctly enable PPS from the pps_ldisc module
Diffstat (limited to 'main/gpsd/gpsd-use-local-timepps-header.patch')
-rw-r--r--main/gpsd/gpsd-use-local-timepps-header.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/gpsd/gpsd-use-local-timepps-header.patch b/main/gpsd/gpsd-use-local-timepps-header.patch
index 46bd300257..719891e410 100644
--- a/main/gpsd/gpsd-use-local-timepps-header.patch
+++ b/main/gpsd/gpsd-use-local-timepps-header.patch
@@ -1,11 +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.
+@@ -35,7 +35,7 @@
// 'close' is not defined otherwise.
#include <unistd.h>
+ #include <sys/time.h>
-#include <sys/timepps.h>
+#include "sys/timepps.h"
+ #endif /* S_SPLINT_S */
#endif
- #ifdef _WIN32