diff options
author | wiz <wiz@pkgsrc.org> | 2016-01-14 23:12:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-01-14 23:12:01 +0000 |
commit | 79e9f276dac6d4a3f501969bb26020d6148d6616 (patch) | |
tree | 5d91bc29365a1d97c1593e495b7841812f68d091 /emulators/mame/patches | |
parent | 9fec45629d688a80d190477ff15fa475ebc759d6 (diff) | |
download | pkgsrc-79e9f276dac6d4a3f501969bb26020d6148d6616.tar.gz |
Fix build with freetype2-2.6.2.
Diffstat (limited to 'emulators/mame/patches')
-rw-r--r-- | emulators/mame/patches/patch-3rdparty_bgfx_examples_common_font_font__manager.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/mame/patches/patch-3rdparty_bgfx_examples_common_font_font__manager.cpp b/emulators/mame/patches/patch-3rdparty_bgfx_examples_common_font_font__manager.cpp new file mode 100644 index 00000000000..f1d7754c5da --- /dev/null +++ b/emulators/mame/patches/patch-3rdparty_bgfx_examples_common_font_font__manager.cpp @@ -0,0 +1,17 @@ +$NetBSD: patch-3rdparty_bgfx_examples_common_font_font__manager.cpp,v 1.1 2016/01/14 23:12:01 wiz Exp $ + +Compatibility with freetype2-2.6.2. + +--- 3rdparty/bgfx/examples/common/font/font_manager.cpp.orig 2015-12-30 07:18:51.000000000 +0000 ++++ 3rdparty/bgfx/examples/common/font/font_manager.cpp +@@ -17,7 +17,9 @@ BX_PRAGMA_DIAGNOSTIC_IGNORED_MSVC(4245) + #pragma push_macro("interface") + #endif + #undef interface +-#include <freetype/freetype.h> ++#include <ft2build.h> ++#include FT_FREETYPE_H ++#include FT_GLYPH_H + #if BX_COMPILER_MSVC || BX_COMPILER_GCC >= 40300 + #pragma pop_macro("interface") + #endif |