Browse Source

libsdl_ttf: Updated (2.0.8 -> 2.0.11)

user/chris/next/shadow
Christian Wiese 13 years ago
parent
commit
7d40186ceb
  1. 6
      graphic/libsdl_ttf/libsdl_ttf.desc
  2. 47
      graphic/libsdl_ttf/noftinternals.patch

6
graphic/libsdl_ttf/libsdl_ttf.desc

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libsdl_ttf/libsdl_ttf.desc
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2012 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -30,7 +30,7 @@
[L] GPL
[S] Stable
[V] 2.0.8
[V] 2.0.11
[P] X -----5---9 146.000
[D] 716343315 SDL_ttf-2.0.8.tar.gz http://www.libsdl.org/projects/SDL_ttf/release/
[D] 3507651622 SDL_ttf-2.0.11.tar.gz http://www.libsdl.org/projects/SDL_ttf/release/

47
graphic/libsdl_ttf/noftinternals.patch

@ -1,47 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libsdl_ttf/noftinternals.patch
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Patch redone. Original taken from http://freetype.fis.uniroma2.it/freetype2/patches/SDL_ttf-2.0.7-noftinternals.patch
diff -u 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-06-23 16:49:18.000000000 +0200
@@ -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 @@
}
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;
Loading…
Cancel
Save