ttmkfdir ftbfs in rawhide due to freetype header move Here's a patch for the rawhide spec: diff --git a/ttmkfdir.spec b/ttmkfdir.spec index 262c213..395c3d1 100644 --- a/ttmkfdir.spec +++ b/ttmkfdir.spec @@ -16,6 +16,7 @@ Patch6: ttmkfdir-3.0.9-segfaults.patch Patch7: ttmkfdir-3.0.9-encoding-dir.patch Patch8: ttmkfdir-3.0.9-font-scale.patch Patch9: ttmkfdir-3.0.9-bug434301.patch +Patch99: freetype_header_fix.patch Source10: ttmkfdir.1 # Only licensing attribution is in README, no version. License: LGPLv2+ @@ -45,6 +46,7 @@ by the font server. %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch99 -p1 %build make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS" And the actual patch: diff -Nau ttmkfdir-3.0.9.orig/ttf.cpp ttmkfdir-3.0.9/ttf.cpp --- ttmkfdir-3.0.9.orig/ttf.cpp 2014-03-25 10:12:53.350009854 -0500 +++ ttmkfdir-3.0.9/ttf.cpp 2014-03-25 10:14:43.790009861 -0500 @@ -3,7 +3,7 @@ #include <cctype> #include <cstring> -#include "freetype/tttables.h" +#include "freetype2/tttables.h" #include "ttmkfdir.h" #include "ttf.h" #include "ttos2val.h"
looks like the correct location for header is #include "freetype2/freetype/tttables.h"
ah! my bad. In rawhide its location is actually freetype2/tttables.h Fixed in ttmkfdir-3.0.9-41.fc21