Hello, please find attached the patch for the pspg update to 5.5.1. The changelog is:
* fix build on OpenBSD (some events of kqueue are not supported) * minor changes in kqueue support Upstream was fast to update the kqueue code so that now works even without NOTE_CLOSE_WRITE \o/ Cheers, Omar Polo Index: Makefile =================================================================== RCS file: /home/cvs/ports/databases/pspg/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- Makefile 3 Nov 2021 12:20:55 -0000 1.2 +++ Makefile 8 Nov 2021 13:53:14 -0000 @@ -4,7 +4,7 @@ COMMENT = UNIX pager optimized for tabul GH_ACCOUNT = okbob GH_PROJECT = pspg -GH_TAGNAME = 5.5.0 +GH_TAGNAME = 5.5.1 CATEGORIES = databases Index: distinfo =================================================================== RCS file: /home/cvs/ports/databases/pspg/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 3 Nov 2021 12:20:55 -0000 1.2 +++ distinfo 8 Nov 2021 13:53:48 -0000 @@ -1,2 +1,2 @@ -SHA256 (pspg-5.5.0.tar.gz) = Y4weF+mKW7nOhY8lnqLQUOoBPq/RSzMgxsMKRqWMEDg= -SIZE (pspg-5.5.0.tar.gz) = 2282620 +SHA256 (pspg-5.5.1.tar.gz) = pKQAOYIBcmE2C64k1bOLNlPWlNPWYUDPj+eGTVCVio4= +SIZE (pspg-5.5.1.tar.gz) = 2413333 Index: patches/patch-configure_ac =================================================================== RCS file: /home/cvs/ports/databases/pspg/patches/patch-configure_ac,v retrieving revision 1.2 diff -u -p -r1.2 patch-configure_ac --- patches/patch-configure_ac 3 Nov 2021 12:20:55 -0000 1.2 +++ patches/patch-configure_ac 5 Nov 2021 07:31:07 -0000 @@ -3,9 +3,6 @@ $OpenBSD: patch-configure_ac,v 1.2 2021/ AX_LIB_READLINE picks up base readline which is too old. Force it to use readline from ports. -disable kqueue since tries to monitor events not supported by our kqueue -(NOTE_CLOSE_WRITE.) - Index: configure.ac --- configure.ac.orig +++ configure.ac @@ -19,12 +16,3 @@ Index: configure.ac AX_LIB_POSTGRESQL([],[], AC_MSG_NOTICE([PostgreSQL library not found])) case "$ax_cv_ncurses" in "no") -@@ -75,8 +76,6 @@ if test "x$have_inotify" = "xyes"; then - fi - fi - -- --AC_CHECK_HEADERS([sys/event.h], have_kqueue=yes, have_kqueue=no) - - if test "x$have_kqueue" = "xyes"; then -
