summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-16 23:14:48 +0000
committerSam James <sam@gentoo.org>2024-11-16 23:27:32 +0000
commit788bd1cfb096bfdd3201e44e30279ad02871210a (patch)
treec642a94295939a9155de85d7ed91fd4895cab9db /dev-perl
parentapp-text/tree: fix variable order (diff)
downloadgentoo-788bd1cfb096bfdd3201e44e30279ad02871210a.tar.gz
gentoo-788bd1cfb096bfdd3201e44e30279ad02871210a.tar.bz2
gentoo-788bd1cfb096bfdd3201e44e30279ad02871210a.zip
dev-perl/XS-Parse-Keyword: build with -std=gnu17
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=157196 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/XS-Parse-Keyword/XS-Parse-Keyword-0.460.0.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-perl/XS-Parse-Keyword/XS-Parse-Keyword-0.460.0.ebuild b/dev-perl/XS-Parse-Keyword/XS-Parse-Keyword-0.460.0.ebuild
index 26dc6b84f546..48e66acebf20 100644
--- a/dev-perl/XS-Parse-Keyword/XS-Parse-Keyword-0.460.0.ebuild
+++ b/dev-perl/XS-Parse-Keyword/XS-Parse-Keyword-0.460.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DIST_AUTHOR=PEVANS
DIST_VERSION=0.46
-inherit perl-module
+inherit flag-o-matic perl-module
DESCRIPTION="XS functions to assist in parsing keyword syntax"
@@ -22,3 +22,10 @@ BDEPEND="
>=virtual/perl-ExtUtils-ParseXS-3.160.0
test? ( virtual/perl-Test2-Suite )
"
+
+src_configure() {
+ # https://rt.cpan.org/Public/Bug/Display.html?id=157196
+ append-cflags -std=gnu17
+
+ perl-module_src_configure
+}