diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-02-04 14:10:25 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-02-04 14:10:25 +0100 |
commit | b92f3517ff627f7fe602004a9ba9d04755ff83fa (patch) | |
tree | 6e071669bddb4db32b9172826aa8d3301d41014e /debian/patches/hurd-path-max-define | |
parent | bd82d030011cd8b9655e5ded6b6df9343b42a6bd (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-define | 20 |
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; |