X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=libdb-info.patch;fp=libdb-info.patch;h=ee257326c60ff9ef22158128690bd364b87eab4b;hb=3030f946716702832c7058fde5822e54b314df64;hp=0000000000000000000000000000000000000000;hpb=dccfdb642699a3ed67e7237de27992afdee1f86d;p=packages%2Fphp.git diff --git a/libdb-info.patch b/libdb-info.patch new file mode 100644 index 0000000..ee25732 --- /dev/null +++ b/libdb-info.patch @@ -0,0 +1,24 @@ +--- php-7.0.0beta1/ext/dba/dba.c.libdb 2015-07-08 02:24:59.119020904 +0200 ++++ php-7.0.0beta1/ext/dba/dba.c 2015-07-08 07:01:43.158767655 +0200 +@@ -52,6 +52,10 @@ + #include "php_qdbm.h" + #include "php_tcadb.h" + ++#ifdef DB4_INCLUDE_FILE ++#include DB4_INCLUDE_FILE ++#endif ++ + /* {{{ arginfo */ + ZEND_BEGIN_ARG_INFO_EX(arginfo_dba_popen, 0, 0, 2) + ZEND_ARG_INFO(0, path) +@@ -545,6 +549,10 @@ PHP_MINFO_FUNCTION(dba) + + php_info_print_table_start(); + php_info_print_table_row(2, "DBA support", "enabled"); ++#ifdef DB_VERSION_STRING ++ php_info_print_table_row(2, "libdb header version", DB_VERSION_STRING); ++ php_info_print_table_row(2, "libdb library version", db_version(NULL, NULL, NULL)); ++#endif + if (handlers.s) { + smart_str_0(&handlers); + php_info_print_table_row(2, "Supported handlers", ZSTR_VAL(handlers.s));