From 670b63692fae0e99ce787cc68f9ef75f0791efbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Zavam?= Date: Sat, 5 Jan 2019 13:47:15 +0000 Subject: sysutils/openipmi: update 2.0.25_1 to 2.0.26 Makefile silent portlint; reorder GNU_CONFIGURE and INSTALL_TARGET; readline.so (devel/readline) is now part of LIB_DEPENDS; USES got readline added to the list; sorted. post-patch 13.10. Verbose Build Logs; reinplaced editline/readline.h (served by base's libedit). files/patch-unix_selector.c we do not provide EPOLL_PWAIT, so fdc->saved_events = 0 is never used. Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D18667 --- sysutils/openipmi/files/patch-unix_selector.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sysutils/openipmi/files/patch-unix_selector.c (limited to 'sysutils/openipmi/files/patch-unix_selector.c') diff --git a/sysutils/openipmi/files/patch-unix_selector.c b/sysutils/openipmi/files/patch-unix_selector.c new file mode 100644 index 000000000000..3e54a962f806 --- /dev/null +++ b/sysutils/openipmi/files/patch-unix_selector.c @@ -0,0 +1,16 @@ +--- unix/selector.c.orig 2018-12-28 13:36:00 UTC ++++ unix/selector.c +@@ -459,7 +459,13 @@ i_sel_clear_fd_handler(struct selector_s + fdc->state = NULL; + + sel_update_epoll(sel, fd, EPOLL_CTL_DEL, 0); ++ /* We do not set HAVE_EPOLL_PWAIT, so 'fd_control_s' will never ++ * have 'saved_events', and sel_update_epoll() will always return 1. ++ * ++ * See lines 340 (HAVE_EPOLL_PWAIT), and 369 (no HAVE_EPOLL_PWAIT). ++ * + fdc->saved_events = 0; ++ */ + } + + init_fd(fdc); -- cgit v1.2.3