diff options
author | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2017-11-16 10:48:48 +0000 |
---|---|---|
committer | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2017-11-16 10:48:48 +0000 |
commit | 687591dd75e7bc33dfeb597493d97e5baaf89f1d (patch) | |
tree | a2ff3d816b255016827738be132f8fc8bff8f5d9 /security/php72-sodium/files/patch-config.m4 | |
parent | Update the cmake family to 3.9.6 (skip 3.9.5, the upstream (diff) |
Add PHP 7.2 RC6
Notable changes:
- mcrypt module was removed
- sodium module was added
- sybase_ct artifacts removed
Also many PECL ports will not work with this version
since some files got renamed.
Reviewed by: mat, ale, Rainer Duffner <rainer@ultra-secure.de>
Differential Revision: https://reviews.freebsd.org/D12980
Notes
Notes:
svn path=/head/; revision=454302
Diffstat (limited to 'security/php72-sodium/files/patch-config.m4')
-rw-r--r-- | security/php72-sodium/files/patch-config.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/security/php72-sodium/files/patch-config.m4 b/security/php72-sodium/files/patch-config.m4 new file mode 100644 index 000000000000..9d328698a487 --- /dev/null +++ b/security/php72-sodium/files/patch-config.m4 @@ -0,0 +1,17 @@ +--- config.m4.orig 2017-11-03 18:32:08 UTC ++++ config.m4 +@@ -50,14 +50,6 @@ if test "$PHP_SODIUM" != "no"; then + PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LIBSODIUM_DIR/$PHP_LIBDIR, SODIUM_SHARED_LIBADD) + fi + +- PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, +- [ +- AC_DEFINE(HAVE_LIBSODIUMLIB,1,[ ]) +- ],[ +- AC_MSG_ERROR([wrong libsodium lib version (< 1.0.8) or lib not found]) +- ],[ +- ]) +- + PHP_SUBST(SODIUM_SHARED_LIBADD) + + PHP_NEW_EXTENSION(sodium, libsodium.c, $ext_shared) |