mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user