From 72361fca012a05fd3d20f950fd051dbf374adcba Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Sun, 13 Oct 2019 11:59:14 -0400 Subject: contrib: Update to freetype 2.10.1. --- contrib/freetype/P00-mingw-lib.patch | 24 ++++++++++++------------ contrib/freetype/module.defs | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/contrib/freetype/P00-mingw-lib.patch b/contrib/freetype/P00-mingw-lib.patch index 607a0956c..e7e09e2cc 100644 --- a/contrib/freetype/P00-mingw-lib.patch +++ b/contrib/freetype/P00-mingw-lib.patch @@ -1,24 +1,24 @@ -diff -ur freetype-2.9.1.orig/builds/unix/ftconfig.in freetype-2.9.1/builds/unix/ftconfig.in ---- freetype-2.9.1.orig/builds/unix/ftconfig.in 2018-04-22 05:41:36.000000000 -0400 -+++ freetype-2.9.1/builds/unix/ftconfig.in 2019-02-26 15:43:31.000000000 -0500 -@@ -490,7 +490,7 @@ +diff -ur freetype-2.10.1.orig/builds/unix/ftconfig.in freetype-2.10.1/builds/unix/ftconfig.in +--- freetype-2.10.1.orig/builds/unix/ftconfig.in 2019-02-23 04:06:06.000000000 -0500 ++++ freetype-2.10.1/builds/unix/ftconfig.in 2019-10-13 16:10:52.000000000 -0400 +@@ -488,7 +488,7 @@ #ifdef FT2_BUILD_LIBRARY - #if defined( _WIN32 ) && ( defined( _DLL ) || defined( DLL_EXPORT ) ) + #if defined( _WIN32 ) && defined( DLL_EXPORT ) -#define FT_EXPORT( x ) __declspec( dllexport ) x +#define FT_EXPORT( x ) x #elif defined( __GNUC__ ) && __GNUC__ >= 4 #define FT_EXPORT( x ) __attribute__(( visibility( "default" ) )) x - #elif defined( __cplusplus ) -diff -ur freetype-2.9.1.orig/include/freetype/config/ftconfig.h freetype-2.9.1/include/freetype/config/ftconfig.h ---- freetype-2.9.1.orig/include/freetype/config/ftconfig.h 2018-04-22 05:41:36.000000000 -0400 -+++ freetype-2.9.1/include/freetype/config/ftconfig.h 2019-02-26 15:43:49.000000000 -0500 -@@ -458,7 +458,7 @@ + #elif defined( __SUNPRO_C ) && __SUNPRO_C >= 0x550 +diff -ur freetype-2.10.1.orig/include/freetype/config/ftconfig.h freetype-2.10.1/include/freetype/config/ftconfig.h +--- freetype-2.10.1.orig/include/freetype/config/ftconfig.h 2019-02-23 04:06:06.000000000 -0500 ++++ freetype-2.10.1/include/freetype/config/ftconfig.h 2019-10-13 16:12:48.000000000 -0400 +@@ -460,7 +460,7 @@ #ifdef FT2_BUILD_LIBRARY - #if defined( _WIN32 ) && ( defined( _DLL ) || defined( DLL_EXPORT ) ) + #if defined( _WIN32 ) && defined( DLL_EXPORT ) -#define FT_EXPORT( x ) __declspec( dllexport ) x +#define FT_EXPORT( x ) x #elif defined( __GNUC__ ) && __GNUC__ >= 4 #define FT_EXPORT( x ) __attribute__(( visibility( "default" ) )) x - #elif defined( __cplusplus ) + #elif defined( __SUNPRO_C ) && __SUNPRO_C >= 0x550 diff --git a/contrib/freetype/module.defs b/contrib/freetype/module.defs index e58291ec1..b493fc91b 100644 --- a/contrib/freetype/module.defs +++ b/contrib/freetype/module.defs @@ -2,9 +2,9 @@ __deps__ := BZIP2 ZLIB $(eval $(call import.MODULE.defs,FREETYPE,freetype,$(__deps__))) $(eval $(call import.CONTRIB.defs,FREETYPE)) -FREETYPE.FETCH.url = https://download.handbrake.fr/handbrake/contrib/freetype-2.9.1.tar.bz2 -FREETYPE.FETCH.url += https://download.savannah.gnu.org/releases/freetype/freetype-2.9.1.tar.bz2 -FREETYPE.FETCH.sha256 = db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d +FREETYPE.FETCH.url = https://download.handbrake.fr/handbrake/contrib/freetype-2.10.1.tar.gz +FREETYPE.FETCH.url += https://download.savannah.gnu.org/releases/freetype/freetype-2.10.1.tar.gz +FREETYPE.FETCH.sha256 = 3a60d391fd579440561bf0e7f31af2222bc610ad6ce4d9d7bd2165bca8669110 FREETYPE.CONFIGURE.deps = FREETYPE.CONFIGURE.extra = --with-harfbuzz=no --with-png=no -- cgit v1.2.3