public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/letterize/, app-text/letterize/files/
Date: Fri, 30 Sep 2022 03:43:30 +0000 (UTC)	[thread overview]
Message-ID: <1664509346.59e7fe66282908d11677b4e5626b964b0fa723c4.ionen@gentoo> (raw)

commit:     59e7fe66282908d11677b4e5626b964b0fa723c4
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 03:20:00 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 03:42:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e7fe66

app-text/letterize: fix build with clang16

Trivial fix.

Closes: https://bugs.gentoo.org/870775
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-text/letterize/files/letterize-1.4-clang16.patch | 8 ++++++++
 app-text/letterize/letterize-1.4.ebuild              | 6 +++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/app-text/letterize/files/letterize-1.4-clang16.patch b/app-text/letterize/files/letterize-1.4-clang16.patch
new file mode 100644
index 000000000000..82a1258a60d3
--- /dev/null
+++ b/app-text/letterize/files/letterize-1.4-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/870775
+--- a/letterize.c
++++ b/letterize.c
+@@ -234,3 +234,3 @@
+ 
+-main(int argc, char **argv)
++int main(int argc, char **argv)
+ {

diff --git a/app-text/letterize/letterize-1.4.ebuild b/app-text/letterize/letterize-1.4.ebuild
index 91dbcfff516e..d28a490c6729 100644
--- a/app-text/letterize/letterize-1.4.ebuild
+++ b/app-text/letterize/letterize-1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,6 +13,10 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+PATCHES=(
+	"${FILESDIR}"/${P}-clang16.patch
+)
+
 src_configure() {
 	tc-export CC
 	default


                 reply	other threads:[~2022-09-30  3:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1664509346.59e7fe66282908d11677b4e5626b964b0fa723c4.ionen@gentoo \
    --to=ionen@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