]> git.pld-linux.org Git - packages/php.git/blame - php-dl-zlib.patch
- meta_ccld causes libtool problems and we probably don't need it
[packages/php.git] / php-dl-zlib.patch
CommitLineData
a224c566
AG
1diff -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 @@
1f4d00db
JB
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)) {
a224c566 11 zend_alter_ini_entry("zlib.output_compression", sizeof("zlib.output_compression"), "0", sizeof("0") - 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
1f4d00db 12 }
a224c566 13@@ -704,7 +704,7 @@
1f4d00db
JB
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. */
1f4d00db 21
This page took 0.038612 seconds and 4 git commands to generate.