diff options
author | wiz <wiz@pkgsrc.org> | 2016-01-30 00:38:15 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-01-30 00:38:15 +0000 |
commit | 0aa6fb56e888b24fb009a3361fc97a1fbbed65c8 (patch) | |
tree | 1d73af5b1bd8f2a1becae083b5fc181c40023f95 /lang | |
parent | 068263411318974b7268f84c9a4a6b9874f4a2b4 (diff) | |
download | pkgsrc-0aa6fb56e888b24fb009a3361fc97a1fbbed65c8.tar.gz |
Fix build on NetBSD (prototype mismatch for vadvise).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clisp/distinfo | 3 | ||||
-rw-r--r-- | lang/clisp/patches/patch-src_unix.d | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/clisp/distinfo b/lang/clisp/distinfo index 0c74f37d741..01cfb2cc0b1 100644 --- a/lang/clisp/distinfo +++ b/lang/clisp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.32 2016/01/26 09:13:26 dbj Exp $ +$NetBSD: distinfo,v 1.33 2016/01/30 00:38:15 wiz Exp $ SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323 RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76 @@ -10,3 +10,4 @@ SHA1 (patch-ac) = c31fcd65d7d37aeaf69c0eee9499bff596b6619b SHA1 (patch-src_configure) = 861681456cb768b7f308aa88e77f1cee1edb2090 SHA1 (patch-src_lispbibl.d) = 68eeac6def2d22ffb214fd8be3870d5c654f10bc SHA1 (patch-src_stream.d) = 28bde27e99277d9df24028534c3b46e2099c460c +SHA1 (patch-src_unix.d) = 7158a2a18fd0f3a524658896b9b0abc98286c01e diff --git a/lang/clisp/patches/patch-src_unix.d b/lang/clisp/patches/patch-src_unix.d new file mode 100644 index 00000000000..edde6c9cd3d --- /dev/null +++ b/lang/clisp/patches/patch-src_unix.d @@ -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 */ |