Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/unbound/dist/util libunbound: Enforce that mini...



details:   https://anonhg.NetBSD.org/src/rev/46dbd69023c2
branches:  trunk
changeset: 948840:46dbd69023c2
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Jan 01 23:24:31 2021 +0000

description:
libunbound: Enforce that mini_event isn't used by include/config.h

As I tire of fixing it to use libevent.

diffstat:

 external/bsd/unbound/dist/util/mini_event.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 7b4061903395 -r 46dbd69023c2 external/bsd/unbound/dist/util/mini_event.c
--- a/external/bsd/unbound/dist/util/mini_event.c       Fri Jan 01 23:17:15 2021 +0000
+++ b/external/bsd/unbound/dist/util/mini_event.c       Fri Jan 01 23:24:31 2021 +0000
@@ -51,6 +51,9 @@
 #include <signal.h>
 #include "util/fptr_wlist.h"
 
+/* Enforce a correct include/config.h as I tire of fixin it. */
+#error This code should not be active on NetBSD, please use libevent.
+
 /** compare events in tree, based on timevalue, ptr for uniqueness */
 int mini_ev_cmp(const void* a, const void* b)
 {



Home | Main Index | Thread Index | Old Index