summaryrefslogtreecommitdiff
path: root/fonts/Xft2/patches
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2014-03-22 21:44:53 +0000
committerspz <spz@pkgsrc.org>2014-03-22 21:44:53 +0000
commiteddbc53349a5faad010739a5d351a6302083e3ff (patch)
tree912796add2ad732d4984fe9bf66da50da1c203bc /fonts/Xft2/patches
parentee3918abb0107e3159dae359352f71d7ebf68a77 (diff)
downloadpkgsrc-eddbc53349a5faad010739a5d351a6302083e3ff.tar.gz
build fix following the freetype2 update
Diffstat (limited to 'fonts/Xft2/patches')
-rw-r--r--fonts/Xft2/patches/patch-xftglyphs.c16
1 files changed, 16 insertions, 0 deletions
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 */