LevelDBDatabase::Compact compacts db (on disk) w/o requiring reopen.
[chromium-blink-merge.git] / third_party / freetype2 / freetype2.patch
blob07e94a30fdb11a87f12481fe13cb8d1c38282a03
1 diff --git a/third_party/freetype2/include/ftconfig.h b/third_party/freetype2/include/ftconfig.h
2 index 9ea3546..16f8854 100644
3 --- a/third_party/freetype2/include/ftconfig.h
4 +++ b/third_party/freetype2/include/ftconfig.h
5 @@ -397,9 +397,9 @@ FT_BEGIN_HEADER
6 #ifndef FT_EXPORT
8 #ifdef __cplusplus
9 -#define FT_EXPORT( x ) extern "C" x
10 +#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern "C" x
11 #else
12 -#define FT_EXPORT( x ) extern x
13 +#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern x
14 #endif
16 #endif /* !FT_EXPORT */
17 @@ -408,9 +408,9 @@ FT_BEGIN_HEADER
18 #ifndef FT_EXPORT_DEF
20 #ifdef __cplusplus
21 -#define FT_EXPORT_DEF( x ) extern "C" x
22 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern "C" x
23 #else
24 -#define FT_EXPORT_DEF( x ) extern x
25 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern x
26 #endif
28 #endif /* !FT_EXPORT_DEF */
29 diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
30 index 759b3a3..f921a04 100644
31 --- a/include/freetype/config/ftoption.h
32 +++ b/include/freetype/config/ftoption.h
33 @@ -92,7 +92,7 @@ FT_BEGIN_HEADER
34 /* This is done to allow FreeType clients to run unmodified, forcing */
35 /* them to display normal gray-level anti-aliased glyphs. */
36 /* */
37 -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
38 +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
41 /*************************************************************************/
42 @@ -495,7 +495,7 @@ FT_BEGIN_HEADER
43 /* Do not #undef this macro here, since the build system might */
44 /* define it for certain configurations only. */
45 /* */
46 -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
47 +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
50 /*************************************************************************/