tk-8.5.11-fedora-xft.patch 681 B

1234567891011121314
  1. --- tk8.5.9/unix/configure.in.old 2010-09-02 20:12:14.000000000 +0200
  2. +++ tk8.5.9/unix/configure.in 2011-02-17 13:32:22.719116636 +0100
  3. @@ -530,8 +530,8 @@
  4. XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
  5. if test "$found_xft" = "no" ; then
  6. found_xft=yes
  7. - XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
  8. - XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
  9. + XFT_CFLAGS=`pkg-config --cflags xft freetype2 2>/dev/null` || found_xft="no"
  10. + XFT_LIBS=`pkg-config --libs xft freetype2 2>/dev/null` || found_xft="no"
  11. fi
  12. AC_MSG_RESULT([$found_xft])
  13. dnl make sure that compiling against Xft header file doesn't bomb