[pkg-java] r17706 - in trunk/commons-daemon/debian: . patches
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Sun Jan 26 15:30:43 UTC 2014
Author: ebourg-guest
Date: 2014-01-26 15:30:43 +0000 (Sun, 26 Jan 2014)
New Revision: 17706
Added:
trunk/commons-daemon/debian/patches/hurd_support.diff
Modified:
trunk/commons-daemon/debian/changelog
trunk/commons-daemon/debian/patches/series
Log:
Added a patch defining the PATH_MAX constant to compile on Hurd
Modified: trunk/commons-daemon/debian/changelog
===================================================================
--- trunk/commons-daemon/debian/changelog 2014-01-26 15:28:23 UTC (rev 17705)
+++ trunk/commons-daemon/debian/changelog 2014-01-26 15:30:43 UTC (rev 17706)
@@ -1,5 +1,6 @@
commons-daemon (1.0.15-4) UNRELEASED; urgency=medium
+ * Added a patch defining the PATH_MAX constant to compile on Hurd
* Revert to Java 5 source/target level
* Standards-Version updated to 3.9.5 (no changes)
* Switch to debhelper level 9
Added: trunk/commons-daemon/debian/patches/hurd_support.diff
===================================================================
--- trunk/commons-daemon/debian/patches/hurd_support.diff (rev 0)
+++ trunk/commons-daemon/debian/patches/hurd_support.diff 2014-01-26 15:30:43 UTC (rev 17706)
@@ -0,0 +1,16 @@
+Description: Define the PATH_MAX constant not available for Hurd
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: https://issues.apache.org/jira/browse/DAEMON-294
+--- a/src/native/unix/native/arguments.c
++++ b/src/native/unix/native/arguments.c
+@@ -19,6 +19,10 @@
+ #include <limits.h>
+ #include <glob.h>
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ /* Return the argument of a command line option */
+ static char *optional(int argc, char *argv[], int argi)
+ {
Modified: trunk/commons-daemon/debian/patches/series
===================================================================
--- trunk/commons-daemon/debian/patches/series 2014-01-26 15:28:23 UTC (rev 17705)
+++ trunk/commons-daemon/debian/patches/series 2014-01-26 15:30:43 UTC (rev 17706)
@@ -1,3 +1,4 @@
libgcj_PR31700.diff
kfreebsd_support.diff
s390x_support.diff
+hurd_support.diff
More information about the pkg-java-commits
mailing list