commit: 273a01dab1bac74072c051b25d00d7fd52c74c4b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jul 5 04:26:23 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jul 5 04:27:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=273a01da
dev-perl/DBD-Pg: build w/ -std=gnu17, update deps * Build w/ -std=gnu17. It's been reported upstream already but no response yet. We especially want various dev-perl/* to be buildable right now as 5.42 is here now. * Drop useless Perl virtual deps while here. Closes: https://bugs.gentoo.org/944038 Signed-off-by: Sam James <sam <AT> gentoo.org> .../{DBD-Pg-3.18.0.ebuild => DBD-Pg-3.18.0-r1.ebuild} | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dev-perl/DBD-Pg/DBD-Pg-3.18.0.ebuild b/dev-perl/DBD-Pg/DBD-Pg-3.18.0-r1.ebuild similarity index 92% rename from dev-perl/DBD-Pg/DBD-Pg-3.18.0.ebuild rename to dev-perl/DBD-Pg/DBD-Pg-3.18.0-r1.ebuild index 0d24de4bda5c..4baef0eaaa6d 100644 --- a/dev-perl/DBD-Pg/DBD-Pg-3.18.0.ebuild +++ b/dev-perl/DBD-Pg/DBD-Pg-3.18.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DIST_AUTHOR=TURNSTEP -inherit perl-module +inherit flag-o-matic perl-module DESCRIPTION="PostgreSQL database driver for the DBI module" @@ -12,7 +12,6 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" - virtual/perl-version >=dev-perl/DBI-1.614.0 dev-db/postgresql:* " @@ -23,9 +22,7 @@ BDEPEND=" ${RDEPEND} >=virtual/perl-ExtUtils-MakeMaker-6.580.0 test? ( - virtual/perl-File-Temp >=virtual/perl-Test-Simple-0.880.0 - virtual/perl-Time-HiRes ) " @@ -51,6 +48,13 @@ src_prepare() { perl-module_src_prepare } +src_configure() { + # https://github.com/bucardo/dbdpg/issues/135 (bug #944038) + append-cflags -std=gnu17 + + perl-module_src_configure +} + src_test() { local MODULES=( "Bundle::DBD::Pg v${PV}"