ports/91586: fix port lang/php5
Oliver Lehmann
oliver at FreeBSD.org
Tue Jan 10 10:00:21 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list