diff options
author | wiz <wiz> | 2006-06-12 16:24:44 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-06-12 16:24:44 +0000 |
commit | ea79fe74c331c49d85c5f7895e9dc76a95cac5d4 (patch) | |
tree | acc1f9508eadf7ec4d6d0d030790d80b94b49199 /devel/SDL_ttf/patches | |
parent | c85d62b6affd4d9147a91b4e4341e38c042e3257 (diff) | |
download | pkgsrc-ea79fe74c331c49d85c5f7895e9dc76a95cac5d4.tar.gz |
Update to 2.0.8:
2.0.8:
Stepan Roh - 2005-10-02 09:46
* Fixed line spacing by using font ascender and descender
Sam Lantinga - Sun Apr 30 01:48:40 PDT 2006
* Added gcc-fat.sh for generating Universal binaries on Mac OS X
* Updated libtool support to version 1.5.22
Add build fix patch for freetype2-2.2.1.
Bump BUILDLINK_ABI_DEPENDS for SDL shlib changes.
Diffstat (limited to 'devel/SDL_ttf/patches')
-rw-r--r-- | devel/SDL_ttf/patches/patch-aa | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/devel/SDL_ttf/patches/patch-aa b/devel/SDL_ttf/patches/patch-aa new file mode 100644 index 00000000000..5a53ecb9730 --- /dev/null +++ b/devel/SDL_ttf/patches/patch-aa @@ -0,0 +1,33 @@ +$NetBSD: patch-aa,v 1.3 2006/06/12 16:24:44 wiz Exp $ + +From +http://www.freetype.org/freetype2/patches/SDL_ttf-2.0.7-noftinternals.patch + +--- SDL_ttf.c.orig 2006-05-01 09:26:17.000000000 +0000 ++++ SDL_ttf.c +@@ -43,16 +43,6 @@ + #include FT_FREETYPE_H + #include FT_OUTLINE_H + #include FT_TRUETYPE_IDS_H +-/* +-#include <freetype/freetype.h> +-#include <freetype/ftoutln.h> +-#include <freetype/ttnameid.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" +@@ -278,7 +268,7 @@ TTF_Font* TTF_OpenFontIndexRW( SDL_RWops + } + 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; |