From eeb522b01d2d66e472c5ec826861249102962a76fc765cf682a84eea01ffd3f2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 16 Oct 2019 08:52:03 +0000 Subject: [PATCH] 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 --- libdbusmenu.changes | 7 +++++++ libdbusmenu.spec | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libdbusmenu.changes b/libdbusmenu.changes index dd042c9..81b916f 100644 --- a/libdbusmenu.changes +++ b/libdbusmenu.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Oct 16 08:34:16 UTC 2019 - Dominique Leuenberger + +- 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 diff --git a/libdbusmenu.spec b/libdbusmenu.spec index b5ecef4..a81bbdb 100644 --- a/libdbusmenu.spec +++ b/libdbusmenu.spec @@ -1,7 +1,7 @@ # # 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 # 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/ # @@ -178,6 +178,7 @@ This package contains the development files for the dbusmenu-jsonloader library. %setup -q %build +export CFLAGS="%{optflags} -Wno-error" %global _configure ../configure NOCONFIGURE=1 gnome-autogen.sh --enable-gtk-doc for ver in 2 3; do