[Pkg-sdl-commits] [SCM] Packaging of SDL_ttf branch, master, updated. debian/2.0.9-1.1-24-gc5308a4
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Sat Mar 3 18:25:13 UTC 2012
The following commit has been merged in the master branch:
commit 96d0958f8212721e2ef7675f39fcc58f3afefa2f
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date: Sat Mar 3 16:05:43 2012 +0000
Added patch for "TTF_RenderGlyph_Shaded is broken" (Closes: #661987)
Thanks Ying-Chun Liu (PaulLiu) for the report and pointing to the fix.
diff --git a/debian/changelog b/debian/changelog
index 6dbd33c..436b0da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ sdl-ttf2.0 (2.0.11-2) unstable; urgency=low
* Depend on debhelper>=9~
- Remove lintian warning
package-needs-versioned-debhelper-build-depends 9
+ * Added patch for "TTF_RenderGlyph_Shaded is broken" (Closes: #661987), thanks
+ Ying-Chun Liu (PaulLiu) for the report and pointing to the fix.
-- Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com> Sat, 03 Mar 2012 15:46:34 +0000
diff --git a/debian/patches/fix_bug_661987_TTF_RenderGlyph_Shaded_is_broken b/debian/patches/fix_bug_661987_TTF_RenderGlyph_Shaded_is_broken
new file mode 100644
index 0000000..dcce209
--- /dev/null
+++ b/debian/patches/fix_bug_661987_TTF_RenderGlyph_Shaded_is_broken
@@ -0,0 +1,16 @@
+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
+--- SDL_ttf.c.orig 2012-02-12 16:36:41.859977617 +0100
++++ SDL_ttf.c 2012-02-12 16:36:53.696580159 +0100
+@@ -1747,7 +1747,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;
diff --git a/debian/patches/series b/debian/patches/series
index fab08e5..64c0b93 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
link_libm_ftbfs_binutils-gold
+fix_bug_661987_TTF_RenderGlyph_Shaded_is_broken
--
Packaging of SDL_ttf
More information about the pkg-sdl-commits
mailing list