dev-perl/Text-BibTeX: build w/ -std=gnu17

Closes: https://bugs.gentoo.org/944749
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-01-24 05:23:29 +00:00
parent d8b3a440d5
commit a6793b6a16

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ DIST_AUTHOR=AMBS
DIST_VERSION=0.89
DIST_EXAMPLES=( "examples/*" "scripts/*" )
inherit perl-module
inherit flag-o-matic perl-module
DESCRIPTION="A Perl library for reading, parsing, and processing BibTeX files"
@@ -36,6 +36,9 @@ PATCHES=(
)
src_prepare() {
# bug #944749
append-cflags -std=gnu17
sed -i -e "/#include <stdio.h>/a #include <string.h>"\
btparse/tests/{tex,purify,postprocess,name,macro}_test.c || die
perl-module_src_prepare