From 625bf1cca355fde685db06db9325a7cf7c50219c Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Tue, 15 Oct 2019 16:43:34 -0400 Subject: [PATCH] sys-cluster/torque: adjust flags for modern toolchains This is a workaround patch that supports building toqrue on an at-time-of-commit stable stage3 environment. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Ian Stakenvicius --- sys-cluster/torque/torque-6.0.4-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-cluster/torque/torque-6.0.4-r1.ebuild b/sys-cluster/torque/torque-6.0.4-r1.ebuild index bc520dc0ace3..1607c10d62d2 100644 --- a/sys-cluster/torque/torque-6.0.4-r1.ebuild +++ b/sys-cluster/torque/torque-6.0.4-r1.ebuild @@ -91,6 +91,10 @@ src_prepare() { } src_configure() { + append-cflags "-fpermissive" + use kernel_linux && append-cflags "-Dlinux" + append-cxxflags "-std=c++03" + econf \ $(use_enable tk gui) \ $(use_enable tk tcl-qstat) \ -- 2.26.2