blob: db1e5afe06594e081ea158f69f7c61cc51679ed4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-psi_fapi__ft.c,v 1.1 2020/11/29 22:07:25 dholland Exp $
Fix build with freetype2 2.10.3+
--- psi/fapi_ft.c~ 2012-08-08 08:01:36.000000000 +0000
+++ psi/fapi_ft.c
@@ -53,6 +53,11 @@
#include FT_IMAGE_H
#include FT_BITMAP_H
+/* internal now-removed freetype2 object gs shouldn't have been using */
+#ifndef FT_CALLBACK_DEF
+#define FT_CALLBACK_DEF(decl) static decl
+#endif
+
/* Note: structure definitions here start with FF_, which stands for 'FAPI FreeType". */
typedef struct FF_server_s
|