commit: 625bf1cca355fde685db06db9325a7cf7c50219c
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 15 20:43:34 2019 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Tue Oct 15 20:44:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625bf1cc
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 <axs <AT> gentoo.org>
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 bc520dc0ace..1607c10d62d 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) \