summaryrefslogtreecommitdiff
path: root/debian/patches/0155-hurd_PATH_MAX.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 22:22:23 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 22:22:23 +0200
commitdc581898ce300be2b16f33ebbed4b9f583c69250 (patch)
tree002ccb6a6022dd935e979d6903990fa080ed40fe /debian/patches/0155-hurd_PATH_MAX.patch
parenta7fb2a10d2fd69a71d4bb28b2ef3fa0beb94264c (diff)
Fix missing PATH_MAX; Fix tests on i385
Diffstat (limited to 'debian/patches/0155-hurd_PATH_MAX.patch')
-rw-r--r--debian/patches/0155-hurd_PATH_MAX.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0155-hurd_PATH_MAX.patch b/debian/patches/0155-hurd_PATH_MAX.patch
new file mode 100644
index 0000000..13e3392
--- /dev/null
+++ b/debian/patches/0155-hurd_PATH_MAX.patch
@@ -0,0 +1,15 @@
+Index: trunk/backend/escl/escl_capabilities.c
+===================================================================
+--- trunk.orig/backend/escl/escl_capabilities.c
++++ trunk/backend/escl/escl_capabilities.c
+@@ -35,6 +35,10 @@
+
+ #include "../include/sane/saneopts.h"
+
++#ifndef PATH_MAX
++ #define PATH_MAX 4096
++#endif
++
+ struct cap
+ {
+ char *memory;