summaryrefslogtreecommitdiff
path: root/freetype-2.10.1-debughook.patch
diff options
context:
space:
mode:
Diffstat (limited to 'freetype-2.10.1-debughook.patch')
-rw-r--r--freetype-2.10.1-debughook.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/freetype-2.10.1-debughook.patch b/freetype-2.10.1-debughook.patch
new file mode 100644
index 0000000..4421401
--- /dev/null
+++ b/freetype-2.10.1-debughook.patch
@@ -0,0 +1,13 @@
+diff --git a/include/freetype/ftmodapi.h b/include/freetype/ftmodapi.h
+index 8d039c4f3..88488bfe8 100644
+--- a/include/freetype/ftmodapi.h
++++ b/include/freetype/ftmodapi.h
+@@ -623,7 +623,7 @@ FT_BEGIN_HEADER
+ * it is bytecode interpreter's execution context, `TT_ExecContext`,
+ * which is declared in FreeType's internal header file `tttypes.h`.
+ */
+- typedef FT_Error
++ typedef void
+ (*FT_DebugHook_Func)( void* arg );
+
+