diff options
Diffstat (limited to 'app-text/letterize')
-rw-r--r-- | app-text/letterize/files/letterize-1.4-clang16.patch | 8 | ||||
-rw-r--r-- | app-text/letterize/letterize-1.4.ebuild | 6 |
2 files changed, 13 insertions, 1 deletions
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 |