From aa5a787f25f567632f53decbaee305315e6d1c58 Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Thu, 7 Dec 2006 19:36:49 +0000 Subject: apache2: native and cross compile patches and BB files --- packages/apache2/apache2-2.2.3/apr-sockets-patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 packages/apache2/apache2-2.2.3/apr-sockets-patch (limited to 'packages/apache2/apache2-2.2.3/apr-sockets-patch') diff --git a/packages/apache2/apache2-2.2.3/apr-sockets-patch b/packages/apache2/apache2-2.2.3/apr-sockets-patch new file mode 100644 index 0000000000..5e974820b3 --- /dev/null +++ b/packages/apache2/apache2-2.2.3/apr-sockets-patch @@ -0,0 +1,10 @@ +--- httpd-2.2.3/srclib/apr/network_io/unix/sockets.c.orig ++++ httpd-2.2.3/srclib/apr/network_io/unix/sockets.c +@@ -231,6 +231,7 @@ + #if APR_O_NONBLOCK_INHERITED + if (apr_is_option_set(sock, APR_SO_NONBLOCK) == 1) { + apr_set_option(*new, APR_SO_NONBLOCK, 1); ++ apr_socket_opt_set(*new, APR_SO_NONBLOCK, 0); + } + #endif /* APR_O_NONBLOCK_INHERITED */ + -- cgit v1.2.3