Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2014-05-27 18:30:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "setools" Changes: -------- --- /work/SRC/openSUSE:Factory/setools/setools.changes 2013-10-14 22:05:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2014-05-27 18:30:23.000000000 +0200 @@ -1,0 +2,6 @@ +Mon May 26 20:47:23 CEST 2014 - ro@suse.de + +- add patch: setools-3.3.7-libselinux-2.3.patch + fix build with libselinux-2.3 + +------------------------------------------------------------------- New: ---- setools-3.3.7-libselinux-2.3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ setools.spec ++++++ --- /var/tmp/diff_new_pack.yTv8YS/_old 2014-05-27 18:30:24.000000000 +0200 +++ /var/tmp/diff_new_pack.yTv8YS/_new 2014-05-27 18:30:24.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,6 +43,7 @@ Patch15: 0006-Changes-to-support-named-file_trans-rules.patch Patch16: 0007-Remove-unused-variables.patch Patch23: add-to-header-define_cond_filename_trans.patch +Patch24: setools-3.3.7-libselinux-2.3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -237,6 +238,7 @@ %patch15 -p1 %patch16 -p1 %patch23 -p1 +%patch24 -p1 %build autoreconf -fi ++++++ setools-3.3.7-libselinux-2.3.patch ++++++ --- a/secmds/replcon.cc +++ b/secmds/replcon.cc @@ -60,7 +60,7 @@ {NULL, 0, NULL, 0} }; -extern int lsetfilecon_raw(const char *, security_context_t) __attribute__ ((weak)); +extern int lsetfilecon_raw(const char *, const char *) __attribute__ ((weak)); /** * As that setools must work with older libselinux versions that may @@ -68,7 +68,7 @@ * does indeed have the new functions then use them; otherwise * fallback to the originals. */ -static int replcon_lsetfilecon(const char *path, security_context_t context) +static int replcon_lsetfilecon(const char *path, const char *context) { if (lsetfilecon_raw != NULL) { -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org