git: eba7baa6aed1 - main - www/h2o-devel: Fix build with Ruby 3.x when MRUBY option is enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Apr 2022 18:28:07 UTC
The branch main has been updated by flo: URL: https://cgit.FreeBSD.org/ports/commit/?id=eba7baa6aed1ae7b727d66abc51fb77bdd81b963 commit eba7baa6aed1ae7b727d66abc51fb77bdd81b963 Author: Florian Smeets <flo@FreeBSD.org> AuthorDate: 2022-04-27 18:22:58 +0000 Commit: Florian Smeets <flo@FreeBSD.org> 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 + + ##############################