File: build-on-hurd.patch

package info (click to toggle)
gpsd 3.26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,016 kB
  • sloc: ansic: 73,265; python: 14,883; sh: 890; cpp: 848; php: 225; makefile: 197; perl: 111; javascript: 26; xml: 11
file content (21 lines) | stat: -rw-r--r-- 424 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Boian Bonev <bbonev@ipacct.com>
Date:   Tue Jun 20 18:16:41 2023 +0000
Forwarded: a462f469539cf9edfa528e358988ff5ddadc64c0

    Get rid of PATH_MAX

--- a/include/os_compat.h
+++ b/include/os_compat.h
@@ -138,6 +138,12 @@ void gpsd_sincos(double x, double *sinp,
 #endif
 #endif
 
+#ifdef __GNU__ /* building on GNU/Hurd */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+#endif
+
 # ifdef __cplusplus
 }
 # endif