tags 369090 + patch
thanks

Hello,

A patch similar to [1] can be applied here.

Applying the attached patch fixes the FTBFS.


[1]
http://www.freetype.org/freetype2/patches/SDL_ttf-2.0.7-noftinternals.patch

--- libgag/src/SDL_ttf.c.orig	2006-06-05 21:48:31.829231750 +0200
+++ libgag/src/SDL_ttf.c	2006-06-05 21:51:05.514836500 +0200
@@ -43,11 +43,6 @@
 #include FT_FREETYPE_H
 #include FT_OUTLINE_H
 #include FT_TRUETYPE_IDS_H
-#include <freetype/internal/ftobjs.h>
-
-#ifndef FT_OPEN_STREAM
-#define FT_OPEN_STREAM ft_open_stream
-#endif
 
 #include <SDL.h>
 #include "SDL_endian.h"
@@ -270,7 +265,7 @@
 	}
 	memset(stream, 0, sizeof(*stream));
 
-	stream->memory = library->memory;
+	stream->memory = NULL; /* set by FT_Open_Face */
 	stream->read = RWread;
 	stream->descriptor.pointer = src;
 	stream->pos = (unsigned long)position;

Reply via email to