1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/lang/php73/files/patch-ext_mysqli_mysqli__prop.c
Torsten Zuehlsdorff a367f0eb46 Unbreak databases/php73-mysqli when lang/php73 is build with MYSQLND=off
Currently when building lang/php73 with MYSQLND=off, its im possible to
build databases/php73-mysqli. When the option MYSQLND was added, we expected
users to not use mysqli at all after disabling this option.
This has proven to be wrong, so we patch the build to be work again.

patch-ext_mysqli_mysqli__api.c was submitted by Сергей <joker@pinnet.ru>.

Merge patches from r522478 into this commit and add two additional patches.
2020-01-09 22:03:40 +00:00

13 lines
310 B
C

--- ext/mysqli/mysqli_prop.c.orig 2020-01-09 11:40:11 UTC
+++ ext/mysqli/mysqli_prop.c
@@ -26,7 +26,9 @@
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
+#if defined(MYSQLI_USE_MYSQLND)
#include "php_mysqli_structs.h"
+#endif
#include "mysqli_priv.h"
#define CHECK_STATUS(value) \