summaryrefslogtreecommitdiffstats
path: root/3.patch
diff options
context:
space:
mode:
Diffstat (limited to '3.patch')
-rw-r--r--3.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/3.patch b/3.patch
new file mode 100644
index 0000000..f5726a8
--- /dev/null
+++ b/3.patch
@@ -0,0 +1,22 @@
+From 05b5abd244759ad8cd18d0a7d0b17109ace3800f Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 27 Oct 2022 16:10:20 +0200
+Subject: [PATCH] add extension and library version
+
+---
+ rnp.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/rnp.c b/rnp.c
+index 5b58a0b..3c89a7a 100644
+--- a/rnp.c
++++ b/rnp.c
+@@ -2190,6 +2190,8 @@ PHP_MINFO_FUNCTION(rnp)
+ {
+ php_info_print_table_start();
+ php_info_print_table_header(2, "rnp support", "enabled");
++ php_info_print_table_row(2, "rnp extension version", PHP_RNP_VERSION);
++ php_info_print_table_row(2, "rnp library version", rnp_version_string());
+ php_info_print_table_end();
+ }
+ /* }}} */