$OpenBSD: patch-plug-ins_postscript_diapsft2renderer_c,v 1.2 2014/01/10 19:36:00 ajacoutot Exp $

From 0b863adcad031c70601e375d72dae64fdd967752 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Mon, 16 Dec 2013 22:30:40 +0000
Subject: plugin: Use the Freetype developer's proposed way if #include'ing their headers.

--- plug-ins/postscript/diapsft2renderer.c.orig	Sat Nov  7 18:13:53 2009
+++ plug-ins/postscript/diapsft2renderer.c	Fri Jan 10 19:19:13 2014
@@ -29,8 +29,9 @@
 #include <pango/pangoft2.h>
 #include <pango/pango-engine.h>
 /* I'd really rather avoid this */
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
+#include <ft2build.h>
+#include FT_GLYPH_H
+#include FT_OUTLINE_H
 
 #define DPI 300
 
