summaryrefslogtreecommitdiffstats
path: root/debian/patches/hurd_path_max.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/hurd_path_max.patch')
-rw-r--r--debian/patches/hurd_path_max.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/hurd_path_max.patch b/debian/patches/hurd_path_max.patch
new file mode 100644
index 0000000..b333eb6
--- /dev/null
+++ b/debian/patches/hurd_path_max.patch
@@ -0,0 +1,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
+@@ -629,7 +629,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@"