Accepting request 287520 from home:rguenther:branches:security:apparmor

- add apparmor-fix-stl-ostream.diff which fixes odd uses of
  std::ostream which are not valid.  Fixes build with GCC 5

OBS-URL: https://build.opensuse.org/request/show/287520
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=125
This commit is contained in:
2015-02-26 19:33:32 +00:00
committed by Git OBS Bridge
parent 2e99500a06
commit 218655ab95
3 changed files with 45 additions and 0 deletions

View File

@@ -98,6 +98,9 @@ Patch7: apparmor-lessopen-profile.patch
# upstream changes since the 2.9.1 release - bzr diff -r2832..2839 (2.9 branch)
Patch8: apparmor-changes-since-2.9.1.diff
# fix build with GCC 5 due to bad ostream use
Patch9: apparmor-fix-stl-ostream.diff
Url: https://launchpad.net/apparmor
PreReq: sed
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -439,6 +442,7 @@ SubDomain.
%patch6
%patch7 -p1
%patch8
%patch9
# search for left-over multiline rules
test -z "$(grep -r '^\s*\(unix\|dbus\)[^,]\(([^)]*)\)*[^,]*$' profiles/apparmor.d/)"