diff options
author | Remi Collet <remi@remirepo.net> | 2023-04-05 08:27:30 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-04-05 08:27:30 +0200 |
commit | dfd730dd45078c4305cd6fff8ed5ebba3c700665 (patch) | |
tree | 3399ecea6f14d2f4094aa2b5192d877cc6acfb8d /4.patch | |
parent | 3e384da098d723fea36809c28abe68e4712a5c51 (diff) |
update to 0.2.0
drop patches merged upstream
Diffstat (limited to '4.patch')
-rw-r--r-- | 4.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/4.patch b/4.patch deleted file mode 100644 index 1e22a0a..0000000 --- a/4.patch +++ /dev/null @@ -1,31 +0,0 @@ -From f907913b8cc9c06e7703fdc5093464510a9c9793 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Fri, 28 Oct 2022 09:18:27 +0200 -Subject: [PATCH] add backend name/version in info - ---- - rnp.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/rnp.c b/rnp.c -index 3c89a7a..d326f4c 100644 ---- a/rnp.c -+++ b/rnp.c -@@ -2188,11 +2188,17 @@ PHP_RINIT_FUNCTION(rnp) - /* {{{ PHP_MINFO_FUNCTION */ - PHP_MINFO_FUNCTION(rnp) - { -+ char *backend = NULL; -+ - 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()); -+ spprintf(&backend, 0, "%s version %s", rnp_backend_string(), rnp_backend_version()); -+ php_info_print_table_row(2, "rnp backend", backend); -+ efree(backend); - php_info_print_table_end(); -+ - } - /* }}} */ - |