summaryrefslogtreecommitdiffstats
path: root/debian/patches/hurd_path_max.patch
blob: d5f80150088fbecb1bfe0039b95687b9a184741d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Stefan Fritsch <sf@debian.org>
Subject: #349418

---
 include/apr.h.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- apr.orig/include/apr.h.in
+++ apr/include/apr.h.in
@@ -638,7 +638,8 @@ typedef int apr_wait_t;
 #elif defined(_POSIX_PATH_MAX)
 #define APR_PATH_MAX       _POSIX_PATH_MAX
 #else
-#error no decision has been made on APR_PATH_MAX for your platform
+#warning no decision has been made on APR_PATH_MAX for your platform
+#define APR_PATH_MAX 4096
 #endif
 
 #define APR_DSOPATH "@shlibpath_var@"