summaryrefslogtreecommitdiff
path: root/print/paps/patches/patch-src_libpaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/paps/patches/patch-src_libpaps.c')
-rw-r--r--print/paps/patches/patch-src_libpaps.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/print/paps/patches/patch-src_libpaps.c b/print/paps/patches/patch-src_libpaps.c
new file mode 100644
index 00000000000..e8bc2a399bb
--- /dev/null
+++ b/print/paps/patches/patch-src_libpaps.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_libpaps.c,v 1.1 2014/03/23 08:14:23 spz Exp $
+
+make it deal gracefully with both freetype 2.4.* and 2.5.*
+
+--- src/libpaps.c.orig 2007-01-19 11:17:11.000000000 +0000
++++ src/libpaps.c
+@@ -25,8 +25,9 @@
+
+ #include <pango/pango.h>
+ #include <pango/pangoft2.h>
+-#include <freetype/ftglyph.h>
+-#include <freetype/ftoutln.h>
++#include <ft2build.h>
++#include FT_GLYPH_H
++#include FT_OUTLINE_H
+ #include <errno.h>
+ #include <stdlib.h>
+ #include <stdio.h>