From 160523560c0cfd1cfc03210efb5a413faad01d1a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Sep 2019 15:43:05 +0200 Subject: v4.1.3 --- pdflib-phpinfo.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pdflib-phpinfo.patch (limited to 'pdflib-phpinfo.patch') diff --git a/pdflib-phpinfo.patch b/pdflib-phpinfo.patch new file mode 100644 index 0000000..a343da2 --- /dev/null +++ b/pdflib-phpinfo.patch @@ -0,0 +1,18 @@ +diff -up ./pdf.c.old ./pdf.c +--- ./pdf.c.old 2019-09-16 14:50:34.349661071 +0200 ++++ ./pdf.c 2019-09-16 14:49:35.122885536 +0200 +@@ -383,12 +383,8 @@ PHP_MINFO_FUNCTION(PDFlib) + { + php_info_print_table_start(); + php_info_print_table_header(2, "PDFlib Support", "enabled" ); +-#ifdef PDF_FEATURE_INTERNAL +- php_info_print_table_row(2, "PHP extension built by PDFlib GmbH", PDFLIB_VSTRING); +-#else /* PDF_FEATURE_INTERNAL */ +- php_info_print_table_row(2, "PHP extension built with PECL", PDFLIB_VSTRING); +- php_info_print_table_row(2, "PECL Version", PHP_PDFLIB_VERSION); +-#endif /* PDF_FEATURE_INTERNAL */ ++ php_info_print_table_row(2, "pdflib extension version", PHP_PDFLIB_VERSION); ++ php_info_print_table_row(2, "pdflib-lite library version", PDFLIB_VSTRING); + php_info_print_table_end(); + } + /* }}} */ -- cgit