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 \