1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/lang/php4/files/patch-main_SAPI.c
Alex Dupre f12d3a0ccb Simplify PHP base ports infrastructure:
- remove all slave ports
- add the ability to build all SAPIs concurrently
- update php5 to 5.1.4

*Read* the UPDATING file *before* trying to update PHP
(or at least before mailing me).
2006-05-06 13:26:49 +00:00

21 lines
570 B
C

--- main/SAPI.c.orig Sun Jan 1 14:46:59 2006
+++ main/SAPI.c Fri May 5 08:02:13 2006
@@ -582,7 +582,7 @@
ptr++;
len--;
}
-#if HAVE_ZLIB
+#if 1
if(!strncmp(ptr, "image/", sizeof("image/")-1)) {
zend_alter_ini_entry("zlib.output_compression", sizeof("zlib.output_compression"), "0", sizeof("0") - 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
}
@@ -729,7 +729,7 @@
return SUCCESS;
}
-#if HAVE_ZLIB
+#if 1
/* Add output compression headers at this late stage in order to make
it possible to switch it off inside the script. */