aboutsummaryrefslogtreecommitdiffstats
path: root/community/gpsd/gpsd-use-local-timepps-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gpsd/gpsd-use-local-timepps-header.patch')
-rw-r--r--community/gpsd/gpsd-use-local-timepps-header.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/gpsd/gpsd-use-local-timepps-header.patch b/community/gpsd/gpsd-use-local-timepps-header.patch
new file mode 100644
index 00000000000..e7b7642cd15
--- /dev/null
+++ b/community/gpsd/gpsd-use-local-timepps-header.patch
@@ -0,0 +1,13 @@
+diff --git a/SConstruct b/SConstruct
+index 33e0ff3..cf39fd9 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -319,7 +319,7 @@ for var in import_env:
+ envs[var] = os.environ[var]
+ envs["GPSD_HOME"] = os.getcwd()
+
+-env = Environment(tools=["default", "tar", "textfile"], options=opts, ENV=envs)
++env = Environment(tools=["default", "tar", "textfile"], options=opts, ENV=envs, CPPPATH=".")
+
+ # Minimal build turns off every option not set on the command line,
+ if ARGUMENTS.get('minimal'):