Accepting request 738833 from home:dimstar:Factory

Fix build with GNOME 3.34 - Unity is defacto unmaintained, so this is the best we can do for now, short of dropping the code

OBS-URL: https://build.opensuse.org/request/show/738833
OBS-URL: https://build.opensuse.org/package/show/X11:Unity/libdbusmenu?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2019-10-16 08:52:03 +00:00 committed by Git OBS Bridge
parent c733d5385e
commit eeb522b01d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 16 08:34:16 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Inject -Wno-error into CFLAGS. It's kinda ridiculous for code
that is not maintained upstream to pass -Werror by default and
then not catching up. So for now we accept warnings.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 13 11:26:39 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> Tue Aug 13 11:26:39 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libdbusmenu # spec file for package libdbusmenu
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
@ -178,6 +178,7 @@ This package contains the development files for the dbusmenu-jsonloader library.
%setup -q %setup -q
%build %build
export CFLAGS="%{optflags} -Wno-error"
%global _configure ../configure %global _configure ../configure
NOCONFIGURE=1 gnome-autogen.sh --enable-gtk-doc NOCONFIGURE=1 gnome-autogen.sh --enable-gtk-doc
for ver in 2 3; do for ver in 2 3; do