Summary(pl.UTF-8): Biblioteka unikalnych identyfikatorów UUID
Name: ossp-uuid
Version: 1.6.2
-Release: 15
+Release: 16
License: MIT
Group: Libraries
Source0: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
# Source0-md5: 5db0d43a9022a6ebbbc25337ae28942f
Patch0: uuid-ossp-prefix.patch
+Patch1: php3.patch
URL: http://www.ossp.org/pkg/lib/uuid/
%{?with_php:BuildRequires: /usr/bin/php}
BuildRequires: libstdc++-devel
%prep
%setup -q -n uuid-%{version}
%patch0 -p1
+%patch1 -p1
%build
# Build the library.
--- /dev/null
+PHP3 compatibility headers were dropped in PHP 5.4
+--- uuid-1.6.2/php/uuid.c~ 2007-01-01 20:35:57.000000000 +0200
++++ uuid-1.6.2/php/uuid.c 2014-05-01 21:12:08.750512116 +0300
+@@ -496,7 +496,7 @@
+ }
+
+ /* module function table */
+-static function_entry uuid_functions[] = {
++static zend_function_entry uuid_functions[] = {
+ PHP_FE(uuid_create, NULL)
+ PHP_FE(uuid_destroy, NULL)
+ PHP_FE(uuid_clone, NULL)