Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/crystal/files/
Date: Thu, 08 Aug 2019 07:21:58
Message-Id: 1565248908.38b2e8b50442fbce04415a9654cf7c66a62a125c.slyfox@gentoo
1 commit: 38b2e8b50442fbce04415a9654cf7c66a62a125c
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Aug 6 16:40:37 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 8 07:21:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b2e8b5
7
8 dev-lang/crystal: remove unused patches
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/12623
12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
13
14 ...ystal-0.24.2-gentoo-tests-network-sandbox.patch | 33 ----------------------
15 .../crystal/files/crystal-0.25.0-verbose.patch | 9 ------
16 ...tal-0.26.0-gentoo-tests-network-sandbox-2.patch | 23 ---------------
17 3 files changed, 65 deletions(-)
18
19 diff --git a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-network-sandbox.patch b/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-network-sandbox.patch
20 deleted file mode 100644
21 index 12565c1d839..00000000000
22 --- a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-network-sandbox.patch
23 +++ /dev/null
24 @@ -1,33 +0,0 @@
25 -diff --git a/spec/std/socket_spec.cr b/spec/std/socket_spec.cr
26 -index 0caa51a..f21b3b3 100644
27 ---- a/spec/std/socket_spec.cr
28 -+++ b/spec/std/socket_spec.cr
29 -@@ -537,13 +537,15 @@ describe TCPSocket do
30 - end
31 - end
32 -
33 -- it "fails when host doesn't exist" do
34 -+ # gentoo's FEATURES=network-sandbox blocks DNS
35 -+ pending "fails when host doesn't exist" do
36 - expect_raises(Socket::Error, /No address/i) do
37 - TCPSocket.new("doesnotexist.example.org.", 12345)
38 - end
39 - end
40 -
41 -- it "fails (rather than segfault on darwin) when host doesn't exist and port is 0" do
42 -+ # gentoo's FEATURES=network-sandbox blocks DNS
43 -+ pending "fails (rather than segfault on darwin) when host doesn't exist and port is 0" do
44 - expect_raises(Socket::Error, /No address/i) do
45 - TCPSocket.new("doesnotexist.example.org.", 0)
46 - end
47 -@@ -634,7 +636,9 @@ describe UDPSocket do
48 - client.close
49 - end
50 -
51 -- it "broadcasts messages" do
52 -+ # gentoo's FEATURES=network-sandbox blocks external network:
53 -+ # connect: Network is unreachable
54 -+ pending "broadcasts messages" do
55 - port = free_udp_socket_port
56 -
57 - client = UDPSocket.new(Socket::Family::INET)
58
59 diff --git a/dev-lang/crystal/files/crystal-0.25.0-verbose.patch b/dev-lang/crystal/files/crystal-0.25.0-verbose.patch
60 deleted file mode 100644
61 index c26e12335e6..00000000000
62 --- a/dev-lang/crystal/files/crystal-0.25.0-verbose.patch
63 +++ /dev/null
64 @@ -1,9 +0,0 @@
65 -diff --git a/Makefile b/Makefile
66 -index 63a9687..995299f 100644
67 ---- a/Makefile
68 -+++ b/Makefile
69 -@@ -29,3 +29,3 @@ SOURCES := $(shell find src -name '*.cr')
70 - SPEC_SOURCES := $(shell find spec -name '*.cr')
71 --override FLAGS += $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )
72 -+override FLAGS += $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )$(if $(verbose),--verbose )
73 - SPEC_FLAGS := $(if $(verbose),-v )$(if $(junit_output),--junit_output $(junit_output) )
74
75 diff --git a/dev-lang/crystal/files/crystal-0.26.0-gentoo-tests-network-sandbox-2.patch b/dev-lang/crystal/files/crystal-0.26.0-gentoo-tests-network-sandbox-2.patch
76 deleted file mode 100644
77 index bfe23f9ade8..00000000000
78 --- a/dev-lang/crystal/files/crystal-0.26.0-gentoo-tests-network-sandbox-2.patch
79 +++ /dev/null
80 @@ -1,23 +0,0 @@
81 ---- a/spec/std/http/server/server_spec.cr
82 -+++ b/spec/std/http/server/server_spec.cr
83 -@@ -381,7 +381,9 @@ module HTTP
84 - end
85 -
86 - describe "#bind_ssl" do
87 -- it "binds SSL server context" do
88 -+ # gentoo's FEATURES=network-sandbox blocks external network:
89 -+ # connect: Connection timed out (Errno)
90 -+ pending "binds SSL server context" do
91 - server = Server.new do |context|
92 - context.response.puts "Test Server (#{context.request.headers["Host"]?})"
93 - context.response.close
94 ---- a/spec/std/http/web_socket_spec.cr
95 -+++ b/spec/std/http/web_socket_spec.cr
96 -@@ -335,4 +335,6 @@ describe HTTP::WebSocket do
97 - end
98 -
99 -- it "negotiates over HTTPS correctly" do
100 -+ # gentoo's FEATURES=network-sandbox blocks external network:
101 -+ # connect: Connection timed out (Errno)
102 -+ pending "negotiates over HTTPS correctly" do
103 - address_chan = Channel(Socket::IPAddress).new