summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2019-10-15 16:43:34 -0400
committerIan Stakenvicius <axs@gentoo.org>2019-10-15 16:44:33 -0400
commit625bf1cca355fde685db06db9325a7cf7c50219c (patch)
treec99ad07d275838f0558bfd31c75a62310eb61229 /sys-cluster/torque
parentwww-client/chromium: beta channel bump to 78.0.3904.50 (diff)
downloadgentoo-625bf1cca355fde685db06db9325a7cf7c50219c.tar.gz
gentoo-625bf1cca355fde685db06db9325a7cf7c50219c.tar.bz2
gentoo-625bf1cca355fde685db06db9325a7cf7c50219c.zip
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@gentoo.org>
Diffstat (limited to 'sys-cluster/torque')
-rw-r--r--sys-cluster/torque/torque-6.0.4-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
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) \