From fb68413f1886677d8cdf9e3bba0d837ed94a0ff7 Mon Sep 17 00:00:00 2001 From: rin Date: Mon, 31 Jul 2023 04:37:04 +0000 Subject: [PATCH] librump*: Require 10.99.7 or higher for __kevent100 --- lib/librumpclient/rumpclient.c | 6 +++--- lib/librumphijack/hijack.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/librumpclient/rumpclient.c b/lib/librumpclient/rumpclient.c index e7b5096a4ef5..8c2084f8e6e6 100644 --- a/lib/librumpclient/rumpclient.c +++ b/lib/librumpclient/rumpclient.c @@ -1,4 +1,4 @@ -/* $NetBSD: rumpclient.c,v 1.70 2023/07/28 18:19:00 christos Exp $ */ +/* $NetBSD: rumpclient.c,v 1.71 2023/07/31 04:37:04 rin Exp $ */ /* * Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved. @@ -50,7 +50,7 @@ #define USE_SIGNALFD #endif -__RCSID("$NetBSD: rumpclient.c,v 1.70 2023/07/28 18:19:00 christos Exp $"); +__RCSID("$NetBSD: rumpclient.c,v 1.71 2023/07/31 04:37:04 rin Exp $"); #include #include @@ -926,7 +926,7 @@ rumpclient_init(void) #ifdef __NetBSD__ #if !__NetBSD_Prereq__(5,99,7) FINDSYM(kevent) -#elif !__NetBSD_Prereq__(10,99,4) +#elif !__NetBSD_Prereq__(10,99,7) FINDSYM2(kevent,_sys___kevent50) #else FINDSYM2(kevent,_sys___kevent100) diff --git a/lib/librumphijack/hijack.c b/lib/librumphijack/hijack.c index 7dc947d18604..645595afe120 100644 --- a/lib/librumphijack/hijack.c +++ b/lib/librumphijack/hijack.c @@ -1,4 +1,4 @@ -/* $NetBSD: hijack.c,v 1.137 2023/07/28 18:19:00 christos Exp $ */ +/* $NetBSD: hijack.c,v 1.138 2023/07/31 04:37:04 rin Exp $ */ /*- * Copyright (c) 2011 Antti Kantee. All Rights Reserved. @@ -34,7 +34,7 @@ #include #if !defined(lint) -__RCSID("$NetBSD: hijack.c,v 1.137 2023/07/28 18:19:00 christos Exp $"); +__RCSID("$NetBSD: hijack.c,v 1.138 2023/07/31 04:37:04 rin Exp $"); #endif #include @@ -214,7 +214,7 @@ enum dualcall { #if !__NetBSD_Prereq__(5,99,7) #define REALKEVENT kevent -#elif !__NetBSD_Prereq__(10,99,4) +#elif !__NetBSD_Prereq__(10,99,7) #define REALKEVENT _sys___kevent50 #else #define REALKEVENT _sys___kevent100