This commit, https://github.com/ged/ruby-pg/commit/0242f3194c15d10ad5037d4581e78cb70b13b648 fixes the same warning in net-mail/mailshears when used with ruby27. It would be nice if we could backport it since mailshears is meant to be run in a cron job and will email you warnings all day otherwise. The problem likely exists in earlier versions but having it for pg-1.3.5 would suffice for me, since mailshears is ~arch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c3ae9ab7f34c2d66394d871409372340715a8b commit 46c3ae9ab7f34c2d66394d871409372340715a8b Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2022-06-24 10:04:02 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2022-06-24 10:04:39 +0000 dev-ruby/pg: add 1.4.1 Closes: https://bugs.gentoo.org/850736 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/pg/Manifest | 1 + dev-ruby/pg/pg-1.4.1.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+)