You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							47 lines
						
					
					
						
							1.6 KiB
						
					
					
				
			
		
		
	
	
							47 lines
						
					
					
						
							1.6 KiB
						
					
					
				| # --- 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;
 | |
| 
 |