summaryrefslogtreecommitdiff
path: root/fonts/xmbdfed/patches/patch-ab
blob: 6f8572da517fcebaeea4d905707ca11c5b8c0812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.2 2014/03/22 22:26:44 spz Exp $

make it deal gracefully with both freetype 2.4.* and 2.5.*

--- bdf.h.orig	2001-09-19 21:00:42.000000000 +0000
+++ bdf.h
@@ -40,8 +40,9 @@
 #endif /* HAVE_XLIB */
 
 #ifdef HAVE_FREETYPE
-#include <freetype.h>
-#include <extend/ftxsbit.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include <ftxsbit.h>
 #endif /* HAVE_FREETYPE */
 
 #ifdef __cplusplus