diff --git a/post-build-checks-nonvoid_new.patch b/post-build-checks-nonvoid_new.patch new file mode 100644 index 0000000..3c7e376 --- /dev/null +++ b/post-build-checks-nonvoid_new.patch @@ -0,0 +1,10 @@ +--- checks-data/check_gcc_output ++++ checks-data/check_gcc_output +@@ -22,6 +22,7 @@ + 'warning:.*ignoring return value of (?:.*alloc.*|set.*uid), declared with' => "unchecked-return-value", + 'warning:.*type-punned.*strict-aliasing' => "strict-aliasing-punning", + 'warning:.*control reaches end of non-void function' => "no-return-in-nonvoid-function", ++ 'warning:.*no return statement in function returning non-void' => "no-return-in-nonvoid-function", + 'warning:.*format not a string literal and no format arguments' => "format-security", + 'warning:.*missing sentinel in function call' => "missing-sentinel", + 'warning:.*call to .* will always overflow destination buffer' => "bufferoverflow", diff --git a/post-build-checks.changes b/post-build-checks.changes index eb00496..05a8241 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 23 12:21:52 CET 2010 - ro@suse.de + +- check gcc warnings: wording for non-void return has changed + ------------------------------------------------------------------- Fri Feb 19 12:00:32 CET 2010 - mls@suse.de diff --git a/post-build-checks.spec b/post-build-checks.spec index b4bc1e7..5118c5c 100644 --- a/post-build-checks.spec +++ b/post-build-checks.spec @@ -30,6 +30,7 @@ Source0: %{name}-%{version}.tar.bz2 Source1: suse-buildsystem.sh Patch0: %{name}-umount.patch Patch1: %{name}-parrot.patch +Patch2: post-build-checks-nonvoid_new.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -48,6 +49,7 @@ it may not be a good idea to install this to a running system: %setup -q %patch0 -p1 %patch1 +%patch2 %build # nothing to do