summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-04-23 22:39:02 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-04-23 22:39:21 +0100
commit3cf9beab238c015964bb1c8193d9a4394fce3a21 (patch)
tree5f6b1dce85756729b21abec4f2874cef40bde989 /dev-lang/crystal/metadata.xml
parentdev-perl/File-Next: 1.160.0 ALLARCHES stable re bug #615692 (diff)
downloadgentoo-3cf9beab238c015964bb1c8193d9a4394fce3a21.tar.gz
gentoo-3cf9beab238c015964bb1c8193d9a4394fce3a21.tar.bz2
gentoo-3cf9beab238c015964bb1c8193d9a4394fce3a21.zip
dev-lang/crystal: Workaround tty corruption in crystal, bug #616256
Patch restores blocking mode of file desriptors in exchange of potential runtime deadlocks when dealing with stdio. As it's a potentially invasive patch it's not enabled by default and is available only under USE=blocking-stdio-hack Reported-by: Renich Bon Ciric Bug: https://github.com/crystal-lang/crystal/issues/2065 Bug: https://bugs.gentoo.org/616256 Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-lang/crystal/metadata.xml')
-rw-r--r--dev-lang/crystal/metadata.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-lang/crystal/metadata.xml b/dev-lang/crystal/metadata.xml
index 80b55be2293e..8c0dacece652 100644
--- a/dev-lang/crystal/metadata.xml
+++ b/dev-lang/crystal/metadata.xml
@@ -22,6 +22,9 @@
<flag name="debug">
Build each module as a separate object file. Speeds build up.
</flag>
+ <flag name="blocking-stdio-hack">
+ Keep STDIO file descriptors in blocking mode.
+ </flag>
<flag name="yaml">
Use the <pkg>dev-libs/libyaml</pkg> library to enable Crystal yaml
module