From 9734f3f8c405b7b242fd5a55f9119387c1cf5f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 17 Jan 2016 08:23:21 +0100 Subject: Add PATH_MAX for hurd --- debian/patches/0700_hurd_PATH_MAX.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debian/patches/0700_hurd_PATH_MAX.patch (limited to 'debian/patches/0700_hurd_PATH_MAX.patch') diff --git a/debian/patches/0700_hurd_PATH_MAX.patch b/debian/patches/0700_hurd_PATH_MAX.patch new file mode 100644 index 0000000..3babcdd --- /dev/null +++ b/debian/patches/0700_hurd_PATH_MAX.patch @@ -0,0 +1,21 @@ +Description: Add PATH_MAX for hurd +Author: Jörg Frings-Fürst +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784425 +Last-Update: 2016-01-17 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/libcutl/cutl/fs/path.cxx +=================================================================== +--- trunk.orig/libcutl/cutl/fs/path.cxx ++++ trunk/libcutl/cutl/fs/path.cxx +@@ -13,6 +13,10 @@ + + #include + ++#ifndef PATH_MAX ++ #define PATH_MAX 4096 ++#endif ++ + namespace cutl + { + namespace fs -- cgit v1.2.3