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

Closes: https://bugs.gentoo.org/953553
Thanks-to: Pierre Saunders
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-07-04 20:14:27 +01:00
parent 55fabce5e6
commit be5bc3de27
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 13 additions and 1 deletions

View File

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

View File

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