File php5-per-mod-log.patch of Package php54

commit 59dfd98677886d418bda90ac5291ba8dea638dc7
Author: Cristian Rodríguez <crrodriguez@opensuse.org>
Date:   Wed Aug 8 21:12:57 2012 +0200

    Fix per-module logging in apache 2.4

--- php-5.4.17.orig/sapi/apache2handler/php_apache.h
+++ php-5.4.17/sapi/apache2handler/php_apache.h
@@ -24,7 +24,11 @@
 #include "httpd.h"
 #include "http_config.h"
 #include "http_core.h"
+#include "http_log.h"
 
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(php5);
+#endif
 /* Declare this so we can get to it from outside the sapi_apache2.c file */
 extern module AP_MODULE_DECLARE_DATA php5_module;
 
openSUSE Build Service is sponsored by