Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_unix.d,v 1.1 2016/01/30 00:38:15 wiz Exp $
Fix prototype to match the one on NetBSD.
--- src/unix.d.orig 2010-04-27 20:40:10.000000000 +0000
+++ src/unix.d
@@ -145,7 +145,7 @@ extern_C char* strerror (int errnum);
/* paging control */
#ifdef HAVE_VADVISE
#include <sys/vadvise.h> /* control codes */
- extern_C void vadvise (int param); /* paging system control, see VADVISE(2) */
+ extern_C int vadvise (int param); /* paging system control, see VADVISE(2) */
#endif
/* use madvise() ?? */
/* used by SPVW */