[dev] horde_lz4 with system liblz4
Remi Collet
remi at fedoraproject.org
Mon Sep 15 15:33:28 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I plan to submit horde_lz4 to official Fedora repository.
But Fedora Guidelines don't allow to use bundle library[1]
Can you please consider the attached patch which allow to
1/ build with system liblz4 (add --with-liblz4)
=> should be noop for standard build
2/ fix build with recent liblz4 r222
=> LZ4_uncompress is deprecated and have be removed
With this patch applied and with liblz4 r222:
$ php -d extension=modules/horde_lz4.so /usr/bin/phpunit test
PHPUnit 4.2.6 by Sebastian Bergmann.
............
Time: 15 ms, Memory: 2.75Mb
OK (12 tests, 14 assertions)
Regards,
Remi
[1] https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlQXBsgACgkQYUppBSnxahgEjACdGdZPa/LgjQXRsV99wiRrxF3+
oV8An2Tp5QD/mQDf27oYyv5vI0upAo9f
=r1jB
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: horde-lz4-systemlib.patch
Type: text/x-patch
Size: 1876 bytes
Desc: not available
URL: <http://lists.horde.org/archives/dev/attachments/20140915/ba907f97/attachment.bin>
More information about the dev
mailing list