]> git.pld-linux.org Git - packages/ossp-uuid.git/commitdiff
PHP3 compatibility headers were dropped in PHP 5.4 auto/th/ossp-uuid-1.6.2-16
authorElan Ruusamäe <glen@delfi.ee>
Thu, 1 May 2014 18:13:31 +0000 (21:13 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 1 May 2014 18:13:31 +0000 (21:13 +0300)
ossp-uuid.spec
php3.patch [new file with mode: 0644]

index 4e126d10fa9a38f5d3669b08be6ef3acfbed3c50..092ed95ae0fa3e5daaf69f28c784d48b0eaa90f4 100644 (file)
@@ -9,12 +9,13 @@ Summary:      Universally Unique Identifier library
 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
@@ -193,6 +194,7 @@ Moduł OSSP uuid dla PostgreSQL-a.
 %prep
 %setup -q -n uuid-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 # Build the library.
diff --git a/php3.patch b/php3.patch
new file mode 100644 (file)
index 0000000..230fd8f
--- /dev/null
@@ -0,0 +1,12 @@
+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)
This page took 0.134882 seconds and 4 git commands to generate.