From owner-svn-ports-all@FreeBSD.ORG Sat Feb 7 08:58:22 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 420D7E5D; Sat, 7 Feb 2015 08:58:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DBE8CC0; Sat, 7 Feb 2015 08:58:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t178wLUc067034; Sat, 7 Feb 2015 08:58:21 GMT (envelope-from mva@FreeBSD.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t178wLOM067032; Sat, 7 Feb 2015 08:58:21 GMT (envelope-from mva@FreeBSD.org) Message-Id: <201502070858.t178wLOM067032@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mva set sender to mva@FreeBSD.org using -f From: Marcus von Appen Date: Sat, 7 Feb 2015 08:58:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378576 - in head/graphics/sdl_ttf: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 08:58:22 -0000 Author: mva Date: Sat Feb 7 08:58:20 2015 New Revision: 378576 URL: https://svnweb.freebsd.org/changeset/ports/378576 QAT: https://qat.redports.org/buildarchive/r378576/ Log: - Fix font rendering via TTF_RenderGlyph_Shaded() PR: 196655 Submitted by: jbeich@ Added: head/graphics/sdl_ttf/files/ head/graphics/sdl_ttf/files/patch-bug1433 (contents, props changed) Modified: head/graphics/sdl_ttf/Makefile Modified: head/graphics/sdl_ttf/Makefile ============================================================================== --- head/graphics/sdl_ttf/Makefile Sat Feb 7 08:49:24 2015 (r378575) +++ head/graphics/sdl_ttf/Makefile Sat Feb 7 08:58:20 2015 (r378576) @@ -3,7 +3,7 @@ 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} Added: head/graphics/sdl_ttf/files/patch-bug1433 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/sdl_ttf/files/patch-bug1433 Sat Feb 7 08:58:20 2015 (r378576) @@ -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; +