]> git.pld-linux.org Git - packages/php.git/blob - php-dl-zlib.patch
BR libtool-1.4.2-9 -> 1.4.3
[packages/php.git] / php-dl-zlib.patch
1 diff -burN php-4.3.2/main/SAPI.c php-4.3.2-dl_zlib/main/SAPI.c
2 --- php-4.3.2/main/SAPI.c       Wed Feb 12 00:30:13 2003
3 +++ php-4.3.2-dl_zlib/main/SAPI.c       Wed Jun 11 09:41:47 2003
4 @@ -556,7 +556,7 @@
5                                 while (*ptr == ' ' && *ptr != '\0') {
6                                         ptr++;
7                                 }
8 -#if HAVE_ZLIB
9 +#if HAVE_ZLIB && !defined(COMPILE_DL_ZLIB)
10                                 if(!strncmp(ptr, "image/", sizeof("image/")-1)) {
11                                         zend_alter_ini_entry("zlib.output_compression", sizeof("zlib.output_compression"), "0", sizeof("0") - 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
12                                 }
13 @@ -704,7 +704,7 @@
14                 return SUCCESS;
15         }
16  
17 -#if HAVE_ZLIB
18 +#if HAVE_ZLIB && !defined(COMPILE_DL_ZLIB)
19         /* Add output compression headers at this late stage in order to make
20            it possible to switch it off inside the script. */
21  
This page took 0.022722 seconds and 3 git commands to generate.