]> git.pld-linux.org Git - packages/php.git/blob - libdb-info.patch
- up to 8.0.7; soname to reflect that this is php 8
[packages/php.git] / libdb-info.patch
1 --- php-8.0.0rc1/ext/dba/dba.c~ 2020-10-09 19:00:25.000000000 +0300
2 +++ php-8.0.0rc1/ext/dba/dba.c  2020-10-09 19:01:14.638869747 +0300
3 @@ -50,6 +50,10 @@
4  #include "php_lmdb.h"
5  #include "dba_arginfo.h"
6  
7 +#ifdef DB4_INCLUDE_FILE
8 +#include DB4_INCLUDE_FILE
9 +#endif
10 +
11  PHP_MINIT_FUNCTION(dba);
12  PHP_MSHUTDOWN_FUNCTION(dba);
13  PHP_MINFO_FUNCTION(dba);
14 @@ -545,6 +549,10 @@ PHP_MINFO_FUNCTION(dba)
15  
16         php_info_print_table_start();
17         php_info_print_table_row(2, "DBA support", "enabled");
18 +#ifdef DB_VERSION_STRING
19 +       php_info_print_table_row(2, "libdb header version", DB_VERSION_STRING);
20 +       php_info_print_table_row(2, "libdb library version", db_version(NULL, NULL, NULL));
21 +#endif
22         if (handlers.s) {
23                 smart_str_0(&handlers);
24                 php_info_print_table_row(2, "Supported handlers", ZSTR_VAL(handlers.s));
This page took 0.0735980000000001 seconds and 3 git commands to generate.