Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2006 10:54:01 +0100 (CET)
From:      Oliver Lehmann <oliver@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Oliver Lehmann <oliver@FreeBSD.org>
Subject:   ports/91586: fix port lang/php5
Message-ID:  <200601100954.k0A9s1VG050562@kartoffel.salatschuessel.net>
Resent-Message-ID: <200601101000.k0AA0I8T087014@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91586
>Category:       ports
>Synopsis:       fix port lang/php5
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 10 10:00:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Lehmann
>Release:        FreeBSD 6.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 31 04:18:31 CET 2005 olivleh1@kartoffel.salatschuessel.net:/usr/obj/amd64-athlon64-6.0/usr/src/sys/KARTOFFEL amd64


>Description:
	php 5.1.1 keeps segfaulting on alpha and sparc platform. when date() gets
	used. See
		http://bugs.php.net/bug.php?id=35751
	for more informations.

	The attached patch was taken from php cvs to fix that issue. See
		http://cvs.php.net/viewcvs.cgi/php-src/ext/date/php_date.c?r1=1.43.2.34&r2=1.43.2.35
	for more informations.

	Please put that patch in lang/php5/files

>How-To-Repeat:
>Fix:


--- patch-ext-date-php_date.c begins here ---
--- ext/date/php_date.c.orig	Tue Jan 10 10:49:36 2006
+++ ext/date/php_date.c	Tue Jan 10 10:50:22 2006
@@ -555,7 +555,7 @@
 {
 	char   *format;
 	int     format_len;
-	time_t  ts;
+	long    ts;
 	char   *string;
 
 	if (ZEND_NUM_ARGS() == 1) {
--- patch-ext-date-php_date.c ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601100954.k0A9s1VG050562>