]> git.pld-linux.org Git - packages/php-pecl-libsodium.git/blobdiff - php-pecl-libsodium.spec
add patch to pass tests on php5.3
[packages/php-pecl-libsodium.git] / php-pecl-libsodium.spec
index 596b878ebe16ee39ef5a46085a79730021139f03..3a93e30f60ff0b969c92d69fa9021dbc1c67d1d8 100644 (file)
@@ -17,6 +17,7 @@ Source0:      http://pecl.php.net/get/%{modname}-%{version}.tgz
 URL:           http://pecl.php.net/package/libsodium
 # See https://github.com/jedisct1/libsodium-php/pull/70
 Patch0:                %{modname}-pr70.patch
+Patch1:                tests-php53.patch
 BuildRequires: %{php_name}-devel >= 4:5.3
 BuildRequires: libsodium-devel >= 0.6.0
 BuildRequires: pkgconfig
@@ -40,6 +41,7 @@ Documentation: https://paragonie.com/book/pecl-libsodium
 mv %{modname}-%{version}/* .
 
 %patch0 -p1
+%patch1 -p1
 
 # Sanity check, really often broken
 extver=$(sed -n '/#define PHP_LIBSODIUM_VERSION/{s/.* "//;s/".*$//;p}' php_libsodium.h)
This page took 0.061625 seconds and 4 git commands to generate.