summaryrefslogtreecommitdiff
path: root/debian/patches/hurd-path-max-define
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-02-04 14:10:25 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-02-04 14:10:25 +0100
commitb92f3517ff627f7fe602004a9ba9d04755ff83fa (patch)
tree6e071669bddb4db32b9172826aa8d3301d41014e /debian/patches/hurd-path-max-define
parentbd82d030011cd8b9655e5ded6b6df9343b42a6bd (diff)
Initial import of libhx version 3.22-1
Diffstat (limited to 'debian/patches/hurd-path-max-define')
-rw-r--r--debian/patches/hurd-path-max-define20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/hurd-path-max-define b/debian/patches/hurd-path-max-define
new file mode 100644
index 0000000..05994a7
--- /dev/null
+++ b/debian/patches/hurd-path-max-define
@@ -0,0 +1,20 @@
+Description: Add missing define of PATH_MAX for hurd.
+Last-Update: 2015-02-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/src/io.c
+===================================================================
+--- trunk.orig/src/io.c
++++ trunk/src/io.c
+@@ -31,6 +31,11 @@
+ #include <libHX/string.h>
+ #include "internal.h"
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096 /* Hurd does not define PATH_MAX in limits.h */
++#endif
++
++
+ struct HXdir {
+ #if defined _WIN32
+ char *dname;