Ticket #4392: webkitgtk-2.2.2-freetype-1.patch

File webkitgtk-2.2.2-freetype-1.patch, 924 bytes (added by Fernando de Oliveira, 11 years ago)
  • TabularUnified webkitgtk-2.2.2/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp

    Submitted By: Fernando de Oliveira <famobr at yahoo dot com dot br>
    Date: 2013-12-01
    Initial Package Version: 2.2.2
    Upstream Status: Unknown
    Origin: Fernando de Oliveira
    URL: 
    Description: Fixes build with FreeType-2.5.1
    
    diff -Naur webkitgtk-2.2.2/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp.orig webkitgtk-2.2.2/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp
    old new  
    3939#include "TextEncoding.h"
    4040#include <cairo-ft.h>
    4141#include <cairo.h>
    42 #include <freetype/freetype.h>
    43 #include <freetype/tttables.h>
     42#include <ft2build.h>
     43#include FT_FREETYPE_H
     44#include FT_TRUETYPE_TABLES_H
    4445#include <hb.h>
    4546#include <wtf/text/CString.h>
    4647