]> git.pld-linux.org Git - packages/php.git/blob - libdb-info.patch
Update both-apxs.patch
[packages/php.git] / libdb-info.patch
1 --- php-7.0.0beta1/ext/dba/dba.c.libdb  2015-07-08 02:24:59.119020904 +0200
2 +++ php-7.0.0beta1/ext/dba/dba.c        2015-07-08 07:01:43.158767655 +0200
3 @@ -52,6 +52,10 @@
4  #include "php_qdbm.h"
5  #include "php_tcadb.h"
6  
7 +#ifdef DB4_INCLUDE_FILE
8 +#include DB4_INCLUDE_FILE
9 +#endif
10 +
11  /* {{{ arginfo */
12  ZEND_BEGIN_ARG_INFO_EX(arginfo_dba_popen, 0, 0, 2)
13         ZEND_ARG_INFO(0, path)
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.031951 seconds and 3 git commands to generate.