diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /dev-lang/crystal/files | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-lang/crystal/files')
-rw-r--r-- | dev-lang/crystal/files/crystal-0.22.0-blocking-stdio-hack.patch | 20 | ||||
-rw-r--r-- | dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch | 14 |
2 files changed, 0 insertions, 34 deletions
diff --git a/dev-lang/crystal/files/crystal-0.22.0-blocking-stdio-hack.patch b/dev-lang/crystal/files/crystal-0.22.0-blocking-stdio-hack.patch deleted file mode 100644 index 07b7dba7be65..000000000000 --- a/dev-lang/crystal/files/crystal-0.22.0-blocking-stdio-hack.patch +++ /dev/null @@ -1,20 +0,0 @@ -Workaround tty corruption in crystal. - -Patch restores blocking mode of file desriptors -in exchange of potential runtime deadlocks -when dealing with stdio. - -Reported-by: Renich Bon Ciric -Bug: https://github.com/crystal-lang/crystal/issues/2065 -Bug: https://bugs.gentoo.org/616256 -diff --git a/src/compiler/crystal/stdio.cr b/src/compiler/crystal/stdio.cr -new file mode 100644 -index 000000000..e65f65089 ---- /dev/null -+++ b/src/compiler/crystal/stdio.cr -@@ -0,0 +1,5 @@ -+module Crystal -+ STDIN.blocking = true -+ STDOUT.blocking=true -+ STDERR.blocking = true -+end diff --git a/dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch b/dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch deleted file mode 100644 index d78927ab3eef..000000000000 --- a/dev-lang/crystal/files/crystal-0.27.0-max-age-0-test.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/spec/std/http/cookie_spec.cr -+++ b/spec/std/http/cookie_spec.cr -@@ -150,7 +150,10 @@ module HTTP - parse_set_cookie("a=1; domain=127.0.0.1; path=/; HttpOnly").domain.should eq "127.0.0.1" - end - -- it "parse max-age as seconds from Time.now" do -+ # unstable test: sometimes 'now - max-age=0' == 0.0: -+ # Failure/Error: delta.should be > 0.seconds -+ # Expected 00:00:00 to be > 00:00:00 -+ pending "parse max-age as seconds from Time.now" do - cookie = parse_set_cookie("a=1; max-age=10") - delta = cookie.expires.not_nil! - Time.now - delta.should be > 9.seconds |