archivers/rpm4: Backport an upstream bugfix
The following upstream commit addresses a problem where librpmio.so's
sqlite error handler can interfere with other sqlite consumers and cause
a crash:
https://github.com/rpm-software-management/rpm/commit/ea3187cfcf9cac87e5bc5e7db79b0338da9e355e
Backport the patch now since it's affecting at least one rpm4 user on
FreeBSD. This can be dropped once rpm 4.19 is imported.
PR: 273614
Approved by: maintainer timeout (4 weeks)
Sponsored by: Klara, Inc.