[Pkg-sysvinit-commits] r1349 - in sysvinit/trunk/debian: . startpar

Kel Modderman kelmo-guest at alioth.debian.org
Tue Jun 23 23:09:59 UTC 2009


Author: kelmo-guest
Date: 2009-06-23 23:09:59 +0000 (Tue, 23 Jun 2009)
New Revision: 1349

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/startpar/makeboot.c
Log:
Patch startpar to add compat define for posix_fadvise() when on
platform such as kfreebsd which does not support that. Thanks to
Petr Salinger for the patch. (Closes: #534337)

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2009-06-23 16:51:52 UTC (rev 1348)
+++ sysvinit/trunk/debian/changelog	2009-06-23 23:09:59 UTC (rev 1349)
@@ -1,3 +1,11 @@
+sysvinit (2.86.ds1-63) unstable; urgency=low
+
+  * Patch startpar to add compat define for posix_fadvise() when on
+    platform such as kfreebsd which does not support that. Thanks to
+    Petr Salinger for the patch. (Closes: #534337)
+
+ -- Kel Modderman <kel at otaku42.de>  Wed, 24 Jun 2009 09:06:44 +1000
+
 sysvinit (2.86.ds1-62) unstable; urgency=low
 
   [ Kel Modderman ]

Modified: sysvinit/trunk/debian/startpar/makeboot.c
===================================================================
--- sysvinit/trunk/debian/startpar/makeboot.c	2009-06-23 16:51:52 UTC (rev 1348)
+++ sysvinit/trunk/debian/startpar/makeboot.c	2009-06-23 23:09:59 UTC (rev 1349)
@@ -17,6 +17,9 @@
 # include <sys/types.h>
 # include <sys/stat.h>
 # include <fcntl.h>
+#ifndef POSIX_FADV_SEQUENTIAL
+#define posix_fadvise(fd, off, len, adv)	(-1)
+#endif
 static int o_flags = O_RDONLY;
 #endif
 




More information about the Pkg-sysvinit-commits mailing list