19 lines
413 B
Plaintext
19 lines
413 B
Plaintext
$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
|