aboutsummaryrefslogtreecommitdiff
path: root/games/wesnoth/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
commit29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch)
tree1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /games/wesnoth/files
parent7aad84f808b93baa6a7077ce0b47573b9c4c79a0 (diff)
downloadports-29747f458a1eb2ce23b4594b09d0256dd62760b8.tar.gz
ports-29747f458a1eb2ce23b4594b09d0256dd62760b8.zip
Notes
Diffstat (limited to 'games/wesnoth/files')
-rw-r--r--games/wesnoth/files/patch-src_sdl_ttf_SDL_ttf.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/wesnoth/files/patch-src_sdl_ttf_SDL_ttf.c b/games/wesnoth/files/patch-src_sdl_ttf_SDL_ttf.c
new file mode 100644
index 000000000000..ee4f8be540e1
--- /dev/null
+++ b/games/wesnoth/files/patch-src_sdl_ttf_SDL_ttf.c
@@ -0,0 +1,19 @@
+--- src/sdl_ttf/SDL_ttf.c.orig Wed Oct 4 16:45:59 2006
++++ src/sdl_ttf/SDL_ttf.c Wed Oct 4 16:46:32 2006
+@@ -48,7 +48,6 @@
+ #include <freetype/ftoutln.h>
+ #include <freetype/ttnameid.h>
+ */
+-#include <freetype/internal/ftobjs.h>
+
+ #ifndef FT_OPEN_STREAM
+ #define FT_OPEN_STREAM ft_open_stream
+@@ -282,7 +281,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;