File: fix-ftbfs-hurd

package info (click to toggle)
uhexen2 1.5.6%2Bdfsg-1
  • links: PTS
  • area: contrib
  • in suites: jessie, jessie-kfreebsd
  • size: 16,340 kB
  • ctags: 23,477
  • sloc: ansic: 188,956; asm: 14,958; makefile: 3,475; sh: 3,325; objc: 330; pascal: 213; cpp: 19
file content (19 lines) | stat: -rw-r--r-- 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: simple patches for GNU/Hurd
 one of the patches adds GNU macro to a headers file
 the other patch defines PATH_MAX

Origin: vendor
Forwarded: no
Last-Update: <2013-08-23>

--- a/launcher/launcher_defs.h
+++ b/launcher/launcher_defs.h
@@ -114,3 +114,8 @@ extern const char	*snd_rates[MAX_RATES];
 
 #endif	/* LAUNCHER_COMMONDEFS_H */
 
+// Define PATH_MAX for systems that don't have it, like Hurd 
+#ifndef PATH_MAX 
+#define PATH_MAX 4096 
+#endif 
+