From 47cba579cad16a0aa69a376592f474f83006b235a91f0811c70898c458a75701 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 23 Feb 2015 09:32:04 +0000 Subject: [PATCH] Accepting request 287287 from home:rguenther:branches:Base:System - Build with -std=gnu89 to deal with GCC 5 defaulting to -std=gnu11 OBS-URL: https://build.opensuse.org/request/show/287287 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=210 --- powerd.spec | 2 +- sysvinit.changes | 5 +++++ sysvinit.spec | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/powerd.spec b/powerd.spec index ba67d59..f713257 100644 --- a/powerd.spec +++ b/powerd.spec @@ -1,7 +1,7 @@ # # spec file for package powerd # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/sysvinit.changes b/sysvinit.changes index 2470842..74c96bd 100644 --- a/sysvinit.changes +++ b/sysvinit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 23 09:30:00 UTC 2015 - rguenther@suse.com + +- Build with -std=gnu89 to deal with GCC 5 defaulting to -std=gnu11 + ------------------------------------------------------------------- Mon Sep 8 10:31:48 UTC 2014 - werner@suse.de diff --git a/sysvinit.spec b/sysvinit.spec index 8c00596..abdd3f2 100644 --- a/sysvinit.spec +++ b/sysvinit.spec @@ -1,7 +1,7 @@ # # spec file for package sysvinit # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -171,7 +171,7 @@ popd /bin/chmod -Rf a+rX,g-w,o-w . %build - RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -D_FILE_OFFSET_BITS=64 -pipe" + RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -std=gnu89 -D_FILE_OFFSET_BITS=64 -pipe" CC=%__cc export RPM_OPT_FLAGS CC make %{?_smp_mflags} WITH_SELINUX=yes DISTRO=SuSE