pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/wesnoth Fix freetype2-2.2.1 breakage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e229cec94cef
branches:  trunk
changeset: 514626:e229cec94cef
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jun 15 12:24:12 2006 +0000

description:
Fix freetype2-2.2.1 breakage.

diffstat:

 games/wesnoth/distinfo         |   3 ++-
 games/wesnoth/patches/patch-ab |  33 +++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r ed73203699ea -r e229cec94cef games/wesnoth/distinfo
--- a/games/wesnoth/distinfo    Thu Jun 15 11:42:41 2006 +0000
+++ b/games/wesnoth/distinfo    Thu Jun 15 12:24:12 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.17 2006/03/12 12:30:05 wiz Exp $
+$NetBSD: distinfo,v 1.18 2006/06/15 12:24:12 wiz Exp $
 
 SHA1 (wesnoth-1.0.2.tar.gz) = c2313242615b79249f26371bd7c410e8385adc0a
 RMD160 (wesnoth-1.0.2.tar.gz) = 20ba5be7078224f65a37d268eaf95be79e0e57c2
 Size (wesnoth-1.0.2.tar.gz) = 40034289 bytes
 SHA1 (patch-aa) = 28e6a2e8171336fb0f798b2f28ced9152e1678ae
+SHA1 (patch-ab) = 6e7414a0fcdb5b0b306e7cf4a62383bfdc0f1fa5
diff -r ed73203699ea -r e229cec94cef games/wesnoth/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wesnoth/patches/patch-ab    Thu Jun 15 12:24:12 2006 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-ab,v 1.3 2006/06/15 12:24:12 wiz Exp $
+
+From
+http://www.freetype.org/freetype2/patches/SDL_ttf-2.0.7-noftinternals.patch
+
+--- src/sdl_ttf/SDL_ttf.c.orig 2005-09-21 00:35:47.000000000 +0000
++++ src/sdl_ttf/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"
+@@ -282,7 +272,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;



Home | Main Index | Thread Index | Old Index