diff --git a/polkit.changes b/polkit.changes index 2092c8b..e355e50 100644 --- a/polkit.changes +++ b/polkit.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 12 12:53:13 UTC 2024 - Martin Jambor + +- Add -Wno-error=implicit-function-declaration to %optflags to + work-around an issue in mocklibc (which has been meanwhile removed + by upstream) with exactly this kind of issue. + ------------------------------------------------------------------- Fri Dec 8 22:20:51 UTC 2023 - Tobias Klausmann diff --git a/polkit.spec b/polkit.spec index 0ce0272..132f022 100644 --- a/polkit.spec +++ b/polkit.spec @@ -1,7 +1,7 @@ # # spec file for package polkit # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -158,6 +158,10 @@ This package provides the GObject Introspection bindings for PolicyKit. %autosetup -p1 %build +# Disabling of this error can hopefully be removed when syncing with +# upstream which has removed mocklibc: +%global optflags %{optflags} -Wno-error=implicit-function-declaration + %meson \ -D session_tracking=libsystemd-login \ -D systemdsystemunitdir="%{_unitdir}" \