summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'fonts')
-rw-r--r--fonts/Xft2/distinfo3
-rw-r--r--fonts/Xft2/patches/patch-xftglyphs.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/fonts/Xft2/distinfo b/fonts/Xft2/distinfo
index 3db8eaf3ac8..dcb18fefb0e 100644
--- a/fonts/Xft2/distinfo
+++ b/fonts/Xft2/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2005/10/15 16:55:32 wiz Exp $
+$NetBSD: distinfo,v 1.12 2014/03/22 21:44:53 spz Exp $
SHA1 (libXft-2.1.7.tar.bz2) = bba656ae9bada7176517275f17738dc9932edf78
RMD160 (libXft-2.1.7.tar.bz2) = ad64b65bdffc3ea792d3c2c18d9bde14ef1f5a54
Size (libXft-2.1.7.tar.bz2) = 237056 bytes
+SHA1 (patch-xftglyphs.c) = 95b0d0d52f8bdb1bd9bbf2d2d004a3863775a983
diff --git a/fonts/Xft2/patches/patch-xftglyphs.c b/fonts/Xft2/patches/patch-xftglyphs.c
new file mode 100644
index 00000000000..8f262619e5d
--- /dev/null
+++ b/fonts/Xft2/patches/patch-xftglyphs.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-xftglyphs.c,v 1.1 2014/03/22 21:44:53 spz Exp $
+
+make it deal gracefully with both freetype 2.4.* and 2.5.*
+
+--- xftglyphs.c.orig 2005-03-02 05:32:14.000000000 +0000
++++ xftglyphs.c
+@@ -23,7 +23,8 @@
+ */
+
+ #include "xftint.h"
+-#include <freetype/ftoutln.h>
++#include <ft2build.h>
++#include FT_OUTLINE_H
+
+ static const int filters[3][3] = {
+ /* red */