summaryrefslogtreecommitdiff
path: root/emulators/mame
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-01-14 23:12:01 +0000
committerwiz <wiz@pkgsrc.org>2016-01-14 23:12:01 +0000
commit79e9f276dac6d4a3f501969bb26020d6148d6616 (patch)
tree5d91bc29365a1d97c1593e495b7841812f68d091 /emulators/mame
parent9fec45629d688a80d190477ff15fa475ebc759d6 (diff)
downloadpkgsrc-79e9f276dac6d4a3f501969bb26020d6148d6616.tar.gz
Fix build with freetype2-2.6.2.
Diffstat (limited to 'emulators/mame')
-rw-r--r--emulators/mame/distinfo3
-rw-r--r--emulators/mame/patches/patch-3rdparty_bgfx_examples_common_font_font__manager.cpp17
2 files changed, 19 insertions, 1 deletions
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index 4fbc7339e91..87b3df1f77c 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.45 2016/01/02 16:45:03 wiz Exp $
+$NetBSD: distinfo,v 1.46 2016/01/14 23:12:01 wiz Exp $
SHA1 (mame-0.169.tar.gz) = cf4f08ea8d3657ed436be536e361816d6f932440
RMD160 (mame-0.169.tar.gz) = 83c1cf7eb9757aa4df35a0a4d8eb649b3757e496
SHA512 (mame-0.169.tar.gz) = 3eab159e398d0f11ce2457fdd456bf8215b0587afd92e84d5d4779deeaf21070d336c0d065694cf573f7f9e4aa837b37607c8d2bb92d7efba210a003bbe4d2b7
Size (mame-0.169.tar.gz) = 88618742 bytes
+SHA1 (patch-3rdparty_bgfx_examples_common_font_font__manager.cpp) = e39b2dff553505531adb5f0a31b0a22306b8e2e4
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