[packages/php-pecl-msgpack] drop tests/040*.phpt

glen glen at pld-linux.org
Tue Nov 22 21:33:26 CET 2016


commit 69958554897d70f745ab9fc6f971bac4c640935b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 22 22:31:14 2016 +0200

    drop tests/040*.phpt
    
    tries to allocate 4GiB+ memory which fails on 32bit platforms
    https://github.com/msgpack/msgpack-php/issues/110

 php-pecl-msgpack.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec
index 0799366..78668fe 100644
--- a/php-pecl-msgpack.spec
+++ b/php-pecl-msgpack.spec
@@ -41,6 +41,11 @@ JSON. But unlike JSON, it is very fast and small.
 mv %{modname}-%{version}/* .
 %patch0 -p1
 
+# https://github.com/msgpack/msgpack-php/issues/110
+%ifarch %{ix86}
+rm tests/040*.phpt
+%endif
+
 %build
 phpize
 %configure
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-msgpack.git/commitdiff/69958554897d70f745ab9fc6f971bac4c640935b



More information about the pld-cvs-commit mailing list