summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2014-05-09 14:57:01 +0200
committerJan Pazdziora <jpazdziora@redhat.com>2014-05-13 09:29:43 +0200
commitb36a2b60989baafd3945e443a57d92b86f480b9a (patch)
tree8618d824ded0fc60e44f52c08e4a368aa99ef7b1
parentc0bb57b67ae9cf804d242151d0f51ad8cb894f71 (diff)
downloadmod_authnz_pam-b36a2b60989baafd3945e443a57d92b86f480b9a.tar.gz
mod_authnz_pam-b36a2b60989baafd3945e443a57d92b86f480b9a.tar.xz
mod_authnz_pam-b36a2b60989baafd3945e443a57d92b86f480b9a.zip
Compile to C99.mod_authnz_pam-0.9.2
Addressing warning: ISO C90 forbids specifying subobject to initialize warning: ISO C90 forbids mixed declarations and code warning: initializer element is not computable at load time
-rw-r--r--mod_authnz_pam.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod_authnz_pam.spec b/mod_authnz_pam.spec
index 8b3a317..a508d1a 100644
--- a/mod_authnz_pam.spec
+++ b/mod_authnz_pam.spec
@@ -7,7 +7,7 @@
Summary: PAM authorization checker and PAM Basic Authentication provider
Name: mod_authnz_pam
-Version: 0.9.1
+Version: 0.9.2
Release: 1%{?dist}
License: ASL 2.0
Group: System Environment/Daemons
@@ -35,7 +35,7 @@ can also be used as full Basic Authentication provider which runs the
%setup -q -n %{name}-%{version}
%build
-%{_httpd_apxs} -c -Wc,"%{optflags} -Wall -pedantic" -lpam mod_authnz_pam.c
+%{_httpd_apxs} -c -Wc,"%{optflags} -Wall -pedantic -std=c99" -lpam mod_authnz_pam.c
%install
rm -rf $RPM_BUILD_ROOT
@@ -59,6 +59,9 @@ install -Dp -m 0644 authnz_pam.conf $RPM_BUILD_ROOT%{_httpd_confdir}/authnz_pam.
%{_httpd_moddir}/*.so
%changelog
+* Tue May 13 2014 Jan Pazdziora <jpazdziora@redhat.com> - 0.9.2-1
+- Silence compile warnings by specifying C99.
+
* Tue Apr 15 2014 Jan Pazdziora <jpazdziora@redhat.com> - 0.9.1-1
- Fix error message when pam_authenticate step is skipped.