Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/letterize/, app-text/letterize/files/
Date: Fri, 30 Sep 2022 03:43:34
Message-Id: 1664509346.59e7fe66282908d11677b4e5626b964b0fa723c4.ionen@gentoo
1 commit: 59e7fe66282908d11677b4e5626b964b0fa723c4
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 03:20:00 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 03:42:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e7fe66
7
8 app-text/letterize: fix build with clang16
9
10 Trivial fix.
11
12 Closes: https://bugs.gentoo.org/870775
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 app-text/letterize/files/letterize-1.4-clang16.patch | 8 ++++++++
16 app-text/letterize/letterize-1.4.ebuild | 6 +++++-
17 2 files changed, 13 insertions(+), 1 deletion(-)
18
19 diff --git a/app-text/letterize/files/letterize-1.4-clang16.patch b/app-text/letterize/files/letterize-1.4-clang16.patch
20 new file mode 100644
21 index 000000000000..82a1258a60d3
22 --- /dev/null
23 +++ b/app-text/letterize/files/letterize-1.4-clang16.patch
24 @@ -0,0 +1,8 @@
25 +https://bugs.gentoo.org/870775
26 +--- a/letterize.c
27 ++++ b/letterize.c
28 +@@ -234,3 +234,3 @@
29 +
30 +-main(int argc, char **argv)
31 ++int main(int argc, char **argv)
32 + {
33
34 diff --git a/app-text/letterize/letterize-1.4.ebuild b/app-text/letterize/letterize-1.4.ebuild
35 index 91dbcfff516e..d28a490c6729 100644
36 --- a/app-text/letterize/letterize-1.4.ebuild
37 +++ b/app-text/letterize/letterize-1.4.ebuild
38 @@ -1,4 +1,4 @@
39 -# Copyright 1999-2021 Gentoo Authors
40 +# Copyright 1999-2022 Gentoo Authors
41 # Distributed under the terms of the GNU General Public License v2
42
43 EAPI=7
44 @@ -13,6 +13,10 @@ LICENSE="BSD"
45 SLOT="0"
46 KEYWORDS="~amd64 ~x86"
47
48 +PATCHES=(
49 + "${FILESDIR}"/${P}-clang16.patch
50 +)
51 +
52 src_configure() {
53 tc-export CC
54 default