Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 19:15:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-approval requested: [Bug 211201] print/freetype2: update to 2.7, add V40 code : [Attachment 179958] Proposed patch (since 412348 revision)
Message-ID:  <bug-211201-6497-6PqtszJbho@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211201-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211201-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
lightside <lightside@gmx.com> has asked gnome@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=3D211201

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



--- Comment #76 from lightside <lightside@gmx.com> ---
Created attachment 179958
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179958&action=
=3Dedit
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 p=
ort.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211201-6497-6PqtszJbho>