FreeType: enable validation modules (#1385)

This commit is contained in:
hanya
2017-06-04 16:58:47 +00:00
committed by Jérôme Duval
parent 5178499277
commit d066d09248
2 changed files with 36 additions and 1 deletions

View File

@@ -5,9 +5,10 @@ output (glyph images) of most vector and bitmap font formats."
HOMEPAGE="https://www.freetype.org/"
COPYRIGHT="1996-2016 David Turner, Robert Wilhelm, Werner Lemberg, et al."
LICENSE="FreeType"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.savannah.gnu.org/releases/freetype/freetype-$portVersion.tar.bz2"
CHECKSUM_SHA256="a3c603ed84c3c2495f9c9331fe6bba3bb0ee65e06ec331e0a0fb52158291b40b"
PATCHES="enable-validation-modules.patchset"
#PATCHES="freetype-subpixel.patchset" # enable patented subpixel rendering
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"

View File

@@ -0,0 +1,34 @@
From 3c439449b9e532ed9ae0813974616c82cf110642 Mon Sep 17 00:00:00 2001
From: hanya <hanya.runo@gmail.com>
Date: Sun, 4 Jun 2017 07:04:08 +0000
Subject: Enable validation modules
---
modules.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules.cfg b/modules.cfg
index 517111e..64b2a34 100644
--- a/modules.cfg
+++ b/modules.cfg
@@ -120,7 +120,7 @@ AUX_MODULES += cache
# TrueType GX/AAT table validation. Needs ftgxval.c below.
#
# No FT_CONFIG_OPTION_PIC support.
-# AUX_MODULES += gxvalid
+AUX_MODULES += gxvalid
# Support for streams compressed with gzip (files with suffix .gz).
#
@@ -143,7 +143,7 @@ AUX_MODULES += bzip2
# OpenType table validation. Needs ftotval.c below.
#
# No FT_CONFIG_OPTION_PIC support.
-# AUX_MODULES += otvalid
+AUX_MODULES += otvalid
# Auxiliary PostScript driver component to share common code.
#
--
2.12.2