From b92f3517ff627f7fe602004a9ba9d04755ff83fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 4 Feb 2015 14:10:25 +0100 Subject: Initial import of libhx version 3.22-1 --- debian/patches/hurd-path-max-define | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/patches/hurd-path-max-define (limited to 'debian/patches/hurd-path-max-define') 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 + #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; -- cgit v1.2.3