From 21df0b3eaf7f5f16c0ea04890c42976e21a0e6af Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 3 Dec 2012 10:59:21 +0100 Subject: PHP 5.5 cleanups Requires and Provides --- php-wip.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 php-wip.patch (limited to 'php-wip.patch') diff --git a/php-wip.patch b/php-wip.patch new file mode 100644 index 0000000..8c0d2f7 --- /dev/null +++ b/php-wip.patch @@ -0,0 +1,11 @@ +--- ext/date/php_date.c.orig 2012-12-01 09:54:45.834231459 +0100 ++++ ext/date/php_date.c 2012-12-01 09:54:51.594252063 +0100 +@@ -1027,7 +1027,7 @@ + case 'H': length = slprintf(buffer, 32, "%02d", (int) t->h); break; + case 'i': length = slprintf(buffer, 32, "%02d", (int) t->i); break; + case 's': length = slprintf(buffer, 32, "%02d", (int) t->s); break; +- case 'u': length = slprintf(buffer, 32, "%06d", (int) floor(t->f * 1000000)); break; ++ case 'u': length = slprintf(buffer, 32, "%06d", (int) floor(t->f * 1000000 + 0.5)); break; + + /* timezone */ + case 'I': length = slprintf(buffer, 32, "%d", localtime ? offset->is_dst : 0); break; -- cgit