public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/wv/
Date: Mon,  3 Oct 2022 09:57:31 +0000 (UTC)	[thread overview]
Message-ID: <1664791033.78cccf372d0748efd8e99af373e5cd2487c4bebc.soap@gentoo> (raw)

commit:     78cccf372d0748efd8e99af373e5cd2487c4bebc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  3 09:57:13 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct  3 09:57:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78cccf37

app-text/wv: prevent suppression of POSIX decls

Closes: https://bugs.gentoo.org/874396
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-text/wv/wv-1.2.9-r3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

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


             reply	other threads:[~2022-10-03  9:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-03  9:57 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-31 22:12 [gentoo-commits] repo/gentoo:master commit in: app-text/wv/ Andreas K. Hüttel
2024-10-29 19:08 Sam James
2024-10-29 16:48 Sam James
2024-10-29 16:48 Sam James
2024-10-29 16:48 Sam James
2024-10-29 16:48 Sam James
2022-06-21 16:29 David Seifert
2021-12-13  5:54 Yixun Lan
2020-12-14  0:46 Sam James
2017-01-29 15:24 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1664791033.78cccf372d0748efd8e99af373e5cd2487c4bebc.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox