From be5bc3de27cb3d7ca9e41e8e715f67e45ffc50ee Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 4 Jul 2025 20:14:27 +0100 Subject: [PATCH] x11-misc/polybar: fix build w/ new fontconfig Closes: https://bugs.gentoo.org/953553 Thanks-to: Pierre Saunders Signed-off-by: Sam James --- x11-misc/polybar/files/polybar-3.7.2-fontconfig.patch | 11 +++++++++++ x11-misc/polybar/polybar-3.7.2.ebuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 x11-misc/polybar/files/polybar-3.7.2-fontconfig.patch diff --git a/x11-misc/polybar/files/polybar-3.7.2-fontconfig.patch b/x11-misc/polybar/files/polybar-3.7.2-fontconfig.patch new file mode 100644 index 0000000000000..4e788165b76ca --- /dev/null +++ b/x11-misc/polybar/files/polybar-3.7.2-fontconfig.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/953553#c10 +--- a/src/CMakeLists.txt 2024-08-17 13:39:55.000000000 +0200 ++++ b/src/CMakeLists.txt 2025-04-22 14:02:32.225721530 +0200 +@@ -159,6 +159,7 @@ + target_link_libraries(poly PUBLIC + Threads::Threads + Cairo::CairoFC ++ freetype + xpp + LibUV::LibUV + ) diff --git a/x11-misc/polybar/polybar-3.7.2.ebuild b/x11-misc/polybar/polybar-3.7.2.ebuild index 3e08e6ca18694..6c160106ee823 100644 --- a/x11-misc/polybar/polybar-3.7.2.ebuild +++ b/x11-misc/polybar/polybar-3.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -46,6 +46,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${P}-gcc15-cstdint-includes.patch" + "${FILESDIR}/${PN}-3.7.2-fontconfig.patch" ) src_configure() {