mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
a367f0eb46
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.
13 lines
310 B
C
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) \
|