summaryrefslogtreecommitdiffstats
path: root/extra/sdl_ttf/sdl_ttf-noftinternals.patch
diff options
context:
space:
mode:
authorOlivier DOSSMANN <blankoworld@wanadoo.fr>2009-11-18 09:23:53 +0100
committerOlivier DOSSMANN <blankoworld@wanadoo.fr>2009-11-18 09:23:53 +0100
commit8a0f5d1f18166c81d557276fe4f56ae60477189d (patch)
tree0f800643c8bbc145e8c0c7b16199fd49f3790b07 /extra/sdl_ttf/sdl_ttf-noftinternals.patch
parentb1346931d78dd4268ab552e1f5569b53fc971b9a (diff)
downloadnutyx-extra-8a0f5d1f18166c81d557276fe4f56ae60477189d.tar.gz
nutyx-extra-8a0f5d1f18166c81d557276fe4f56ae60477189d.tar.bz2
nutyx-extra-8a0f5d1f18166c81d557276fe4f56ae60477189d.tar.xz
nutyx-extra-8a0f5d1f18166c81d557276fe4f56ae60477189d.zip
Ajout de sdl_ttf#2.0.8-1
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;