Index: head/graphics/sdl_ttf/Makefile =================================================================== --- head/graphics/sdl_ttf/Makefile (revision 378575) +++ head/graphics/sdl_ttf/Makefile (revision 378576) @@ -1,36 +1,36 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= sdl_ttf PORTVERSION= 2.0.11 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/ DISTNAME= SDL_ttf-${PORTVERSION} MAINTAINER= mva@FreeBSD.org COMMENT= Library to use TrueType fonts to render text in SDL applications LICENSE= ZLIB LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 USES= gmake iconv libtool pathfix pkgconfig USE_SDL= sdl USE_XORG= x11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes OPTIONS_DEFINE= OPENGL OPTIONS_DEFAULT= OPENGL OPENGL_USE= GL=yes post-install: ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont \ ${STAGEDIR}${PREFIX}/bin/sdl-showfont .include Index: head/graphics/sdl_ttf/files/patch-bug1433 =================================================================== --- head/graphics/sdl_ttf/files/patch-bug1433 (nonexistent) +++ head/graphics/sdl_ttf/files/patch-bug1433 (revision 378576) @@ -0,0 +1,19 @@ +Description: Fix bug report "TTF_RenderGlyph_Shaded is broken" + Introduced in 2.0.11-2 (Sat, 03 Mar 2012). +Author: Unknown +Last-Update: 2012-03-03 +Bug-Debian: http://bugs.debian.org/661987 +Bug-Upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=1433 + +--- SDL_ttf.c ++++ SDL_ttf.c +@@ -1752,7 +1752,7 @@ + /* Copy the character from the pixmap */ + src = glyph->pixmap.buffer; + dst = (Uint8*) textbuf->pixels; +- for ( row = 0; row < glyph->bitmap.rows; ++row ) { ++ for ( row = 0; row < glyph->pixmap.rows; ++row ) { + memcpy( dst, src, glyph->pixmap.width ); + src += glyph->pixmap.pitch; + dst += textbuf->pitch; + Property changes on: head/graphics/sdl_ttf/files/patch-bug1433 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property