- Fix duplicate uperl in psgi plugin with wth gcc 10

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=91
This commit is contained in:
2020-06-08 18:14:08 +00:00
committed by Git OBS Bridge
parent 45e8fb8ffa
commit 9e6d870f86
3 changed files with 46 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ Patch2: uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch
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 @@ This package contains support for PHP version 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=""