forked from pool/post-build-checks
- check gcc warnings: wording for non-void return has changed
OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=18
This commit is contained in:
parent
226abf1b68
commit
b71c6c3740
10
post-build-checks-nonvoid_new.patch
Normal file
10
post-build-checks-nonvoid_new.patch
Normal file
@ -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",
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user