mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/crystal: remove unused patches
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12623 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
committed by
Sergei Trofimovich
parent
b3a2484f52
commit
38b2e8b504
@@ -1,33 +0,0 @@
|
||||
diff --git a/spec/std/socket_spec.cr b/spec/std/socket_spec.cr
|
||||
index 0caa51a..f21b3b3 100644
|
||||
--- a/spec/std/socket_spec.cr
|
||||
+++ b/spec/std/socket_spec.cr
|
||||
@@ -537,13 +537,15 @@ describe TCPSocket do
|
||||
end
|
||||
end
|
||||
|
||||
- it "fails when host doesn't exist" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks DNS
|
||||
+ pending "fails when host doesn't exist" do
|
||||
expect_raises(Socket::Error, /No address/i) do
|
||||
TCPSocket.new("doesnotexist.example.org.", 12345)
|
||||
end
|
||||
end
|
||||
|
||||
- it "fails (rather than segfault on darwin) when host doesn't exist and port is 0" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks DNS
|
||||
+ pending "fails (rather than segfault on darwin) when host doesn't exist and port is 0" do
|
||||
expect_raises(Socket::Error, /No address/i) do
|
||||
TCPSocket.new("doesnotexist.example.org.", 0)
|
||||
end
|
||||
@@ -634,7 +636,9 @@ describe UDPSocket do
|
||||
client.close
|
||||
end
|
||||
|
||||
- it "broadcasts messages" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
||||
+ # connect: Network is unreachable
|
||||
+ pending "broadcasts messages" do
|
||||
port = free_udp_socket_port
|
||||
|
||||
client = UDPSocket.new(Socket::Family::INET)
|
||||
@@ -1,9 +0,0 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 63a9687..995299f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -29,3 +29,3 @@ SOURCES := $(shell find src -name '*.cr')
|
||||
SPEC_SOURCES := $(shell find spec -name '*.cr')
|
||||
-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)" )
|
||||
+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 )
|
||||
SPEC_FLAGS := $(if $(verbose),-v )$(if $(junit_output),--junit_output $(junit_output) )
|
||||
@@ -1,23 +0,0 @@
|
||||
--- a/spec/std/http/server/server_spec.cr
|
||||
+++ b/spec/std/http/server/server_spec.cr
|
||||
@@ -381,7 +381,9 @@ module HTTP
|
||||
end
|
||||
|
||||
describe "#bind_ssl" do
|
||||
- it "binds SSL server context" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
||||
+ # connect: Connection timed out (Errno)
|
||||
+ pending "binds SSL server context" do
|
||||
server = Server.new do |context|
|
||||
context.response.puts "Test Server (#{context.request.headers["Host"]?})"
|
||||
context.response.close
|
||||
--- a/spec/std/http/web_socket_spec.cr
|
||||
+++ b/spec/std/http/web_socket_spec.cr
|
||||
@@ -335,4 +335,6 @@ describe HTTP::WebSocket do
|
||||
end
|
||||
|
||||
- it "negotiates over HTTPS correctly" do
|
||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
||||
+ # connect: Connection timed out (Errno)
|
||||
+ pending "negotiates over HTTPS correctly" do
|
||||
address_chan = Channel(Socket::IPAddress).new
|
||||
Reference in New Issue
Block a user