Accepting request 892004 from home:coolo:branches:openSUSE:Factory

- add fix-i586.patch to fix compilation on i586, where the test
  case tests the wrong IntRange

OBS-URL: https://build.opensuse.org/request/show/892004
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=77
This commit is contained in:
Martin Pluskal
2021-05-10 10:52:49 +00:00
committed by Git OBS Bridge
parent 870eab9200
commit a89fcb6bcc
3 changed files with 30 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ Summary: A tool for static C/C++ code analysis
License: GPL-3.0-or-later
URL: https://github.com/danmar/cppcheck
Source: https://github.com/danmar/cppcheck/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: fix-i586.patch
BuildRequires: cmake
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gcc-c++
@@ -70,7 +71,7 @@ This is the gui for Cppcheck, a program to detect bugs that your C/C++ compiler
doesn't see.
%prep
%autosetup
%autosetup -p1
%build
%cmake \