summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-01-17 08:23:21 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-01-17 08:23:21 +0100
commit9734f3f8c405b7b242fd5a55f9119387c1cf5f36 (patch)
tree4f39ddc5f81d346168d28a01355c3b1e29d0ce35
parent795035f18341dcbd77a723509b5347ba655c189c (diff)
Add PATH_MAX for hurd
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/0700_hurd_PATH_MAX.patch21
-rw-r--r--debian/patches/series1
3 files changed, 24 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 11d83b5..133ddd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ xsd (4.0.0-3) UNRELEASED; urgency=medium
- Add year 2016 to debian/*.
* debian/watch:
- Set version=4 (no changes required).
+ * New debian/patches/0700_hurd_PATH_MAX.patch:
+ - Add PATH_MAX for hurd (Closes: #784425).
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 17 Jan 2016 07:48:23 +0100
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 <debain@jff-webhosting.net>
+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 <cutl/fs/path.hxx>
+
++#ifndef PATH_MAX
++ #define PATH_MAX 4096
++#endif
++
+ namespace cutl
+ {
+ namespace fs
diff --git a/debian/patches/series b/debian/patches/series
index 0f2af3c..999f227 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0100-C++Parser_Expat_support.patch
0001-xsd_xsdcxx-rename.patch
+0700_hurd_PATH_MAX.patch