diff options
author | Remi Collet <remi@remirepo.net> | 2024-08-20 12:55:48 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-08-20 12:55:48 +0200 |
commit | 1d73af62666d73ff374d525286d83c5f05032063 (patch) | |
tree | 0eb39a4e74d17e3b832760322feea6c734c0cae4 /64.patch |
initial package
open https://github.com/swoole/phpy/pull/61 use cxx linker
open https://github.com/swoole/phpy/pull/62 add LICENSE
open https://github.com/swoole/phpy/issues/63 broken with python 3.6
open https://github.com/swoole/phpy/pull/64 report python version
Diffstat (limited to '64.patch')
-rw-r--r-- | 64.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/64.patch b/64.patch new file mode 100644 index 0000000..f342d23 --- /dev/null +++ b/64.patch @@ -0,0 +1,31 @@ +From b3159e9d7d6ed9104246f183a3bad07e6cdfe187 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 20 Aug 2024 11:15:45 +0200 +Subject: [PATCH] report extension and python version + +--- + phpy.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/phpy.cc b/phpy.cc +index 0690a0a..20f42b8 100644 +--- a/phpy.cc ++++ b/phpy.cc +@@ -7,6 +7,7 @@ + #include "php.h" + #include "ext/standard/info.h" + #include "php_phpy.h" ++#include <patchlevel.h> + + /* {{{ PHP_RINIT_FUNCTION */ + PHP_RINIT_FUNCTION(phpy) +@@ -31,7 +32,8 @@ PHP_MINFO_FUNCTION(phpy) + php_info_print_table_row(2, "Copyright", "上海识沃网络科技有限公司"); + php_info_print_table_row(2, "Email", "service@swoole.com"); + php_info_print_table_row(2, "Website", "https://www.swoole.com/"); +- php_info_print_table_row(2, "Version", PHP_PHPY_VERSION); ++ php_info_print_table_row(2, "Extension Version", PHP_PHPY_VERSION); ++ php_info_print_table_row(2, "Python Version", PY_VERSION); + php_info_print_table_end(); + } + /* }}} */ |