[pkg-java] r17710 - in trunk/commons-daemon/debian: . patches

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Jan 26 23:26:37 UTC 2014


Author: ebourg-guest
Date: 2014-01-26 23:26:37 +0000 (Sun, 26 Jan 2014)
New Revision: 17710

Modified:
   trunk/commons-daemon/debian/changelog
   trunk/commons-daemon/debian/patches/hurd_support.diff
Log:
Another attempt to support Hurd



Modified: trunk/commons-daemon/debian/changelog
===================================================================
--- trunk/commons-daemon/debian/changelog	2014-01-26 22:50:37 UTC (rev 17709)
+++ trunk/commons-daemon/debian/changelog	2014-01-26 23:26:37 UTC (rev 17710)
@@ -1,3 +1,9 @@
+commons-daemon (1.0.15-5) unstable; urgency=medium
+
+  * Another attempt to support Hurd
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 27 Jan 2014 00:21:08 +0100
+
 commons-daemon (1.0.15-4) unstable; urgency=medium
 
   * Added a patch defining the PATH_MAX constant to compile on Hurd

Modified: trunk/commons-daemon/debian/patches/hurd_support.diff
===================================================================
--- trunk/commons-daemon/debian/patches/hurd_support.diff	2014-01-26 22:50:37 UTC (rev 17709)
+++ trunk/commons-daemon/debian/patches/hurd_support.diff	2014-01-26 23:26:37 UTC (rev 17710)
@@ -14,3 +14,17 @@
  /* Return the argument of a command line option */
  static char *optional(int argc, char *argv[], int argi)
  {
+--- a/src/native/unix/support/apsupport.m4
++++ b/src/native/unix/support/apsupport.m4
+@@ -78,6 +78,11 @@
+     supported_os="kfreebsd-gnu"
+     LIBS="$LIBS -ldl -lpthread"
+     ;;
++  gnu*)
++    CFLAGS="$CFLAGS -DOS_HURD -DDSO_DLFCN -pthread "
++    supported_os="hurd-gnu"
++    LIBS="$LIBS -ldl -lpthread"
++    ;;
+   *)
+     AC_MSG_RESULT([failed])
+     AC_MSG_ERROR([Unsupported operating system "$host_os"])




More information about the pkg-java-commits mailing list