Package: sysvinit
Severity: important
Version: 2.86.ds1-62
Tags: patch
User: glibc-bsd-de...@lists.alioth.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.
Unfortunately, the updated startpar source started
to use posix_fadvise().

The posix_fadvise() is not required part even of IEEE Std 1003.1-2008, see
http://www.opengroup.org/onlinepubs/9699919799/functions/posix_fadvise.html

Please apply patch bellow.

Thanks in advance

                        Petr

--- debian/startpar/makeboot.c
+++ debian/startpar/makeboot.c
@@ -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





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to