Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package uwsgi for openSUSE:Factory checked in at 2023-05-06 22:08:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/uwsgi (Old) and /work/SRC/openSUSE:Factory/.uwsgi.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uwsgi" Sat May 6 22:08:41 2023 rev:49 rq:1085068 version:2.0.21 Changes: -------- --- /work/SRC/openSUSE:Factory/uwsgi/uwsgi.changes 2023-01-08 21:25:14.523141076 +0100 +++ /work/SRC/openSUSE:Factory/.uwsgi.new.1533/uwsgi.changes 2023-05-06 22:08:46.636578312 +0200 @@ -1,0 +2,7 @@ +Fri May 5 10:49:27 UTC 2023 - [email protected] + +- added patches + fix https://github.com/unbit/uwsgi/commit/509a0fdd12870d0bf5b4c1ef7d1f7f + + uwsgi-php82-php_module_startup-signature.patch + +------------------------------------------------------------------- New: ---- uwsgi-php82-php_module_startup-signature.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ uwsgi.spec ++++++ --- /var/tmp/diff_new_pack.w6PZTn/_old 2023-05-06 22:08:47.336582209 +0200 +++ /var/tmp/diff_new_pack.w6PZTn/_new 2023-05-06 22:08:47.340582231 +0200 @@ -56,6 +56,8 @@ Patch4: uwsgi-2.0.18-postgresql-config.patch # PATCH-FIX-UPSTREAM uwsgi-ld-noexecstack.patch - Do not create executable stack Patch5: uwsgi-ld-noexecstack.patch +# https://github.com/unbit/uwsgi/commit/509a0fdd12870d0bf5b4c1ef7d1f7f +Patch6: uwsgi-php82-php_module_startup-signature.patch BuildRequires: apache-rpm-macros %if 0%{suse_version} < 1500 BuildRequires: apache2-devel @@ -446,6 +448,7 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 # Generate a config that builds all plugins except for examples and stuff we # can't satisfy the requirements for or are just broken excluded_plugins="" ++++++ uwsgi-php82-php_module_startup-signature.patch ++++++ Index: uwsgi-2.0.21/plugins/php/php_plugin.c =================================================================== --- uwsgi-2.0.21.orig/plugins/php/php_plugin.c +++ uwsgi-2.0.21/plugins/php/php_plugin.c @@ -607,7 +607,11 @@ static void activate_user_config(const c static int php_uwsgi_startup(sapi_module_struct *sapi_module) { +#if ((PHP_MAJOR_VERSION >= 8) && (PHP_MINOR_VERSION >= 2)) + if (php_module_startup(&uwsgi_sapi_module, &uwsgi_module_entry)==FAILURE) { +#else if (php_module_startup(&uwsgi_sapi_module, &uwsgi_module_entry, 1)==FAILURE) { +#endif return FAILURE; } else { return SUCCESS;
