summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2014-03-22 22:02:11 +0000
committerspz <spz@pkgsrc.org>2014-03-22 22:02:11 +0000
commit925957da4559d8bad3499881c40452b191ecfdcf (patch)
tree7004128bb4a0087792a2d3151dc44989a7b952f6 /fonts
parenteddbc53349a5faad010739a5d351a6302083e3ff (diff)
downloadpkgsrc-925957da4559d8bad3499881c40452b191ecfdcf.tar.gz
build fix following the freetype2 update
Diffstat (limited to 'fonts')
-rw-r--r--fonts/ttf2pt1/distinfo4
-rw-r--r--fonts/ttf2pt1/patches/patch-ab24
2 files changed, 20 insertions, 8 deletions
diff --git a/fonts/ttf2pt1/distinfo b/fonts/ttf2pt1/distinfo
index d7319413926..cbb14386d4f 100644
--- a/fonts/ttf2pt1/distinfo
+++ b/fonts/ttf2pt1/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2009/07/08 17:03:51 joerg Exp $
+$NetBSD: distinfo,v 1.6 2014/03/22 22:02:11 spz Exp $
SHA1 (ttf2pt1-3.4.4.tgz) = 936771b11a740c16a8e0adb737b54b22cca18cb2
RMD160 (ttf2pt1-3.4.4.tgz) = f88d7a26b30fa02055fd12ce1450220bd52d8df2
Size (ttf2pt1-3.4.4.tgz) = 230547 bytes
SHA1 (patch-aa) = 3168178e1801a876f5161e98f796c7796d40ab94
-SHA1 (patch-ab) = 4133a4ded43eec3da256eeea31ff35b9b8167351
+SHA1 (patch-ab) = 3c93b8179ed3d4e354813a79f492e6ddd9bcd132
diff --git a/fonts/ttf2pt1/patches/patch-ab b/fonts/ttf2pt1/patches/patch-ab
index b4df3af182c..81563085762 100644
--- a/fonts/ttf2pt1/patches/patch-ab
+++ b/fonts/ttf2pt1/patches/patch-ab
@@ -1,12 +1,24 @@
-$NetBSD: patch-ab,v 1.1 2004/04/27 15:18:08 adam Exp $
+$NetBSD: patch-ab,v 1.2 2014/03/22 22:02:11 spz Exp $
---- ft.c.orig 2004-04-27 10:58:11.000000000 +0000
+make it deal gracefully with both freetype 2.4.* and 2.5.*
+
+--- ft.c.orig 2003-12-31 21:30:50.000000000 +0000
+++ ft.c
-@@ -12,6 +12,7 @@
+@@ -12,11 +12,12 @@
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
+-#include <freetype/freetype.h>
+-#include <freetype/ftglyph.h>
+-#include <freetype/ftsnames.h>
+-#include <freetype/ttnameid.h>
+-#include <freetype/ftoutln.h>
+#include <ft2build.h>
- #include <freetype/freetype.h>
- #include <freetype/ftglyph.h>
- #include <freetype/ftsnames.h>
++#include FT_FREETYPE_H
++#include FT_GLYPH_H
++#include FT_SFNT_NAMES_H
++#include FT_TRUETYPE_IDS_H
++#include FT_OUTLINE_H
+ #include "pt1.h"
+ #include "global.h"
+