Add some old internal FreeType definitions to fix the server runtime. These

definitions come from the old ftinternal.h.

Submitted by:	Scott Allendorf <scott-allendorf@uiowa.edu>
Approved by:	portmgr (implicit)
This commit is contained in:
Joe Marcus Clarke 2006-10-21 21:58:35 +00:00
parent 04471b77b1
commit 0d32a85b88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175479
2 changed files with 8 additions and 2 deletions

View file

@ -2,11 +2,14 @@ $NetBSD: patch-bk,v 1.3 2006/06/01 22:44:09 tron Exp $
--- lib/font/FreeType/ftsystem.c.orig 2005-07-09 07:36:10.000000000 +0100
+++ lib/font/FreeType/ftsystem.c 2006-06-01 23:21:53.000000000 +0100
@@ -35,7 +35,6 @@
@@ -32,7 +32,9 @@
#endif
#include <ft2build.h>
#include FT_CONFIG_CONFIG_H
-#include FT_INTERNAL_DEBUG_H
+#define FT_TRACE( level, varformat ) do ; while ( 0 ) /* nothing */
+#define FT_TRACE1( varformat ) FT_TRACE( 1, varformat )
+#define FT_ERROR( varformat ) do ; while ( 0 ) /* nothing */
#include FT_SYSTEM_H
#include FT_ERRORS_H
#include FT_TYPES_H

View file

@ -2,11 +2,14 @@ $NetBSD: patch-bk,v 1.3 2006/06/01 22:44:09 tron Exp $
--- lib/font/FreeType/ftsystem.c.orig 2005-07-09 07:36:10.000000000 +0100
+++ lib/font/FreeType/ftsystem.c 2006-06-01 23:21:53.000000000 +0100
@@ -35,7 +35,6 @@
@@ -32,7 +32,9 @@
#endif
#include <ft2build.h>
#include FT_CONFIG_CONFIG_H
-#include FT_INTERNAL_DEBUG_H
+#define FT_TRACE( level, varformat ) do ; while ( 0 ) /* nothing */
+#define FT_TRACE1( varformat ) FT_TRACE( 1, varformat )
+#define FT_ERROR( varformat ) do ; while ( 0 ) /* nothing */
#include FT_SYSTEM_H
#include FT_ERRORS_H
#include FT_TYPES_H