From: Ian Stakenvicius Date: Tue, 15 Oct 2019 20:43:34 +0000 (-0400) Subject: sys-cluster/torque: adjust flags for modern toolchains X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=625bf1cca355fde685db06db9325a7cf7c50219c;p=gentoo.git 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 --- 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) \