Hello community, here is the log from the commit of package checkpolicy for openSUSE:Factory checked in at 2020-01-18 12:16:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/checkpolicy (Old) and /work/SRC/openSUSE:Factory/.checkpolicy.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "checkpolicy" Sat Jan 18 12:16:27 2020 rev:29 rq:764694 version:2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/checkpolicy/checkpolicy.changes 2019-03-24 14:55:02.171214518 +0100 +++ /work/SRC/openSUSE:Factory/.checkpolicy.new.26092/checkpolicy.changes 2020-01-18 12:17:36.459122065 +0100 @@ -1,0 +2,6 @@ +Wed Jan 15 14:25:45 UTC 2020 - Johannes Segitz <[email protected]> + +- Add extern_te_assert_t.patch to mark te_assert_t as extern. + Prevents build failures on gcc10 (bsc#1160259) + +------------------------------------------------------------------- New: ---- extern_te_assert_t.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ checkpolicy.spec ++++++ --- /var/tmp/diff_new_pack.FYjqNS/_old 2020-01-18 12:17:37.371122553 +0100 +++ /var/tmp/diff_new_pack.FYjqNS/_new 2020-01-18 12:17:37.387122562 +0100 @@ -1,7 +1,7 @@ # # spec file for package checkpolicy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,6 +26,7 @@ Url: https://github.com/SELinuxProject/selinux Source0: https://github.com/SELinuxProject/selinux/releases/download/20190315/%{name}-%{version}.tar.gz Source1: checkpolicy-tests.tar.gz +Patch0: extern_te_assert_t.patch BuildRequires: bison BuildRequires: flex BuildRequires: libselinux-devel @@ -67,6 +68,7 @@ %prep %setup -q +%patch0 -p1 %build make clean ++++++ extern_te_assert_t.patch ++++++ Index: checkpolicy-2.9/checkpolicy.h =================================================================== --- checkpolicy-2.9.orig/checkpolicy.h 2019-03-15 10:32:30.000000000 +0000 +++ checkpolicy-2.9/checkpolicy.h 2020-01-15 14:23:04.742118559 +0000 @@ -13,7 +13,7 @@ typedef struct te_assert { struct te_assert *next; } te_assert_t; -te_assert_t *te_assertions; +extern te_assert_t *te_assertions; extern unsigned int policyvers;
