View | Details | Raw Unified | Return to bug 120204
Collapse All | Expand All

(-)php5/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	php5
8
PORTNAME=	php5
9
PORTVERSION=	5.2.5
9
PORTVERSION=	5.2.5
10
PORTREVISION?=	1
10
PORTREVISION?=	2
11
CATEGORIES?=	lang devel www
11
CATEGORIES?=	lang devel www
12
MASTER_SITES=	${MASTER_SITE_PHP}
12
MASTER_SITES=	${MASTER_SITE_PHP}
13
MASTER_SITE_SUBDIR=	distributions
13
MASTER_SITE_SUBDIR=	distributions
(-)php5/files/patch-main_SAPI.c (-4 / +29 lines)
Lines 1-6 Link Here
1
--- main/SAPI.c.orig	Sun Jan  1 13:50:17 2006
1
--- main/SAPI.c.orig	2007-05-25 11:20:01.000000000 +0200
2
+++ main/SAPI.c	Wed May  3 09:38:09 2006
2
+++ main/SAPI.c	2008-02-01 14:36:51.000000000 +0100
3
@@ -602,7 +602,7 @@
3
@@ -18,7 +18,7 @@
4
    +----------------------------------------------------------------------+
5
 */
6
 
7
-/* $Id: SAPI.c,v 1.202.2.7.2.15 2007/05/25 09:20:01 rasmus Exp $ */
8
+/* $Id: SAPI.c,v 1.202.2.7.2.16 2007/12/03 16:04:26 dmitry Exp $ */
9
 
10
 #include <ctype.h>
11
 #include <sys/stat.h>
12
@@ -301,6 +301,7 @@
13
 
14
 	/* SG(sapi_headers).http_response_code = 200; */ 
15
 	SG(sapi_headers).http_status_line = NULL;
16
+	SG(sapi_headers).mimetype = NULL;
17
 	SG(read_post_bytes) = 0;
18
 	SG(request_info).post_data = NULL;
19
 	SG(request_info).raw_post_data = NULL;
20
@@ -340,6 +341,7 @@
21
 	SG(sapi_headers).http_response_code = 200;
22
 	*/
23
 	SG(sapi_headers).http_status_line = NULL;
24
+	SG(sapi_headers).mimetype = NULL;
25
 	SG(headers_sent) = 0;
26
 	SG(read_post_bytes) = 0;
27
 	SG(request_info).post_data = NULL;
28
@@ -604,7 +606,7 @@
4
 					ptr++;
29
 					ptr++;
5
 					len--;
30
 					len--;
6
 				}
31
 				}
Lines 9-15 Link Here
9
 				if(!strncmp(ptr, "image/", sizeof("image/")-1)) {
34
 				if(!strncmp(ptr, "image/", sizeof("image/")-1)) {
10
 					zend_alter_ini_entry("zlib.output_compression", sizeof("zlib.output_compression"), "0", sizeof("0") - 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
35
 					zend_alter_ini_entry("zlib.output_compression", sizeof("zlib.output_compression"), "0", sizeof("0") - 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
11
 				}
36
 				}
12
@@ -756,7 +756,7 @@
37
@@ -758,7 +760,7 @@
13
 		return SUCCESS;
38
 		return SUCCESS;
14
 	}
39
 	}

Return to bug 120204