public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/bvi/
Date: Sat, 24 Dec 2022 07:55:36 +0000 (UTC)	[thread overview]
Message-ID: <1671868510.7f99689aa221da85c8535863452819baa1f7bf1e.sam@gentoo> (raw)

commit:     7f99689aa221da85c8535863452819baa1f7bf1e
Author:     Christopher Head <chead <AT> chead <DOT> ca>
AuthorDate: Wed Nov  9 05:15:29 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 07:55:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f99689a

app-editors/bvi: fix CFLAGS handling

* Add `-std=gnu89` as recommended as the way to build K&R-style code
  which will not break with Clang 16.
* Append, instead of overwriting, `CFLAGS`.
* Bump to EAPI 8 while at it.

Closes: https://bugs.gentoo.org/880309
Closes: https://bugs.gentoo.org/880393
Signed-off-by: Christopher Head <chead <AT> chead.ca>
Closes: https://github.com/gentoo/gentoo/pull/28199
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/bvi/bvi-1.4.1-r2.ebuild | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/app-editors/bvi/bvi-1.4.1-r2.ebuild b/app-editors/bvi/bvi-1.4.1-r2.ebuild
new file mode 100644
index 000000000000..65616724b31d
--- /dev/null
+++ b/app-editors/bvi/bvi-1.4.1-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+DESCRIPTION="Display-oriented editor for binary files, based on the vi texteditor"
+HOMEPAGE="http://bvi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+
+DEPEND="sys-libs/ncurses:0="
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-prototypes.patch" )
+
+src_configure() {
+	append-cflags -DANSI -std=gnu89
+	default
+}


             reply	other threads:[~2022-12-24  7:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-24  7:55 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-25 11:08 [gentoo-commits] repo/gentoo:master commit in: app-editors/bvi/ Sam James
2023-08-25 11:08 Sam James
2023-08-25  9:10 Arthur Zamarin
2023-07-21  6:20 Joonas Niilola
2022-11-08  4:40 Sam James
2019-11-21 13:16 Joonas Niilola
2019-11-19 12:48 Agostino Sarubbo
2019-11-18 11:50 Agostino Sarubbo
2019-10-16  5:22 Joonas Niilola
2019-07-31 12:10 Michał Górny
2019-01-16 22:29 Patrice Clement
2018-11-29 19:57 Mikle Kolyada
2018-11-27 23:56 Sergei Trofimovich
2018-11-27 21:55 Thomas Deutschmann
2018-10-13 19:57 Michał Górny
2018-03-17  9:23 Pacho Ramos
2017-01-29 14:38 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=1671868510.7f99689aa221da85c8535863452819baa1f7bf1e.sam@gentoo \
    --to=sam@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