Date: Sat, 04 Apr 2020 01:43:18 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 245339] databases/ruby-bdb: suppress deprecate warning with Ruby 2.7 Message-ID: <bug-245339-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245339 Bug ID: 245339 Summary: databases/ruby-bdb: suppress deprecate warning with Ruby 2.7 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: knu@FreeBSD.org Reporter: ume@FreeBSD.org Assignee: knu@FreeBSD.org Flags: maintainer-feedback?(knu@FreeBSD.org) Created attachment 213042 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213042&action= =3Dedit exclude the useless codes which treat deprecated safe levels When using ruby-bdb with Ruby 2.7, following warning messages are issued: /usr/local/lib/ruby/site_ruby/2.7/pkgtools/pkgdbtools.rb:196: warning: rb_secure will be removed in Ruby 3.0 /usr/local/lib/ruby/site_ruby/2.7/pkgtools/pkgdbtools.rb:196: warning: rb_secure will be removed in Ruby 3.0 /usr/local/lib/ruby/site_ruby/2.7/pkgtools/pkgdbtools.rb:196: warning: rb_safe_level will be removed in Ruby 3.0 The safe level greater than 1 are already deprecated by recent Ruby 2.X ser= ies. Tha attached patch exclude the useless codes which treat such deprecated sa= fe levels. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245339-7788>