[odb-api] 02/04: Add unsaved patch
Alastair McKinstry
mckinstry at moszumanska.debian.org
Sun Dec 31 11:34:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to tag debian/0.17.4-4
in repository odb-api.
commit 7ff3cf2a55afb1bd8147817262913a7dd76682a3
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Tue Dec 19 11:57:14 2017 +0000
Add unsaved patch
---
debian/patches/hurd_pathmax.patch | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/debian/patches/hurd_pathmax.patch b/debian/patches/hurd_pathmax.patch
new file mode 100644
index 0000000..ed4a4c6
--- /dev/null
+++ b/debian/patches/hurd_pathmax.patch
@@ -0,0 +1,30 @@
+Index: odb-api-0.17.4/eckit/src/eckit/cmd/DirCmd.cc
+===================================================================
+--- odb-api-0.17.4.orig/eckit/src/eckit/cmd/DirCmd.cc
++++ odb-api-0.17.4/eckit/src/eckit/cmd/DirCmd.cc
+@@ -15,6 +15,10 @@
+ #include "eckit/filesystem/PathName.h"
+ #include "eckit/exception/Exceptions.h"
+
++#ifndef PATH_MAX
++#define PATH_MAX 255
++#endif
++
+ //-----------------------------------------------------------------------------
+
+ namespace eckit {
+Index: odb-api-0.17.4/eckit/src/eckit/filesystem/LocalPathName.cc
+===================================================================
+--- odb-api-0.17.4.orig/eckit/src/eckit/filesystem/LocalPathName.cc
++++ odb-api-0.17.4/eckit/src/eckit/filesystem/LocalPathName.cc
+@@ -19,6 +19,10 @@
+ #include <sys/types.h>
+ #include <pwd.h>
+
++#ifndef PATH_MAX
++#define PATH_MAX 255
++#endif
++
+ #include "eckit/filesystem/LocalPathName.h"
+
+ #include "eckit/config/Resource.h"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/odb-api.git
More information about the debian-science-commits
mailing list