From 4aad3afb361ca23d7411d85972f56d91047e932e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 7 Nov 2012 07:38:58 +0100 Subject: php-horde-Horde-Exception: 2.0.1 --- php-horde-Horde-Support-uuid.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-horde-Horde-Support-uuid.patch b/php-horde-Horde-Support-uuid.patch index 0cfc163..09974d7 100644 --- a/php-horde-Horde-Support-uuid.patch +++ b/php-horde-Horde-Support-uuid.patch @@ -11,7 +11,7 @@ diff -up Horde_Support-2.0.0/lib/Horde/Support/Uuid.php.old Horde_Support-2.0.0/ - } else { + if (function_exists("uuid_export")) { + // UUID extension from http://www.ossp.org/pkg/lib/uuid/ -+ if (!uuid_create($ctx) && !uuid_make($ctx, UUID_MAKE_V4) && !uuid_export($ctx, UUID_FMT_STR, $str)) { ++ if (uuid_create($ctx)==UUID_RC_OK && uuid_make($ctx, UUID_MAKE_V4)==UUID_RC_OK && uuid_export($ctx, UUID_FMT_STR, $str)==UUID_RC_OK) { + $this->_uuid = $str; + uuid_destroy($ctx); + } -- cgit