Accepting request 1187081 from Base:System

- 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.

If the request is OK, please forward it to Factory soon-ish so that we
can switch the default compiler. (forwarded request 1187079 from jamborm)

OBS-URL: https://build.opensuse.org/request/show/1187081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=91
This commit is contained in:
Ana Guerrero 2024-07-14 06:48:49 +00:00 committed by Git OBS Bridge
commit 6fa4c52e4d
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 12 12:53:13 UTC 2024 - Martin Jambor <mjambor@suse.com>
- 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 <tobias.klausmann@freenet.de>

View File

@ -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}" \