diff options
author | spz <spz> | 2014-03-23 08:14:23 +0000 |
---|---|---|
committer | spz <spz> | 2014-03-23 08:14:23 +0000 |
commit | 603d66f02891d713525ec6325caae50d64938986 (patch) | |
tree | 56d53b02de96c791c80493559a03bc48dc1048b5 /print | |
parent | dedb423093bf1929909149329428fa9c2336d267 (diff) | |
download | pkgsrc-603d66f02891d713525ec6325caae50d64938986.tar.gz |
build fix following the freetype2 update
Diffstat (limited to 'print')
-rw-r--r-- | print/paps/distinfo | 3 | ||||
-rw-r--r-- | print/paps/patches/patch-src_libpaps.c | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/print/paps/distinfo b/print/paps/distinfo index 784df812ee3..46f78d65126 100644 --- a/print/paps/distinfo +++ b/print/paps/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2012/02/14 20:07:32 wiz Exp $ +$NetBSD: distinfo,v 1.2 2014/03/23 08:14:23 spz Exp $ SHA1 (paps-0.6.8.tar.gz) = 83646b0de89deb8321f260c2c5a665bc7c8f5928 RMD160 (paps-0.6.8.tar.gz) = f8dda178279a4e5903b45b803e8a3ae42df3afdd Size (paps-0.6.8.tar.gz) = 460062 bytes +SHA1 (patch-src_libpaps.c) = 5bb4d91497500bfe53f25f03b33dff75c3431028 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> |