summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-10-21 14:06:39 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2020-10-21 14:20:03 -0400
commit60476e9ab48d5bb0eb37298206c217d9f275b11e (patch)
tree494a63842d541c83dfb5c04543a6d972729561fe /recipes
parentb4b46bf710420b4928e38411387b8b696bf7b0c5 (diff)
Update FreeType to 2.10.4 to fix security vulnerability
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/642>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/freetype.recipe5
-rw-r--r--recipes/freetype/0001-pngshim-Workaround-buggy-mingw-compiler.patch34
2 files changed, 2 insertions, 37 deletions
diff --git a/recipes/freetype.recipe b/recipes/freetype.recipe
index 47368384..ca667c3a 100644
--- a/recipes/freetype.recipe
+++ b/recipes/freetype.recipe
@@ -3,14 +3,13 @@
class Recipe(recipe.Recipe):
name = 'freetype'
- version = '2.10.1'
+ version = '2.10.4'
stype = SourceType.TARBALL
url = 'savannah://.tar.xz'
- tarball_checksum = '16dbfa488a21fe827dc27eaf708f42f7aa3bb997d745d31a19781628c36ba26f'
+ tarball_checksum = '86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784'
licenses = [{License.FreeType: ['docs/LICENSE.TXT']}, License.GPLv2Plus]
configure_tpl = "%(config-sh)s --prefix=%(prefix)s --libdir=%(libdir)s --with-harfbuzz=no"
deps = ['zlib', 'bzip2', 'libpng']
- patches = ['freetype/0001-pngshim-Workaround-buggy-mingw-compiler.patch']
files_libs = ['libfreetype']
files_devel = ['lib/pkgconfig/freetype2.pc',
diff --git a/recipes/freetype/0001-pngshim-Workaround-buggy-mingw-compiler.patch b/recipes/freetype/0001-pngshim-Workaround-buggy-mingw-compiler.patch
deleted file mode 100644
index 266f0308..00000000
--- a/recipes/freetype/0001-pngshim-Workaround-buggy-mingw-compiler.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 96395f10a35a81b33064276f921a1bd0636d4837 Mon Sep 17 00:00:00 2001
-From: Edward Hervey <edward@centricular.com>
-Date: Thu, 22 Feb 2018 07:56:35 +0100
-Subject: [PATCH] pngshim: Workaround buggy mingw compiler
-
-Our antequated mingw toolchain is buggy :(
----
- src/sfnt/pngshim.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/src/sfnt/pngshim.c b/src/sfnt/pngshim.c
-index 1602026..b5fae67 100644
---- a/src/sfnt/pngshim.c
-+++ b/src/sfnt/pngshim.c
-@@ -63,7 +63,7 @@
- /* `__builtin_shuffle' for gcc was introduced in gcc 4.7.0. */
- #if ( ( defined( __GNUC__ ) && \
- ( ( __GNUC__ >= 5 ) || \
-- ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ >= 7 ) ) ) ) || \
-+ ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ > 7 ) ) ) ) || \
- ( defined( __clang__ ) && \
- ( ( __clang_major__ >= 4 ) || \
- ( ( __clang_major__ == 3 ) && ( __clang_minor__ >= 2 ) ) ) ) ) && \
-@@ -81,7 +81,6 @@
-
- typedef unsigned short v82 __attribute__(( vector_size( 16 ) ));
-
--
- if ( row_info->rowbytes > 15 )
- {
- /* process blocks of 16 bytes in one rush, which gives a nice speed-up */
---
-2.14.3
-