diff options
Diffstat (limited to 'patchsets/motif/2.3.4/06_all_fc-config.patch')
-rw-r--r-- | patchsets/motif/2.3.4/06_all_fc-config.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/patchsets/motif/2.3.4/06_all_fc-config.patch b/patchsets/motif/2.3.4/06_all_fc-config.patch new file mode 100644 index 0000000..6de2505 --- /dev/null +++ b/patchsets/motif/2.3.4/06_all_fc-config.patch @@ -0,0 +1,25 @@ +AC_FIND_XFT looks for the fontconfig-config program which does not +exist any more. Fall back to "pkg-config fontconfig". +https://bugs.gentoo.org/462232 +http://bugs.motifzone.net/show_bug.cgi?id=1593 + +--- motif-2.3.4-orig/ac_find_xft.m4 ++++ motif-2.3.4/ac_find_xft.m4 +@@ -189,7 +189,7 @@ + yes) + case "$fc_config" in + no) +- FONTCONFIG_CFLAGS="" ++ FONTCONFIG_CFLAGS="`pkg-config fontconfig --cflags`" + ;; + *) + FONTCONFIG_CFLAGS="`$fc_config --cflags`" +@@ -208,7 +208,7 @@ + yes) + case "$fc_config" in + no) +- fontconfig_lib="" ++ FONTCONFIG_LIBS="`pkg-config fontconfig --libs`" + ;; + *) + FONTCONFIG_LIBS="`$fc_config --libs`" |