[Initscripts-ng-commits] r911 - /trunk/src/insserv/debian/patches/91_kfreebsd_nofadvice.patch
kelmo-guest at users.alioth.debian.org
kelmo-guest at users.alioth.debian.org
Sun Jun 28 16:59:58 UTC 2009
Author: kelmo-guest
Date: Sun Jun 28 16:59:57 2009
New Revision: 911
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=911
Log:
Fix patch, comment was missing a trailing */
Modified:
trunk/src/insserv/debian/patches/91_kfreebsd_nofadvice.patch
Modified: trunk/src/insserv/debian/patches/91_kfreebsd_nofadvice.patch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/91_kfreebsd_nofadvice.patch?rev=911&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/91_kfreebsd_nofadvice.patch (original)
+++ trunk/src/insserv/debian/patches/91_kfreebsd_nofadvice.patch Sun Jun 28 16:59:57 2009
@@ -2,14 +2,14 @@
Fixes: #?
Status: Not yet submitted upstream.
---
---- insserv-1.12.0.orig/insserv.c
-+++ insserv-1.12.0/insserv.c
+--- a/insserv.c
++++ b/insserv.c
@@ -40,6 +40,13 @@
#endif /* USE_RPMLIB */
#include "listing.h"
+#if defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= 600
-+/* kfreebsd fail to provide working posix_fadvise
++/* kfreebsd fail to provide working posix_fadvise */
+# ifndef POSIX_FADV_SEQUENTIAL
+# define posix_fadvise(fd, off, len, adv) (-1)
+# endif
More information about the Initscripts-ng-commits
mailing list