summaryrefslogtreecommitdiffstats
path: root/debian/patches/hurd_path_max.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:23:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:23:09 +0000
commit2b1bf113c14ff001ed6ba4fc8b09c72a1bcfd6b0 (patch)
tree4358ff30f29d4cacb2992ec6b4fce360dace2853 /debian/patches/hurd_path_max.patch
parentAdding upstream version 1.7.2. (diff)
downloadapr-2b1bf113c14ff001ed6ba4fc8b09c72a1bcfd6b0.tar.xz
apr-2b1bf113c14ff001ed6ba4fc8b09c72a1bcfd6b0.zip
Adding debian version 1.7.2-3.debian/1.7.2-3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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@"