]> git.pld-linux.org Git - packages/php4.git/commitdiff
- unixd_config fix
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 11 Aug 2014 11:24:10 +0000 (13:24 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 11 Aug 2014 11:24:10 +0000 (13:24 +0200)
php4-apache24.patch

index 3cf15f068bc3a0d59ada1649ce82f6e527c87f4b..1e1ae372d1faa1863258a0bb0f4c2482bed58a89 100644 (file)
@@ -111,3 +111,20 @@ diff -ur -x configure -x aclocal.m4 -x config.guess -x config.sub -x '*.orig' -x
  }
  
  /* {{{ proto string apache_get_version(void)
+--- php-4.4.9/sapi.org/apache2handler/php_functions.c  2014-08-11 13:11:51.548100920 +0200
++++ php-4.4.9/sapi/apache2handler/php_functions.c      2014-08-11 13:23:17.638383128 +0200
+@@ -373,9 +373,13 @@
+       int n, max_requests;
+       char *p;
+       server_rec *serv = ((php_struct *) SG(server_context))->r->server;
+-#if !defined(WIN32) && !defined(WINNT)
++#if !defined(WIN32) && !defined(WINNT) && !defined(NETWARE)
++#if MODULE_MAGIC_NUMBER_MAJOR >= 20081201
++      AP_DECLARE_DATA extern unixd_config_rec ap_unixd_config;
++#else
+       AP_DECLARE_DATA extern unixd_config_rec unixd_config;
+ #endif
++#endif
+       
+       for (n = 0; ap_loaded_modules[n]; ++n) {
+               char *s = (char *) ap_loaded_modules[n]->name;
This page took 0.07393 seconds and 4 git commands to generate.