git: 027f28dd5008 - main - net-mgmt/rubygem-oxidized-web: Unbreak with Ruby 3.0

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Wed, 25 May 2022 08:07:38 UTC
The branch main has been updated by meta:

URL: https://cgit.FreeBSD.org/ports/commit/?id=027f28dd50081220b9f9b33a85fda8377be5e94a

commit 027f28dd50081220b9f9b33a85fda8377be5e94a
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2022-05-25 08:00:39 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2022-05-25 08:06:14 +0000

    net-mgmt/rubygem-oxidized-web: Unbreak with Ruby 3.0
    
    PR:             263470
    Reported by:    Einar Bjarni Halldórsson <einar@isnic.is>
    Approved by:    Nick Hilliard <nick@foobar.org> (maintainer)
    MFH:            2022Q2
---
 net-mgmt/rubygem-oxidized-web/Makefile                        |  2 +-
 net-mgmt/rubygem-oxidized-web/files/patch-lib_oxidized_web.rb | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/rubygem-oxidized-web/Makefile b/net-mgmt/rubygem-oxidized-web/Makefile
index 1d6e660c3118..4291f617c041 100644
--- a/net-mgmt/rubygem-oxidized-web/Makefile
+++ b/net-mgmt/rubygem-oxidized-web/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	oxidized-web
 PORTVERSION=	0.13.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt rubygems
 MASTER_SITES=	RG
 
diff --git a/net-mgmt/rubygem-oxidized-web/files/patch-lib_oxidized_web.rb b/net-mgmt/rubygem-oxidized-web/files/patch-lib_oxidized_web.rb
new file mode 100644
index 000000000000..7547653b6af7
--- /dev/null
+++ b/net-mgmt/rubygem-oxidized-web/files/patch-lib_oxidized_web.rb
@@ -0,0 +1,11 @@
+--- lib/oxidized/web.rb.orig	2022-04-22 14:40:24 UTC
++++ lib/oxidized/web.rb
+@@ -26,7 +26,7 @@ module Oxidized
+ 
+       def run
+         @thread = Thread.new do
+-          Rack::Handler::Puma.run @app, @opts
++          Rack::Handler::Puma.run @app, **@opts
+           exit!
+         end
+       end