Hello community, here is the log from the commit of package uwsgi for openSUSE:Factory checked in at 2020-08-19 18:53:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/uwsgi (Old) and /work/SRC/openSUSE:Factory/.uwsgi.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uwsgi" Wed Aug 19 18:53:51 2020 rev:37 rq:827643 version:2.0.18 Changes: -------- --- /work/SRC/openSUSE:Factory/uwsgi/uwsgi.changes 2020-05-26 17:21:30.408256837 +0200 +++ /work/SRC/openSUSE:Factory/.uwsgi.new.3399/uwsgi.changes 2020-08-19 18:56:14.487828612 +0200 @@ -1,0 +2,5 @@ +Mon Jun 8 18:09:43 UTC 2020 - James Oakley <jf...@funktronics.ca> + +- Fix duplicate uperl in psgi plugin with wth gcc 10 (uwsgi-2.0.18-psgi-fix-duplicate-uperl.patch) + +------------------------------------------------------------------- New: ---- uwsgi-2.0.18-psgi-fix-duplicate-uperl.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ uwsgi.spec ++++++ --- /var/tmp/diff_new_pack.SaitDk/_old 2020-08-19 18:56:17.103830003 +0200 +++ /var/tmp/diff_new_pack.SaitDk/_new 2020-08-19 18:56:17.103830003 +0200 @@ -42,6 +42,8 @@ Patch3: uwsgi-1.9.11-systemd_logger-old_systemd.patch # PATCH-FIX-OPENSUSE uwsgi-2.0.18-postgresql-config.patch - Use pkg-config instead of pg_config Patch4: uwsgi-2.0.18-postgresql-config.patch +# PATCH-FIX-OPENSUSE uwsgi-2.0.18-psgi-fix-duplicate-uperl.patch - Fix duplicate uperl with gcc 10 +Patch5: uwsgi-2.0.18-psgi-fix-duplicate-uperl.patch %define apache_branch %(rpm -q --qf %%{version} apache2 | grep -E -o "2\\.[0-9]+") %if "%{apache_branch}" == "2.4" %define apxs %{_bindir}/apxs2 @@ -435,6 +437,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -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-2.0.18-psgi-fix-duplicate-uperl.patch ++++++ diff --git a/plugins/psgi/psgi.h b/plugins/psgi/psgi.h index 92e6b588..064041a2 100644 --- a/plugins/psgi/psgi.h +++ b/plugins/psgi/psgi.h @@ -87,3 +87,5 @@ void uwsgi_perl_exec(char *); void uwsgi_perl_check_auto_reload(void); void uwsgi_psgi_preinit_apps(void); + +extern struct uwsgi_perl uperl; diff --git a/plugins/psgi/psgi_loader.c b/plugins/psgi/psgi_loader.c index 1e61f0e9..a9211185 100644 --- a/plugins/psgi/psgi_loader.c +++ b/plugins/psgi/psgi_loader.c @@ -1,7 +1,6 @@ #include "psgi.h" extern struct uwsgi_server uwsgi; -struct uwsgi_perl uperl; extern struct uwsgi_plugin psgi_plugin; diff --git a/plugins/psgi/psgi_plugin.c b/plugins/psgi/psgi_plugin.c index e1177be2..8ca0a2ed 100644 --- a/plugins/psgi/psgi_plugin.c +++ b/plugins/psgi/psgi_plugin.c @@ -3,11 +3,7 @@ extern char **environ; extern struct uwsgi_server uwsgi; -#ifdef __APPLE__ -extern struct uwsgi_perl uperl; -#else struct uwsgi_perl uperl; -#endif struct uwsgi_plugin psgi_plugin;