rev 9565 - in trunk/packages/kdegraphics/debian: . patches

Ana Beatriz Guerrero López ana at alioth.debian.org
Tue Mar 4 10:54:28 UTC 2008


Author: ana
Date: 2008-03-04 10:54:28 +0000 (Tue, 04 Mar 2008)
New Revision: 9565

Added:
   trunk/packages/kdegraphics/debian/patches/02_kvdi_fonts_r780844.diff
Modified:
   trunk/packages/kdegraphics/debian/changelog
Log:
  * Add patch 02_kvdi_fonts_r780844.diff by Pino Toscano to clear the fonts
    before FreeType gets unloaded.



Modified: trunk/packages/kdegraphics/debian/changelog
===================================================================
--- trunk/packages/kdegraphics/debian/changelog	2008-03-04 09:46:14 UTC (rev 9564)
+++ trunk/packages/kdegraphics/debian/changelog	2008-03-04 10:54:28 UTC (rev 9565)
@@ -40,6 +40,8 @@
   * Update to Standards-Version 3.7.3, no changes required.
   * Add Homepage to source field.
   * debian/copyright add copyright statement to the KDE project.
+  * Add patch 02_kvdi_fonts_r780844.diff by Pino Toscano to clear the fonts
+    before FreeType gets unloaded.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 02 Mar 2008 15:37:45 +0100
 

Added: trunk/packages/kdegraphics/debian/patches/02_kvdi_fonts_r780844.diff
===================================================================
--- trunk/packages/kdegraphics/debian/patches/02_kvdi_fonts_r780844.diff	                        (rev 0)
+++ trunk/packages/kdegraphics/debian/patches/02_kvdi_fonts_r780844.diff	2008-03-04 10:54:28 UTC (rev 9565)
@@ -0,0 +1,24 @@
+SVN commit 780844 by pino:
+
+Manually clear the fonts before FreeType gets unloaded.
+Otherwise unloading the FreeType font later can (and will) result in a crash.
+
+BUG: 105297
+CCMAIL: kde-packager at kde.org
+
+
+ M  +3 -0      fontpool.cpp  
+
+
+--- kdvi/fontpool.cpp #780843:780844
++++ kdvi/fontpool.cpp #780843:780844
+@@ -111,6 +111,9 @@
+   kdDebug(4300) << "fontPool::~fontPool() called" << endl;
+ #endif
+ 
++  // need to manually clear the fonts _before_ freetype gets unloaded
++  fontList.clear();
++
+ #ifdef HAVE_FREETYPE
+   if (FreeType_could_be_loaded == true)
+     FT_Done_FreeType( FreeType_library );




More information about the pkg-kde-commits mailing list