summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-10-03 11:57:13 +0200
committerDavid Seifert <soap@gentoo.org>2022-10-03 11:57:13 +0200
commit78cccf372d0748efd8e99af373e5cd2487c4bebc (patch)
tree1a49949f0cca6a711b10a44b673a23bb2b0042e9 /app-text
parentdev-python/pandas: Remove old (diff)
downloadgentoo-78cccf372d0748efd8e99af373e5cd2487c4bebc.tar.gz
gentoo-78cccf372d0748efd8e99af373e5cd2487c4bebc.tar.bz2
gentoo-78cccf372d0748efd8e99af373e5cd2487c4bebc.zip
app-text/wv: prevent suppression of POSIX decls
Closes: https://bugs.gentoo.org/874396 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/wv/wv-1.2.9-r3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-text/wv/wv-1.2.9-r3.ebuild b/app-text/wv/wv-1.2.9-r3.ebuild
index cf99d1c2a144..c2a286d095f4 100644
--- a/app-text/wv/wv-1.2.9-r3.ebuild
+++ b/app-text/wv/wv-1.2.9-r3.ebuild
@@ -36,11 +36,16 @@ PATCHES=(
src_prepare() {
default
+ # remove -ansi flag, since it disables POSIX
+ # function declarations (bug #874396)
+ sed -i -e 's/-ansi//' configure || die
+
if ! use tools; then
sed -i -e '/bin_/d' GNUmakefile.am || die
sed -i -e '/SUBDIRS/d' GNUmakefile.am || die
sed -i -e '/\/GNUmakefile/d' configure.ac || die
sed -i -e '/wv[[:upper:]]/d' configure.ac || die
+ sed -i -e 's/-ansi//' configure.ac || die
# automake-1.13 fix, bug #467620
sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.ac || die