diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-04 13:52:34 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-04 13:52:34 -0500 |
commit | 620baf13cd783ce894c05c0cde920b0f3ea1660e (patch) | |
tree | b06aedc6dc083e496e8aa3f223b92e9e3ebd7cd6 | |
parent | 2496d7a5c9d9252fe4916998b898463de5abe7ce (diff) | |
download | krb5-620baf13cd783ce894c05c0cde920b0f3ea1660e.tar.gz krb5-620baf13cd783ce894c05c0cde920b0f3ea1660e.tar.xz krb5-620baf13cd783ce894c05c0cde920b0f3ea1660e.zip |
- modify the deltat grammar to also tell gcc (4.7) to suppress "maybe-uninitialized" warnings in addition to the "uninitialized" warnings it's already being told to suppresskrb5-1.10-0.fc17.alpha2.2
-rw-r--r-- | krb5-1.10-gcc47.patch | 12 | ||||
-rw-r--r-- | krb5.spec | 10 |
2 files changed, 21 insertions, 1 deletions
diff --git a/krb5-1.10-gcc47.patch b/krb5-1.10-gcc47.patch new file mode 100644 index 0000000..f1fb67e --- /dev/null +++ b/krb5-1.10-gcc47.patch @@ -0,0 +1,12 @@ +This file also triggers the maybe-uninitialized warning/error. + +--- src/lib/krb5/krb/x-deltat.y ++++ src/lib/krb5/krb/x-deltat.y +@@ -44,6 +44,7 @@ + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wuninitialized" ++#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" + #endif + + #include <ctype.h> @@ -15,7 +15,7 @@ Summary: The Kerberos network authentication system Name: krb5 Version: 1.10 -Release: 0%{?dist}.alpha2.1 +Release: 0%{?dist}.alpha2.2 # Maybe we should explode from the now-available-to-everybody tarball instead? # http://web.mit.edu/kerberos/dist/krb5/1.10/krb5-1.10-alpha2-signed.tar Source0: krb5-%{version}-alpha2.tar.gz @@ -60,6 +60,7 @@ Patch86: krb5-1.9-debuginfo.patch Patch100: krb5-trunk-7046.patch Patch101: krb5-trunk-7047.patch Patch102: krb5-trunk-7048.patch +Patch103: krb5-1.10-gcc47.patch License: MIT URL: http://web.mit.edu/kerberos/www/ @@ -228,6 +229,8 @@ ln -s NOTICE LICENSE %patch100 -p1 -b .7046 %patch101 -p1 -b .7047 %patch102 -p1 -b .7048 +%patch103 -p0 -b .gcc47 +rm src/lib/krb5/krb/deltat.c gzip doc/*.ps @@ -738,6 +741,11 @@ exit 0 %{_sbindir}/uuserver %changelog +* Wed Jan 4 2012 Nalin Dahyabhai <nalin@redhat.com> 1.10-0.alpha2.2 +- modify the deltat grammar to also tell gcc (4.7) to suppress + "maybe-uninitialized" warnings in addition to the "uninitialized" warnings + it's already being told to suppress + * Tue Dec 20 2011 Nalin Dahyabhai <nalin@redhat.com> 1.10-0.alpha2.1 - update to alpha 2 - drop a couple of patches which were integrated for alpha 2 |