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

Kel Modderman kelmo-guest at alioth.debian.org
Wed Jun 24 22:30:05 UTC 2009


Author: kelmo-guest
Date: 2009-06-24 22:30:05 +0000 (Wed, 24 Jun 2009)
New Revision: 1350

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/startpar/makeboot.c
Log:
Patch startpar to add compat define for O_DIRECT to fix ftbfs on
hurd. Thanks Samuel Thibault for the patch. (Closes: #534471)

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2009-06-23 23:09:59 UTC (rev 1349)
+++ sysvinit/trunk/debian/changelog	2009-06-24 22:30:05 UTC (rev 1350)
@@ -3,8 +3,10 @@
   * 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)
+  * Patch startpar to add compat define for O_DIRECT to fix ftbfs on
+    hurd. Thanks Samuel Thibault for the patch. (Closes: #534471)
 
- -- Kel Modderman <kel at otaku42.de>  Wed, 24 Jun 2009 09:06:44 +1000
+ -- Kel Modderman <kel at otaku42.de>  Thu, 25 Jun 2009 08:27:16 +1000
 
 sysvinit (2.86.ds1-62) unstable; urgency=low
 

Modified: sysvinit/trunk/debian/startpar/makeboot.c
===================================================================
--- sysvinit/trunk/debian/startpar/makeboot.c	2009-06-23 23:09:59 UTC (rev 1349)
+++ sysvinit/trunk/debian/startpar/makeboot.c	2009-06-24 22:30:05 UTC (rev 1350)
@@ -20,6 +20,9 @@
 #ifndef POSIX_FADV_SEQUENTIAL
 #define posix_fadvise(fd, off, len, adv)	(-1)
 #endif
+#ifndef O_DIRECT
+#define O_DIRECT 0
+#endif
 static int o_flags = O_RDONLY;
 #endif
 




More information about the Pkg-sysvinit-commits mailing list