From c711ee8af9f094852c6d1917a0b111a276e7b320 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 24 Mar 2012 08:24:02 +0100 Subject: httpd: import from rawhide (version 2.4.1) --- httpd-2.4.1-apr14.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 httpd-2.4.1-apr14.patch (limited to 'httpd-2.4.1-apr14.patch') diff --git a/httpd-2.4.1-apr14.patch b/httpd-2.4.1-apr14.patch new file mode 100644 index 0000000..4f685f3 --- /dev/null +++ b/httpd-2.4.1-apr14.patch @@ -0,0 +1,22 @@ +--- httpd-2.4.1/support/rotatelogs.c.apr14 ++++ httpd-2.4.1/support/rotatelogs.c +@@ -52,6 +52,7 @@ + #if APR_FILES_AS_SOCKETS + #include "apr_poll.h" + #endif ++#include "apr_version.h" + + #if APR_HAVE_STDLIB_H + #include +@@ -295,7 +296,11 @@ static void post_rotate(apr_pool_t *pool + if (config->verbose) { + fprintf(stderr,"Linking %s to %s\n", newlog->name, config->linkfile); + } ++#if APR_VERSION_AT_LEAST(1,4,0) + rv = apr_file_link(newlog->name, config->linkfile); ++#else ++ rv = APR_ENOTIMPL; ++#endif + if (rv != APR_SUCCESS) { + char error[120]; + apr_strerror(rv, error, sizeof error); -- cgit