diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-05-20 10:06:19 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-05-20 10:06:19 +0000 |
commit | b7831e6a69fbb7b4c9b3b6b1b99fa073ced41ab1 (patch) | |
tree | 764be2a90a894ac189f329a98e819842a02e94a5 /devel | |
parent | 308d03cf74e4f7b8e013c9162fc1a710cc9fc7be (diff) | |
download | pkgsrc-b7831e6a69fbb7b4c9b3b6b1b99fa073ced41ab1.tar.gz |
Bump PKGREVISION.
Add patch provided in upstream bug report,
http://bugzilla.libsdl.org/show_bug.cgi?id=1433
This patch fixes character drawing problem in games/onscripter at least.
Thank you, tsustui@.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/SDL_ttf/Makefile | 3 | ||||
-rw-r--r-- | devel/SDL_ttf/distinfo | 3 | ||||
-rw-r--r-- | devel/SDL_ttf/patches/patch-SDL__ttf.c | 16 |
3 files changed, 20 insertions, 2 deletions
diff --git a/devel/SDL_ttf/Makefile b/devel/SDL_ttf/Makefile index cd9153e171d..065aabcf64b 100644 --- a/devel/SDL_ttf/Makefile +++ b/devel/SDL_ttf/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.30 2012/01/28 13:49:14 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2012/05/20 10:06:19 ryoon Exp $ DISTNAME= SDL_ttf-2.0.11 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/ diff --git a/devel/SDL_ttf/distinfo b/devel/SDL_ttf/distinfo index f3a0e6ad9d6..b83258b8b94 100644 --- a/devel/SDL_ttf/distinfo +++ b/devel/SDL_ttf/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.10 2012/01/28 13:49:14 wiz Exp $ +$NetBSD: distinfo,v 1.11 2012/05/20 10:06:19 ryoon Exp $ SHA1 (SDL_ttf-2.0.11.tar.gz) = 0ccf7c70e26b7801d83f4847766e09f09db15cc6 RMD160 (SDL_ttf-2.0.11.tar.gz) = 95a06230f5e82ba7b06a39987ed1828985c70dae Size (SDL_ttf-2.0.11.tar.gz) = 4053686 bytes +SHA1 (patch-SDL__ttf.c) = 01507743903735974203e7995e698ab9de15d911 SHA1 (patch-aa) = 5ae58f13e2f48834eaf200131c9baaa5dc3d9d1a diff --git a/devel/SDL_ttf/patches/patch-SDL__ttf.c b/devel/SDL_ttf/patches/patch-SDL__ttf.c new file mode 100644 index 00000000000..0f6bcba70aa --- /dev/null +++ b/devel/SDL_ttf/patches/patch-SDL__ttf.c @@ -0,0 +1,16 @@ +$NetBSD: patch-SDL__ttf.c,v 1.1 2012/05/20 10:06:19 ryoon Exp $ + +Patch provided in upstream bug report, +http://bugzilla.libsdl.org/show_bug.cgi?id=1433 + +--- SDL_ttf.c.orig 2012-01-15 04:44:08.000000000 +0000 ++++ SDL_ttf.c +@@ -1747,7 +1747,7 @@ SDL_Surface* TTF_RenderGlyph_Shaded( TTF + /* 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; |