diff --git a/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch b/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch new file mode 100644 index 0000000000000..1a42a15839a69 --- /dev/null +++ b/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch @@ -0,0 +1,11 @@ +Bug: https://bugs.gentoo.org/896210 +--- a/src/getopt.c ++++ b/src/getopt.c +@@ -40,6 +40,7 @@ + #endif + + #include ++#include + + /* Comment out all this code if we are using the GNU C Library, and are not + actually compiling the library itself. This code is part of the GNU C diff --git a/media-gfx/gozer/gozer-0.7-r4.ebuild b/media-gfx/gozer/gozer-0.7-r5.ebuild similarity index 86% rename from media-gfx/gozer/gozer-0.7-r4.ebuild rename to media-gfx/gozer/gozer-0.7-r5.ebuild index f14a25fce9c2e..6dd3168d57a0c 100644 --- a/media-gfx/gozer/gozer-0.7-r4.ebuild +++ b/media-gfx/gozer/gozer-0.7-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,6 +24,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch + "${FILESDIR}"/${P}-fix-build-with-clang16.patch ) src_prepare() {