From 612afbe920010e976590b1a49ebd134e4b20fb7b9921a103ba75887b9853202a Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 23 Jan 2019 16:31:21 +0000 Subject: [PATCH] - run cpp with "-x assembler-with-cpp" in order to get rid of warnings when parsing valid comments (bsc#1120004) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xrdb?expand=0&rev=9 --- xrdb.changes | 6 ++++++ xrdb.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/xrdb.changes b/xrdb.changes index 55263fd..b252743 100644 --- a/xrdb.changes +++ b/xrdb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 10 13:21:14 UTC 2019 - sndirsch@suse.com + +- run cpp with "-x assembler-with-cpp" in order to get rid of + warnings when parsing valid comments (bsc#1120004) + ------------------------------------------------------------------- Wed Apr 4 16:31:31 UTC 2018 - sndirsch@suse.com diff --git a/xrdb.spec b/xrdb.spec index 7b0af76..f6b85aa 100644 --- a/xrdb.spec +++ b/xrdb.spec @@ -1,7 +1,7 @@ # # spec file for package xrdb # -# 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 @@ -43,7 +43,9 @@ root window of any or all screens, or everything combined. %setup -q %build -%configure --with-cpp=%{_bindir}/cpp +# Run cpp with "-x assembler-with-cpp" in order to get rid of +# warnings when parsing valid comments (bsc#1120004) +%configure --with-cpp="%{_bindir}/cpp -x assembler-with-cpp, /lib/cpp" make %{?_smp_mflags} %install