From nobody Wed Apr 27 18:28:07 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4CAFE1AB505D; Wed, 27 Apr 2022 18:28:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KpS141gTBz4qhG; Wed, 27 Apr 2022 18:28:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651084088; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xFR8XpJReKcz9HbmQB7mtHuV9LLYcksyr3qaQN94zzg=; b=nQKTXe7Jwyj1xQ+ew0YJvxnTyQZemDNWJ2CqSAPVDcqdSM44Xg6KNf4fnMig7H3RvLf1io b155+xg9om9YZJx0kLUz9HCD7V1M2q6duevGlYfBAFWatuzzXZ7REnAQYrmpZjSxkZ4pOU BUSp+IosnxIR7Wte72+y2ZM4VOTdk7slJJv70WGEG3Dh3tzGRLIYJ5q4LhR32aoY4VHXwC 1G2ethsnU2Bfx5V6fvUrv/ePsUyccUcx2uaLxKbl69ZI+7pJ72rZqlyxoylBzqcLr7Ha6U y2G2qbfu96Z3quCgk59EvIxJhIzyiNedN586oITtr/z4NVLc9vNwMTzNHY6MJw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 193C0BBE; Wed, 27 Apr 2022 18:28:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23RIS8FE066303; Wed, 27 Apr 2022 18:28:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23RIS7X7066301; Wed, 27 Apr 2022 18:28:07 GMT (envelope-from git) Date: Wed, 27 Apr 2022 18:28:07 GMT Message-Id: <202204271828.23RIS7X7066301@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Florian Smeets Subject: git: eba7baa6aed1 - main - www/h2o-devel: Fix build with Ruby 3.x when MRUBY option is enabled List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: flo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eba7baa6aed1ae7b727d66abc51fb77bdd81b963 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651084088; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xFR8XpJReKcz9HbmQB7mtHuV9LLYcksyr3qaQN94zzg=; b=x9jixOmlcCdjJz6OSPB6mV+vYhNirLpi21373fGGHwnIbpodZxbpDpzEoWBp310/Ht4KNI I7JV5fuutgp5mQBz42H9AbhTQo08zpmUvMKd22HD79yp9xwzwZ23CeWBA542qqflsLb0Qn gexrrq41VPxzTA0Gif6usL8X/gZbbK6k/gd0ZLXNqyFWfv5/OZvdp5+ktgNKPkURGbLupP vK1LaMTLfFzHZ8+cw8ut5rxrqwAXDIC8/TCA9egOvjPtkV34GyPHRUcoX6wMpqtrzvF6Ay 2On84i//O7WV0xIkUWJTtPmJtRfXd0rTODuzeQVM0rd0xav6IeTQVoeSxBt/lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651084088; a=rsa-sha256; cv=none; b=tV7mcelNsgyJoiZxRahMSc8ZMKhxUNShPyWDAWfuxFOWJ3JU3JmEQfpwWkJpRBcvE+Kf+3 GJLDmWNymBzvmUzNABr7bTjPDcyGuZq8IyuW8KdFg80yJ7zgemjkJO1UwPp4tLeTwYYOKK xjUcEaF9JvlLtLBJAXOkD5Y4k9ibqGGo6xsq0nlQxOa3OVVaWlNPoSqubsKFl9uDbY8179 iVG6+GfOh5g9AewEqrRIvggT3qV3Ayh+J4wn9QTLaEnK11nPtKHARYBTLeQsOs8XMvpuQ5 nScRcxLbPjAiu3bVF0NREhyXyUDYEhmR87eJPXxQdk3F/u7G/PFcL9OmcLZsGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by flo: URL: https://cgit.FreeBSD.org/ports/commit/?id=eba7baa6aed1ae7b727d66abc51fb77bdd81b963 commit eba7baa6aed1ae7b727d66abc51fb77bdd81b963 Author: Florian Smeets AuthorDate: 2022-04-27 18:22:58 +0000 Commit: Florian Smeets CommitDate: 2022-04-27 18:22:58 +0000 www/h2o-devel: Fix build with Ruby 3.x when MRUBY option is enabled Apply a simillar patch as in 8272d84a122f for www/h2o. Reference: https://github.com/h2o/h2o/issues/2789 PR: 263053 --- www/h2o-devel/files/patch-deps_mruby_Rakefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/www/h2o-devel/files/patch-deps_mruby_Rakefile b/www/h2o-devel/files/patch-deps_mruby_Rakefile new file mode 100644 index 000000000000..385ba00b3289 --- /dev/null +++ b/www/h2o-devel/files/patch-deps_mruby_Rakefile @@ -0,0 +1,16 @@ +--- deps/mruby/Rakefile.orig 2022-04-27 17:08:45 UTC ++++ deps/mruby/Rakefile +@@ -33,10 +33,9 @@ def install_D(src, dst) + load "#{MRUBY_ROOT}/tasks/gitlab.rake" + + def install_D(src, dst) +- opts = { :verbose => $verbose } +- FileUtils.rm_f dst, opts +- FileUtils.mkdir_p File.dirname(dst), opts +- FileUtils.cp src, dst, opts ++ FileUtils.rm_f dst, verbose: $verbose ++ FileUtils.mkdir_p File.dirname(dst), verbose: $verbose ++ FileUtils.cp src, dst, verbose: $verbose + end + + ##############################