Accepting request 506438 from security:SELinux
1 OBS-URL: https://build.opensuse.org/request/show/506438 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=28
This commit is contained in:
15
implicit-fortify-decl.patch
Normal file
15
implicit-fortify-decl.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Index: setools3-setools-3.3.8/libqpol/src/policy.c
|
||||
===================================================================
|
||||
--- setools3-setools-3.3.8.orig/libqpol/src/policy.c 2013-01-16 17:36:04.000000000 +0100
|
||||
+++ setools3-setools-3.3.8/libqpol/src/policy.c 2017-06-26 16:13:22.393132548 +0200
|
||||
@@ -26,6 +26,10 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/stat.h>
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#include "qpol_internal.h"
|
||||
#include <assert.h>
|
||||
#include <byteswap.h>
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 26 16:30:02 UTC 2017 - jsegitz@suse.com
|
||||
|
||||
- Added implicit-fortify-decl.patch to prevent warnings about implicit
|
||||
declarations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 25 15:42:18 UTC 2016 - jsegitz@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package setools
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -40,6 +40,7 @@ Patch9: %{name}-am121.patch
|
||||
Patch10: %{name}-libsepol.patch
|
||||
Patch23: add-to-header-define_cond_filename_trans.patch
|
||||
Patch24: setools-tclass.patch
|
||||
Patch25: implicit-fortify-decl.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
@@ -231,6 +232,7 @@ This package includes the following graphical tools:
|
||||
%patch10 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch25 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
|
Reference in New Issue
Block a user