Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37765681
en ru br
ALT Linux repositórios
S:2.1.5-alt5
5.0: 2.1.5-alt3

Group :: Desenvolvimento/C++
RPM: Inventor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: Inventor-2.1.5-debian-freetype.patch
Download


Author: Steve M. Robbins <smr@debian.org>
Description: Don't use FT_Done_GlyphSlot()
  Removed use of FT_Done_GlyphSlot() to solve FTBFS bug #867111.
  The symbol FT_Done_GlyphSlot is presumably an internal detail.
  Fedora found that of 800 freetype-using packages, only Inventor
  used this symbol; see https://bugzilla.redhat.com/show_bug.cgi?id=1372368
  The documentation for this function reads:
    Destroys a given glyph slot. Remember however that all slots are
    automatically destroyed with its parent. Using this function is
    not always mandatory.
    See http://www.stillhq.com/freetype/doco/0.1/FT_Done_GlyphSlot.html
  Which suggests it likely that this function call was never required
  in the first place.
--- inventor-2.1.5-10.orig/libFL/ang/flfreetype.c
+++ inventor-2.1.5-10/libFL/ang/flfreetype.c
@@ -402,10 +402,6 @@
 _flFTDeleteGlyphChar(FLFreeTypeOutline *outline)
 {
   TRACE(("_flFTDeleteGlyphChar: outline=%p\n", outline));
-
-  if (outline) {
-    FT_Done_GlyphSlot(outline->glyph);
-  }
 }
 
 short
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009