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-04-11 12:33:37 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-04-11 12:33:37 +0200
commitaacd540534c104b364291e591224f1adc2801562 (patch)
tree399d8dea4dbb148398e579d6836f2369c1458f61 /debian/patches/0155-hurd_PATH_MAX.patch
parentee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (diff)
parent1500dbeb2c43c0957a8e4dab8114187f0dfeb09b (diff)
Merge branch 'release/experimental/1.0.29-1_experimental2'experimental/1.0.29-1_experimental2
Diffstat (limited to 'debian/patches/0155-hurd_PATH_MAX.patch')
-rw-r--r--debian/patches/0155-hurd_PATH_MAX.patch18
1 files changed, 18 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..b1d6056
--- /dev/null
+++ b/debian/patches/0155-hurd_PATH_MAX.patch
@@ -0,0 +1,18 @@
+Description: Add PATH_MAX if undefined
+Author: Jörg Frings-Fürst <debian@jff.email>
+Last-Update: 2020-04-01
+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;