Installation of FreeType2
Install FreeType2 by running the following
commands:
patch -Np1 -i ../freetype-&freetype2-version;-ahhint.patch &&
cp include/freetype/config/ftoption.h include/freetype/config/ftoption.h.orig &&
sed -e "s%\/\* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER \*\/%#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER%" \
include/freetype/config/ftoption.h.orig > include/freetype/config/ftoption.h &&
./configure --prefix=/usr &&
make &&
make install