From: Bradley Sepos Date: Thu, 21 Feb 2019 16:26:56 +0000 (-0500) Subject: contrib: Update to FreeType 2.9.1. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f60354ef7ece3c69a0c6e83021778c28270b2880;p=handbrake contrib: Update to FreeType 2.9.1. --- diff --git a/contrib/freetype/P00-mingw-lib.patch b/contrib/freetype/P00-mingw-lib.patch new file mode 100644 index 000000000..607a0956c --- /dev/null +++ b/contrib/freetype/P00-mingw-lib.patch @@ -0,0 +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 @@ + #ifdef FT2_BUILD_LIBRARY + + #if defined( _WIN32 ) && ( defined( _DLL ) || 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 @@ + #ifdef FT2_BUILD_LIBRARY + + #if defined( _WIN32 ) && ( defined( _DLL ) || 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 --git a/contrib/freetype/module.defs b/contrib/freetype/module.defs index 19b11c902..bb88bfd22 100644 --- a/contrib/freetype/module.defs +++ b/contrib/freetype/module.defs @@ -2,8 +2,8 @@ __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.8.1.tar.bz2 -FREETYPE.FETCH.url += https://download.savannah.gnu.org/releases/freetype/freetype-2.8.1.tar.bz2 -FREETYPE.FETCH.sha256 = e5435f02e02d2b87bb8e4efdcaa14b1f78c9cf3ab1ed80f94b6382fb6acc7d78 +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.CONFIGURE.extra = --with-harfbuzz=no --with-png=no