From dbc6a480bf758ad65860f99fa0182e3d0bc9833aac3df2c85c3cd4e8ef26d07f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Thu, 1 Jun 2017 16:15:38 +0000 Subject: [PATCH] Accepting request 500450 from home:dimstar:branches:GNOME:Apps - Inject -Wno-error=format-nonliteral into CFLAGS: fix build with GCC 7 (boo#1041213). - Own appdata dir on older versions of openSUSE. OBS-URL: https://build.opensuse.org/request/show/500450 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=60 --- gtranslator.changes | 8 +++++++- gtranslator.spec | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gtranslator.changes b/gtranslator.changes index 3263751..dc50221 100644 --- a/gtranslator.changes +++ b/gtranslator.changes @@ -1,7 +1,13 @@ +------------------------------------------------------------------- +Thu Jun 1 16:05:08 UTC 2017 - dimstar@opensuse.org + +- Inject -Wno-error=format-nonliteral into CFLAGS: fix build with + GCC 7 (boo#1041213). + ------------------------------------------------------------------- Wed Mar 18 12:05:35 UTC 2015 - zaitor@opensuse.org -- Own appdata dir on older versions of openSUSE. +- Own appdata dir on older versions of openSUSE. ------------------------------------------------------------------- Mon Mar 16 09:34:18 UTC 2015 - dimstar@opensuse.org diff --git a/gtranslator.spec b/gtranslator.spec index 84d36df..6aa0795 100644 --- a/gtranslator.spec +++ b/gtranslator.spec @@ -1,7 +1,7 @@ # # spec file for package gtranslator # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -70,6 +70,7 @@ files imminently. translation-update-upstream %build +export CFLAGS="%{optflags} -Wno-error=format-nonliteral" %configure \ --disable-static \ --disable-scrollkeeper \