pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
chibi-scheme: Fix build on latest NetBSD-current
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sun Dec 10 12:46:49 2017 +0100
Changeset: 0729af3ad66487bd1c16632145df255b1eee4608
Modified Files:
chibi-scheme/distinfo
Added Files:
chibi-scheme/TODO
chibi-scheme/patches/patch-lib_chibi_signal.c
Log Message:
chibi-scheme: Fix build on latest NetBSD-current
<sys/user.h> is no longer available, do not include it on NetBSD.
(Only tested on 8.99.8, to avoid possible headache add that note on TODO)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0729af3ad66487bd1c16632145df255b1eee4608
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
chibi-scheme/TODO | 3 +++
chibi-scheme/distinfo | 2 ++
chibi-scheme/patches/patch-lib_chibi_signal.c | 16 ++++++++++++++++
3 files changed, 21 insertions(+)
diffs:
diff --git a/chibi-scheme/TODO b/chibi-scheme/TODO
new file mode 100644
index 0000000000..57f11ef4cf
--- /dev/null
+++ b/chibi-scheme/TODO
@@ -0,0 +1,3 @@
+- Test if patches/patch-lib_chibi_signal.c is correct also on older NetBSD
+ versions (I have only tested it on 8.99.8).
+ -- leot (2017/12/10)
diff --git a/chibi-scheme/distinfo b/chibi-scheme/distinfo
index e765687831..614786dcb3 100644
--- a/chibi-scheme/distinfo
+++ b/chibi-scheme/distinfo
@@ -2,6 +2,8 @@ $NetBSD: distinfo,v 1.2 2015/08/05 15:22:53 leot1990 Exp $
SHA1 (chibi-scheme-0.7.3.tar.gz) = cb4258eaf288feae43b417f4289c356a05cd1577
RMD160 (chibi-scheme-0.7.3.tar.gz) = 67c5e509967782d8a001ac5f35631af56af90789
+SHA512 (chibi-scheme-0.7.3.tar.gz) = 9d3d59837835c522bb93bda34047d80020774afbbec3686dc47c6c4860c4115b8622dc2c8f8e7f3e3d9f58a4aebc36ddf87d39dc18af8d1f196b441aa9585bd8
Size (chibi-scheme-0.7.3.tar.gz) = 812703 bytes
SHA1 (patch-Makefile) = d6eb86d6f3c39c2c8c41e1339c98b1ca5bf6be60
SHA1 (patch-benchmarks_gabriel_run.sh) = b15a6686db42d07350142c8ec5e8dafb2a2cee6a
+SHA1 (patch-lib_chibi_signal.c) = 9bdf2c06c38902439c302aa1fb2a6139a2026745
diff --git a/chibi-scheme/patches/patch-lib_chibi_signal.c b/chibi-scheme/patches/patch-lib_chibi_signal.c
new file mode 100644
index 0000000000..4214e56587
--- /dev/null
+++ b/chibi-scheme/patches/patch-lib_chibi_signal.c
@@ -0,0 +1,16 @@
+$NetBSD$
+
+<sys/user.h> is no longer available on NetBSD, no need to include it.
+
+--- lib/chibi/signal.c.orig 2015-05-10 13:47:12.000000000 +0000
++++ lib/chibi/signal.c
+@@ -67,7 +67,9 @@ static sexp sexp_set_signal_action (sexp
+ #include <sys/proc.h>
+ #endif
+ #include <sys/sysctl.h>
++#ifndef __NetBSD__
+ #include <sys/user.h>
++#endif
+
+ static sexp sexp_pid_cmdline (sexp ctx, int pid) {
+ size_t reslen = sizeof(struct kinfo_proc);
Home |
Main Index |
Thread Index |
Old Index