gentoo/games-engines/zoom/files/zoom-1.1.5-xft-config.patch
James Le Cuirot efba465006
games-engines/zoom: Find libXft with pkg-config rather than xft-config
Closes: https://bugs.gentoo.org/967824
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2025-12-21 11:45:30 +00:00

16 lines
492 B
Diff

--- a/configure.in
+++ b/configure.in
@@ -356,10 +356,10 @@
# If Xft is installed, then there will be a xft-config file on the current path
AC_MSG_CHECKING([for xft-config])
- XFTCONFIG=`which xft-config`
+ XFTCONFIG="${PKG_CONFIG:-pkg-config} xft"
XFT_CFLAGS=""
XFT_LIBS=""
- if test -x ${XFTCONFIG}; then
+ if ${XFTCONFIG} --exists; then
AC_MSG_RESULT([$XFTCONFIG])
XFT_CFLAGS=`${XFTCONFIG} --cflags`
XFT_LIBS=`${XFTCONFIG} --libs`