[Pkg-sysvinit-commits] r1887 - in sysvinit/trunk/debian: . patches

Petter Reinholdtsen pere at alioth.debian.org
Wed Apr 28 17:38:59 UTC 2010


Author: pere
Date: 2010-04-28 17:38:56 +0000 (Wed, 28 Apr 2010)
New Revision: 1887

Added:
   sysvinit/trunk/debian/patches/30_killall5_hurd.patch
Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/patches/series
Log:
New 30_killall5_hurd.patch to fix build problem on Hurd.  Patch
from Werner Fink.

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2010-04-27 16:50:41 UTC (rev 1886)
+++ sysvinit/trunk/debian/changelog	2010-04-28 17:38:56 UTC (rev 1887)
@@ -1,3 +1,10 @@
+sysvinit (2.88dsf-3) UNRELEASED; urgency=low
+
+  * New 30_killall5_hurd.patch to fix build problem on Hurd.  Patch
+    from Werner Fink.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Wed, 28 Apr 2010 19:37:54 +0200
+
 sysvinit (2.88dsf-2) experimental; urgency=low
 
   [ Petter Reinholdtsen ]

Added: sysvinit/trunk/debian/patches/30_killall5_hurd.patch
===================================================================
--- sysvinit/trunk/debian/patches/30_killall5_hurd.patch	                        (rev 0)
+++ sysvinit/trunk/debian/patches/30_killall5_hurd.patch	2010-04-28 17:38:56 UTC (rev 1887)
@@ -0,0 +1,30 @@
+Purpose: Hurd  is missing PATH_MAX, provide workaround.
+Authour: Werner Fink
+Fixes:   ?
+Status:  Not send upstream
+
+--- sysvinit.orig/src/killall5.c	(revision 1869)
++++ sysvinit/src/killall5.c	(working copy)
+@@ -43,6 +43,7 @@
+ #include <dirent.h>
+ #include <errno.h>
+ #include <getopt.h>
++#include <limits.h>
+ #include <mntent.h>
+ #include <stdarg.h>
+ #include <stdio.h>
+@@ -59,6 +60,14 @@
+ 
+ char *Version = "@(#)killall5 2.86 31-Jul-2004 miquels at cistron.nl";
+ 
++#ifndef PATH_MAX
++#  ifdef MAXPATHLEN
++#    define PATH_MAX MAXPATHLEN
++#  else
++#    define PATH_MAX 2048
++#  endif
++#endif
++
+ #define STATNAMELEN	15
+ #define DO_NETFS 2
+ #define DO_STAT 1

Modified: sysvinit/trunk/debian/patches/series
===================================================================
--- sysvinit/trunk/debian/patches/series	2010-04-27 16:50:41 UTC (rev 1886)
+++ sysvinit/trunk/debian/patches/series	2010-04-28 17:38:56 UTC (rev 1887)
@@ -1,4 +1,5 @@
 10_doc_manuals.dpatch
 20_init_freebsd_vswtc.patch
+30_killall5_hurd.patch
 63_init_keep_utf8_ttyflag.patch
 91_sulogin_lockedpw.dpatch




More information about the Pkg-sysvinit-commits mailing list