pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/fontconfig Add a workaround for the Old in-tree ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/268d285d4826
branches:  trunk
changeset: 374060:268d285d4826
user:      he <he%pkgsrc.org@localhost>
date:      Mon Jan 15 08:59:15 2018 +0000

description:
Add a workaround for the Old in-tree fontconfig headers
on netbsd-6 (build fix).
Bump PKGREVISION.

diffstat:

 fonts/fontconfig/Makefile                       |   3 ++-
 fonts/fontconfig/distinfo                       |   3 ++-
 fonts/fontconfig/patches/patch-src_fcfreetype.c |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 58b04ecd740d -r 268d285d4826 fonts/fontconfig/Makefile
--- a/fonts/fontconfig/Makefile Mon Jan 15 08:52:25 2018 +0000
+++ b/fonts/fontconfig/Makefile Mon Jan 15 08:59:15 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.102 2017/10/02 14:42:44 wiz Exp $
+# $NetBSD: Makefile,v 1.103 2018/01/15 08:59:15 he Exp $
 
 DISTNAME=      fontconfig-2.12.6
+PKGREVISION=   1
 CATEGORIES=    fonts
 MASTER_SITES=  https://www.fontconfig.org/release/
 EXTRACT_SUFX=  .tar.bz2
diff -r 58b04ecd740d -r 268d285d4826 fonts/fontconfig/distinfo
--- a/fonts/fontconfig/distinfo Mon Jan 15 08:52:25 2018 +0000
+++ b/fonts/fontconfig/distinfo Mon Jan 15 08:59:15 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.61 2017/10/02 14:42:44 wiz Exp $
+$NetBSD: distinfo,v 1.62 2018/01/15 08:59:15 he Exp $
 
 SHA1 (fontconfig-2.12.6.tar.bz2) = cae963814ba4bc41f3c96876604d33fc3abfc572
 RMD160 (fontconfig-2.12.6.tar.bz2) = d6e7a5c0dbd658b39701fda897414640d032cdb1
@@ -10,6 +10,7 @@
 SHA1 (patch-configure) = 4256c69b24e57d92e7b3bc9b4640d822d782ec3e
 SHA1 (patch-scandir.c) = e35f4c005f635dd0d8bb949cd32aa34f5e314200
 SHA1 (patch-src_fccharset.c) = f3855554b3b3cab2530b46bc1ccec6a33303de7a
+SHA1 (patch-src_fcfreetype.c) = d162a814be3fa907c94c5a548e6af438052c5642
 SHA1 (patch-src_fcftint.h) = d629fd7ef9713ccc56800d033ba2e09c5a9e2bff
 SHA1 (patch-src_fcint.h) = 106da6fabdf1d90f6e943c2e6144657ddf65e9bf
 SHA1 (patch-src_fcstat.c) = 3aaa5b1a174644e5d655a9c5890998c9d80e8da9
diff -r 58b04ecd740d -r 268d285d4826 fonts/fontconfig/patches/patch-src_fcfreetype.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/fontconfig/patches/patch-src_fcfreetype.c   Mon Jan 15 08:59:15 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_fcfreetype.c,v 1.1 2018/01/15 08:59:15 he Exp $
+
+Workaround for in-tree freetype2 headers from netbsd-6.
+
+--- src/fcfreetype.c.orig      2017-09-21 07:53:35.000000000 +0000
++++ src/fcfreetype.c
+@@ -1267,6 +1267,9 @@ FcFreeTypeQueryFace (const FT_Face  face
+       }
+     }
+ 
++#if !defined(FT_SFNT_OS2) && !defined(ft_sfnt_os2)
++# define FT_SFNT_OS2 ft_sfnt_os2
++#endif
+     /*
+      * Get the OS/2 table
+      */



Home | Main Index | Thread Index | Old Index