maintainer-approval requested: [Bug 211201] print/freetype2: update to 2.7, add V40 code : [Attachment 179958] Proposed patch (since 412348 revision)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 13 19:15:48 UTC 2017


lightside <lightside at gmx.com> has asked gnome at FreeBSD.org for
maintainer-approval:
Bug 211201: print/freetype2: update to 2.7, add V40 code
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211201

Attachment 179958: Proposed patch (since 412348 revision)
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179958&action=edit



--- Comment #76 from lightside <lightside at gmx.com> ---
Created attachment 179958
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179958&action=edit
Proposed patch (since 412348 revision)

Added sed patch to check defined TT_CONFIG_OPTION_SUBPIXEL_HINTING, e.g.:
-8<--
#if defined(TT_CONFIG_OPTION_SUBPIXEL_HINTING) &&
(TT_CONFIG_OPTION_SUBPIXEL_HINTING & 1)
#define  TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
#endif

#if defined(TT_CONFIG_OPTION_SUBPIXEL_HINTING) &&
(TT_CONFIG_OPTION_SUBPIXEL_HINTING & 2)
#define  TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
#endif
#endif
-->8-
instead of:
-8<--
#if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 1
#define  TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
#endif

#if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 2
#define  TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
#endif
-->8-
in include/freetype/config/ftoption.h file.

Compiler's warning about which was found, when building multimedia/ffmpeg port.

Other variants of patches was obsoleted (but may be used for reference, if
needed).


More information about the freebsd-gnome mailing list