commit:     be5bc3de27cb3d7ca9e41e8e715f67e45ffc50ee
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  4 19:14:27 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul  4 19:14:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5bc3de

x11-misc/polybar: fix build w/ new fontconfig

Closes: https://bugs.gentoo.org/953553
Thanks-to: Pierre Saunders
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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(-)

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 000000000000..4e788165b76c
--- /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 3e08e6ca1869..6c160106ee82 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() {

Reply via email to