[med-svn] [mia] 01/01: d/p/path_max: Add patch to define PATH_MAX on hurd

Gert Wollny gert-guest at moszumanska.debian.org
Thu Aug 25 14:25:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

gert-guest pushed a commit to branch master
in repository mia.

commit c24e73a5f687faaedd6f30b324519e5149bf2497
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Aug 25 11:22:54 2016 +0000

    d/p/path_max: Add patch to define PATH_MAX on hurd
---
 debian/changelog              |  6 ++++++
 debian/patches/path_max.patch | 18 ++++++++++++++++++
 debian/patches/series         |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 15fa05e..49909df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mia (2.4.3-2) unstable; urgency=medium
+
+  * d/p/path_max: Add patch to define PATH_MAX on hurd
+
+ -- Gert Wollny <gw.fossdev at gmail.com>  Thu, 25 Aug 2016 11:28:56 +0000
+
 mia (2.4.3-1) unstable; urgency=medium
 
   * Imported Upstream version 2.4.3
diff --git a/debian/patches/path_max.patch b/debian/patches/path_max.patch
new file mode 100644
index 0000000..3b2f7a8
--- /dev/null
+++ b/debian/patches/path_max.patch
@@ -0,0 +1,18 @@
+Author: Gert Wollny <gw.fossdev at gmail.com>
+Description: Define PATH_MAX if the system headers don't
+Forwarded:  not-needed
+
+--- a/mia/core/test_core.cc
++++ b/mia/core/test_core.cc
+@@ -32,6 +32,11 @@
+ #include <mia/core/utils.hh>
+ 
+ 
++// WIN32 and HURD don't define this 
++#ifndef PATH_MAX
++#define PATH_MAX 1024
++#endif 
++
+ NS_MIA_USE
+ using namespace std;
+ using namespace boost::unit_test;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8d6e592
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+path_max.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mia.git



More information about the debian-med-commit mailing list