summaryrefslogtreecommitdiffstats
path: root/extra/sdl_ttf/sdl_ttf-noftinternals.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-19 00:00:34 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-19 00:00:34 +0100
commit3d85319cad087118bc662827fc7900fafc2a9f49 (patch)
treecb68600a8d61250cddb3288d81b07811dff172f3 /extra/sdl_ttf/sdl_ttf-noftinternals.patch
parent0d1edb4f56d7c710e2b8880d0f39bef43c25ecd7 (diff)
parent7aff0a278510899662ca67da198f711c26f6d12c (diff)
downloadnutyx-extra-3d85319cad087118bc662827fc7900fafc2a9f49.tar.gz
nutyx-extra-3d85319cad087118bc662827fc7900fafc2a9f49.tar.bz2
nutyx-extra-3d85319cad087118bc662827fc7900fafc2a9f49.tar.xz
nutyx-extra-3d85319cad087118bc662827fc7900fafc2a9f49.zip
Merge remote branch 'blanko/master'
Diffstat (limited to 'extra/sdl_ttf/sdl_ttf-noftinternals.patch')
-rw-r--r--extra/sdl_ttf/sdl_ttf-noftinternals.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/sdl_ttf/sdl_ttf-noftinternals.patch b/extra/sdl_ttf/sdl_ttf-noftinternals.patch
new file mode 100644
index 000000000..2d536ff7c
--- /dev/null
+++ b/extra/sdl_ttf/sdl_ttf-noftinternals.patch
@@ -0,0 +1,24 @@
+diff -Nru SDL_ttf-2.0.8.orig/SDL_ttf.c SDL_ttf-2.0.8/SDL_ttf.c
+--- SDL_ttf-2.0.8.orig/SDL_ttf.c 2006-05-01 11:26:17.000000000 +0200
++++ SDL_ttf-2.0.8/SDL_ttf.c 2007-01-03 13:32:42.438178717 +0100
+@@ -47,9 +47,9 @@
+ #include <freetype/freetype.h>
+ #include <freetype/ftoutln.h>
+ #include <freetype/ttnameid.h>
+-*/
+-#include <freetype/internal/ftobjs.h>
+
++#include <freetype/internal/ftobjs.h>
++*/
+ #ifndef FT_OPEN_STREAM
+ #define FT_OPEN_STREAM ft_open_stream
+ #endif
+@@ -278,7 +278,7 @@
+ }
+ memset(stream, 0, sizeof(*stream));
+
+- stream->memory = library->memory;
++ stream->memory = NULL;
+ stream->read = RWread;
+ stream->descriptor.pointer = src;
+ stream->pos = (unsigned long)position;