From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1DB1E138334 for ; Sun, 9 Jun 2019 19:01:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBBFAE0885; Sun, 9 Jun 2019 19:01:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8772E0885 for ; Sun, 9 Jun 2019 19:01:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9FCB4345AE9 for ; Sun, 9 Jun 2019 19:01:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B7982A5 for ; Sun, 9 Jun 2019 19:01:24 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1560106874.d78e561340ad91e0932b3eaefee3363bf68e4751.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/crystal/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/crystal/files/crystal-0.24.0-verbose-LDFLAGS.patch dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch dev-lang/crystal/files/crystal-0.27.0-gentoo-tests-network-sandbox.patch X-VCS-Directories: dev-lang/crystal/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: d78e561340ad91e0932b3eaefee3363bf68e4751 X-VCS-Branch: master Date: Sun, 9 Jun 2019 19:01:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d35580f5-c525-4cbf-86e2-ed7d786cb583 X-Archives-Hash: b1ecf099a0e76740bf77bd29d589e099 commit: d78e561340ad91e0932b3eaefee3363bf68e4751 Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Jun 7 17:30:20 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jun 9 19:01:14 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78e5613 dev-lang/crystal: remove unused patches Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12216 Signed-off-by: Sergei Trofimovich gentoo.org> .../files/crystal-0.24.0-verbose-LDFLAGS.patch | 9 ----- .../crystal-0.24.2-gentoo-tests-sandbox.patch | 37 ------------------ ...ystal-0.27.0-gentoo-tests-network-sandbox.patch | 44 ---------------------- 3 files changed, 90 deletions(-) diff --git a/dev-lang/crystal/files/crystal-0.24.0-verbose-LDFLAGS.patch b/dev-lang/crystal/files/crystal-0.24.0-verbose-LDFLAGS.patch deleted file mode 100644 index 3d02a119f85..00000000000 --- a/dev-lang/crystal/files/crystal-0.24.0-verbose-LDFLAGS.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/Makefile b/Makefile -index eff69e5..5c0c024 100644 ---- a/Makefile -+++ b/Makefile -@@ -28,3 +28,3 @@ SOURCES := $(shell find src -name '*.cr') - SPEC_SOURCES := $(shell find spec -name '*.cr') --FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static ) -+FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static )$(if $(verbose),--verbose )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" ) - SPEC_FLAGS := $(if $(verbose),-v )$(if $(junit_output),--junit_output $(junit_output) ) diff --git a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch b/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch deleted file mode 100644 index 4bd779a834c..00000000000 --- a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/spec/std/file_spec.cr b/spec/std/file_spec.cr -index 4a08b7d..cb1b28c 100644 ---- a/spec/std/file_spec.cr -+++ b/spec/std/file_spec.cr -@@ -1026,7 +1026,8 @@ describe "File" do - end - end - -- it "raises if file cannot be accessed" do -+ # On linux it's "Permission denied", not "Operation not permitted" -+ pending "raises if file cannot be accessed" do - expect_raises Errno, "Operation not permitted" do - File.touch("/bin/ls") - end -diff --git a/spec/std/process_spec.cr b/spec/std/process_spec.cr -index 4a36f18..0cd63a8 100644 ---- a/spec/std/process_spec.cr -+++ b/spec/std/process_spec.cr -@@ -115,14 +115,16 @@ describe Process do - end - - describe "environ" do -- it "clears the environment" do -+ #gentoo's sandbox keeps sandbox environment -+ pending "clears the environment" do - value = Process.run("env", clear_env: true) do |proc| - proc.output.gets_to_end - end - value.should eq("") - end - -- it "sets an environment variable" do -+ #gentoo's sandbox keeps sandbox environment -+ pending "sets an environment variable" do - env = {"FOO" => "bar"} - value = Process.run("env", clear_env: true, env: env) do |proc| - proc.output.gets_to_end diff --git a/dev-lang/crystal/files/crystal-0.27.0-gentoo-tests-network-sandbox.patch b/dev-lang/crystal/files/crystal-0.27.0-gentoo-tests-network-sandbox.patch deleted file mode 100644 index 0ba0f18f73d..00000000000 --- a/dev-lang/crystal/files/crystal-0.27.0-gentoo-tests-network-sandbox.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a/spec/std/socket/tcp_server_spec.cr -+++ b/spec/std/socket/tcp_server_spec.cr -@@ -76,13 +76,17 @@ describe TCPServer do - TCPServer.new("localhost", unused_local_port) - end - -- it "raises when host doesn't exist" do -+ # gentoo's FEATURES=network-sandbox blocks external network: -+ # Socket::Error: getaddrinfo: Temporary failure in name resolution -+ pending "raises when host doesn't exist" do - expect_raises(Socket::Error, "No address") do - TCPServer.new("doesnotexist.example.org.", 12345) - end - end - -- it "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do -+ # gentoo's FEATURES=network-sandbox blocks external network: -+ # Socket::Error: getaddrinfo: Temporary failure in name resolution -+ pending "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do - expect_raises(Socket::Error, "No address") do - TCPServer.new("doesnotexist.example.org.", 0) - end ---- a/spec/std/socket/tcp_socket_spec.cr -+++ b/spec/std/socket/tcp_socket_spec.cr -@@ -56,13 +56,17 @@ describe TCPSocket do - end - end - -- it "raises when host doesn't exist" do -+ # gentoo's FEATURES=network-sandbox blocks external network: -+ # Socket::Error: getaddrinfo: Temporary failure in name resolution -+ pending "raises when host doesn't exist" do - expect_raises(Socket::Error, "No address") do - TCPSocket.new("doesnotexist.example.org.", 12345) - end - end - -- it "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do -+ # gentoo's FEATURES=network-sandbox blocks external network: -+ # Socket::Error: getaddrinfo: Temporary failure in name resolution -+ pending "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do - expect_raises(Socket::Error, "No address") do - TCPSocket.new("doesnotexist.example.org.", 0) - end