Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37769282
en ru br
Репозитории ALT
S:2.1.5-alt5
5.1: 2.1.5-alt3
www.altlinux.org/Changes

Группа :: Разработка/C++
Пакет: Inventor

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: Inventor-2.1.5-debian-freetype.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin