[BACK]Return to patch-src_fcfreetype.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / fonts / fontconfig / patches

File: [cvs.NetBSD.org] / pkgsrc / fonts / fontconfig / patches / patch-src_fcfreetype.c (download)

Revision 1.2, Sun Mar 11 17:54:03 2018 UTC (3 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, HEAD
Changes since 1.1: +5 -5 lines

fontconfig: update to 2.13.0.

Finally we have made new stable release, 2.13.0 here. summaries for
changes since last stable release of 2.12.6 are:
- Improve the footprint on cache creation
- emoji/math fonts support
- variable fonts support
- config file description support
- allow sharing caches with bind-mounted dirs
- bug fixes

$NetBSD: patch-src_fcfreetype.c,v 1.2 2018/03/11 17:54:03 wiz Exp $

Workaround for in-tree freetype2 headers from netbsd-6.

--- src/fcfreetype.c.orig	2018-03-02 04:27:09.000000000 +0000
+++ src/fcfreetype.c
@@ -1338,6 +1338,9 @@ FcFreeTypeQueryFaceInternal (const FT_Fa
     if (!FcPatternAddBool (pat, FC_VARIABLE, variable))
 	goto bail1;
 
+#if !defined(FT_SFNT_OS2) && !defined(ft_sfnt_os2)
+# define FT_SFNT_OS2 ft_sfnt_os2
+#endif
     /*
      * Get the OS/2 table
      */