summaryrefslogtreecommitdiff
path: root/databases/php82-mysqli/files
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-06-11 15:59:05 -0500
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-06-11 16:02:49 -0500
commit665b149d2692ff6926a092568304091995e07d39 (patch)
tree43733e6164a8fac2635af7542a26e80c2524c28c /databases/php82-mysqli/files
parentnet-mgmt/check_ssl_cert: update to 2.31.0 (diff)
*/*php82*: Welcome php 8.2.0 Alpha 1
Please DO NOT use this version in production, it is an early test version. port-committers@ please DO NOT mark your ports IGNORE_WITH_PHP=82. A build is running to check all php ports with php82 and will be committed in batch tomorrow. Sponsored by: Bounce Experts
Diffstat (limited to 'databases/php82-mysqli/files')
-rw-r--r--databases/php82-mysqli/files/patch-mysqli__api.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/php82-mysqli/files/patch-mysqli__api.c b/databases/php82-mysqli/files/patch-mysqli__api.c
new file mode 100644
index 000000000000..a100e8205fb6
--- /dev/null
+++ b/databases/php82-mysqli/files/patch-mysqli__api.c
@@ -0,0 +1,12 @@
+--- mysqli_api.c.orig 2020-09-29 22:36:51 UTC
++++ mysqli_api.c
+@@ -29,7 +29,9 @@
+ #include "zend_smart_str.h"
+ #include "php_mysqli_structs.h"
+ #include "mysqli_priv.h"
++#if defined(MYSQLI_USE_MYSQLND)
+ #include "ext/mysqlnd/mysql_float_to_double.h"
++#endif
+
+ #define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num))
+