diff options
author | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2018-10-08 08:52:51 +0000 |
---|---|---|
committer | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2018-10-08 08:52:51 +0000 |
commit | 3a5533b48d284380e9a3a97b953e1a555242caf2 (patch) | |
tree | adfd6b20496941d7ab22cbbb81aacdf0db2ffbe3 /databases/php73-mysqli/files/patch-mysqli.c | |
parent | Update to 0.19.0 release. (diff) |
Add PHP 7.3 RC2 to the ports-tree.
Notable changes:
- Switch from PCRE to PCRE2
- Many modules now require PCRE2 for building
- graphics/php73-gd: X11 option is no longer default
Changes to Mk/Uses/php.mk approved by ale
Notes
Notes:
svn path=/head/; revision=481525
Diffstat (limited to 'databases/php73-mysqli/files/patch-mysqli.c')
-rw-r--r-- | databases/php73-mysqli/files/patch-mysqli.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/php73-mysqli/files/patch-mysqli.c b/databases/php73-mysqli/files/patch-mysqli.c new file mode 100644 index 000000000000..3d74731142b6 --- /dev/null +++ b/databases/php73-mysqli/files/patch-mysqli.c @@ -0,0 +1,11 @@ +--- mysqli.c.orig 2016-12-06 18:05:01 UTC ++++ mysqli.c +@@ -703,7 +703,7 @@ PHP_MINIT_FUNCTION(mysqli) + #ifdef MYSQLND_STRING_TO_INT_CONVERSION + REGISTER_LONG_CONSTANT("MYSQLI_OPT_INT_AND_FLOAT_NATIVE", MYSQLND_OPT_INT_AND_FLOAT_NATIVE, CONST_CS | CONST_PERSISTENT); + #endif +-#if MYSQL_VERSION_ID > 50110 || defined(MYSQLI_USE_MYSQLND) ++#if (MYSQL_VERSION_ID < 80000 && MYSQL_VERSION_ID > 50110) || defined(MYSQLI_USE_MYSQLND) + REGISTER_LONG_CONSTANT("MYSQLI_OPT_SSL_VERIFY_SERVER_CERT", MYSQL_OPT_SSL_VERIFY_SERVER_CERT, CONST_CS | CONST_PERSISTENT); + #endif + |