Index: Makefile =================================================================== RCS file: /cvs/ports/devel/apr/Makefile,v diff -u -p -r1.51.6.1 Makefile --- Makefile 7 Nov 2024 10:36:14 -0000 1.51.6.1 +++ Makefile 4 Dec 2024 03:08:43 -0000 @@ -1,6 +1,7 @@ COMMENT= Apache Portable Runtime V= 1.7.5 +REVISION= 0 DISTNAME= apr-$V SHARED_LIBS += apr-1 7.2 # .6.2 Index: patches/patch-network_io_unix_sockets_c =================================================================== RCS file: /cvs/ports/devel/apr/patches/patch-network_io_unix_sockets_c,v diff -u -p -r1.7 patch-network_io_unix_sockets_c --- patches/patch-network_io_unix_sockets_c 7 Mar 2022 21:53:24 -0000 1.7 +++ patches/patch-network_io_unix_sockets_c 4 Dec 2024 03:08:43 -0000 @@ -10,19 +10,3 @@ Index: network_io/unix/sockets.c if (apr_is_option_set(sock, APR_SO_NONBLOCK) == 1) { apr_set_option(*new, APR_SO_NONBLOCK, 1); } -@@ -388,6 +388,15 @@ apr_status_t apr_socket_accept(apr_socket_t **new, apr - apr_status_t apr_socket_connect(apr_socket_t *sock, apr_sockaddr_t *sa) - { - int rc; -+/* -+ * OpenBSD doesn't support connect() to INADDR_ANY so convert to -+ * INADDR_LOOPBACK to emulate what is expected. -+ */ -+#ifdef __OpenBSD__ -+ if (sa->family == APR_INET) -+ if (sa->sa.sin.sin_addr.s_addr == INADDR_ANY) -+ sa->sa.sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK); -+#endif - - do { - rc = connect(sock->socketdes,