pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/ttmkfdir2 Fix build with newer freetype2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6012d59e60a9
branches:  trunk
changeset: 474368:6012d59e60a9
user:      recht <recht%pkgsrc.org@localhost>
date:      Wed Apr 28 00:10:04 2004 +0000

description:
Fix build with newer freetype2.
Patches obtained from FreeBSD.

diffstat:

 fonts/ttmkfdir2/distinfo         |   6 ++++--
 fonts/ttmkfdir2/patches/patch-ac |  25 +++++++++++++++++++++----
 fonts/ttmkfdir2/patches/patch-ae |  14 ++++++++++++++
 fonts/ttmkfdir2/patches/patch-af |  13 +++++++++++++
 4 files changed, 52 insertions(+), 6 deletions(-)

diffs (84 lines):

diff -r 52d7a9d846d4 -r 6012d59e60a9 fonts/ttmkfdir2/distinfo
--- a/fonts/ttmkfdir2/distinfo  Wed Apr 28 00:05:24 2004 +0000
+++ b/fonts/ttmkfdir2/distinfo  Wed Apr 28 00:10:04 2004 +0000
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.4 2004/04/03 22:59:03 recht Exp $
+$NetBSD: distinfo,v 1.5 2004/04/28 00:10:04 recht Exp $
 
 SHA1 (ttmkfdir2.20021109.tar.bz2) = bee1944ce3e5b6c4503a14e6429737cc558a24c0
 Size (ttmkfdir2.20021109.tar.bz2) = 701900 bytes
 SHA1 (patch-aa) = b87eb0d1076674e18ac80840b97e73bfb265d9cb
 SHA1 (patch-ab) = 5c7e936fead9551b2b206abb512a9bbdcaadd101
-SHA1 (patch-ac) = 23eb6e500522a1ce826a9b0899d7afff6017d096
+SHA1 (patch-ac) = c29cd845647d67102a89476d931e5ee6bae63078
 SHA1 (patch-ad) = 0c328908ffae3397293ff6b00094444e23164788
+SHA1 (patch-ae) = 8544a176af1c079405371789955391b400f0154e
+SHA1 (patch-af) = 9153a8c65960ce70a176418da2c507370a06d98b
diff -r 52d7a9d846d4 -r 6012d59e60a9 fonts/ttmkfdir2/patches/patch-ac
--- a/fonts/ttmkfdir2/patches/patch-ac  Wed Apr 28 00:05:24 2004 +0000
+++ b/fonts/ttmkfdir2/patches/patch-ac  Wed Apr 28 00:10:04 2004 +0000
@@ -1,8 +1,25 @@
-$NetBSD: patch-ac,v 1.2 2004/04/03 11:31:02 recht Exp $
+$NetBSD: patch-ac,v 1.3 2004/04/28 00:10:04 recht Exp $
 
---- ttf.h.orig 2002-11-07 06:28:44.000000000 +0100
-+++ ttf.h
-@@ -13,6 +13,8 @@
+--- ttf.h.orig 2004-04-28 02:03:16.000000000 +0200
++++ ttf.h      2004-04-28 02:03:35.000000000 +0200
+@@ -3,16 +3,19 @@
+ #define TTF_H__
+ 
+ #include <string>
+-#include "freetype/freetype.h"
+-#include "freetype/tttables.h"
+-#include "freetype/ftsnames.h"
+-#include "freetype/ttnameid.h"
+-#include "freetype/fterrors.h"
+-#include "freetype/ftmodule.h"
++#include <ft2build.h>
++#include FT_FREETYPE_H
++#include FT_TRUETYPE_TABLES_H
++#include FT_SFNT_NAMES_H
++#include FT_TRUETYPE_IDS_H
++#include FT_ERRORS_H
++#include FT_MODULE_H
+ 
  #include "util.h"
  #include "encoding.h"
  
diff -r 52d7a9d846d4 -r 6012d59e60a9 fonts/ttmkfdir2/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/ttmkfdir2/patches/patch-ae  Wed Apr 28 00:10:04 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1 2004/04/28 00:10:04 recht Exp $
+
+--- encoding.h.orig    2002-11-07 06:28:44.000000000 +0100
++++ encoding.h 2004-04-28 02:04:06.000000000 +0200
+@@ -6,7 +6,8 @@
+ #include <map>
+ #include <string>
+ 
+-#include "freetype/freetype.h"
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ 
+ #include "util.h"
+ 
diff -r 52d7a9d846d4 -r 6012d59e60a9 fonts/ttmkfdir2/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/ttmkfdir2/patches/patch-af  Wed Apr 28 00:10:04 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2004/04/28 00:10:04 recht Exp $
+
+--- encoding.cpp.orig  2002-11-07 06:28:44.000000000 +0100
++++ encoding.cpp       2004-04-28 02:04:02.000000000 +0200
+@@ -2,7 +2,7 @@
+ #include <cstdio>
+ #include <cstdlib>
+ #include <cstring>
+-#include "freetype/freetype.h"
++#include <ft2build.h>
+ 
+ #include "ttmkfdir.h"
+ #include "encoding.h"



Home | Main Index | Thread Index | Old Index