- Add -Wformat to emperor_pg CFLAGS since pg-config --cflags returns

-Wformat-security and gcc complains about it's exclusion

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=14
This commit is contained in:
2013-07-16 20:42:44 +00:00
committed by Git OBS Bridge
parent eb3bc3b3a5
commit f5d0e3e896
3 changed files with 21 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ Patch1: uwsgi-1.9.11-no-LD_RUN_PATH.patch
Patch2: uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch
# PATCH-FIX-OPENSUSE uwsgi-1.9.11-systemd_logger-old_systemd.patch - Older systemd in 12.2 does not implicity include syslog.h
Patch3: uwsgi-1.9.11-systemd_logger-old_systemd.patch
# PATCH-FIX-OPENSUSE uwsgi-1.9.13-emperor_pg-Wformat.patch - gcc complains about lack of -Wformat with -Wformat-security from pg_config
Patch4: uwsgi-1.9.13-emperor_pg-Wformat.patch
%if 0%{?suse_version} > 1210
BuildRequires: erlang
%endif
@@ -387,6 +389,7 @@ This package contains support for rendering XML content using XSLT.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -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=""