From b24bd25253fe093f722ab576d29fdc41d04cb1ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Aug 2019 19:14:55 +0100 Subject: gentoo resync : 02.08.2019 --- .../scorched3d/files/scorched3d-44-freetype.patch | 65 +++++++--------------- 1 file changed, 20 insertions(+), 45 deletions(-) (limited to 'games-strategy/scorched3d/files/scorched3d-44-freetype.patch') diff --git a/games-strategy/scorched3d/files/scorched3d-44-freetype.patch b/games-strategy/scorched3d/files/scorched3d-44-freetype.patch index e4717972d81a..37aa0436eb4a 100644 --- a/games-strategy/scorched3d/files/scorched3d-44-freetype.patch +++ b/games-strategy/scorched3d/files/scorched3d-44-freetype.patch @@ -1,45 +1,20 @@ ---- a/acinclude.m4 -+++ b/acinclude.m4 -@@ -437,7 +437,7 @@ - if test "$FT2_CONFIG" = "no" ; then - no_ft=yes - else -- FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags` -+ FT2_CFLAGS="`$FT2_CONFIG $ft_config_args --cflags` `$FT2_CONFIG $ft_config_args --cflags | sed -e 's:freetype2:freetype2/freetype:'`" - FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs` - ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` ---- a/src/client/GLEXT/GLFont2dFreeType.h -+++ b/src/client/GLEXT/GLFont2dFreeType.h -@@ -23,10 +23,10 @@ - - #include - #include --#include --#include --#include --#include -+#include -+#include -+#include -+#include - #include - - class GLFont2dFreeType ---- a/src/launcher/wxdialogs/TrueTypeFont.h -+++ b/src/launcher/wxdialogs/TrueTypeFont.h -@@ -25,10 +25,10 @@ - #include - #include - #include --#include --#include --#include --#include -+#include -+#include -+#include -+#include - - class TrueTypeFont - { +diff --git a/configure-ft.m4 b/configure-ft.m4 +index d27678ca..ce369bf4 100644 +--- a/configure-ft.m4 ++++ b/configure-ft.m4 +@@ -1,14 +1,2 @@ + dnl Check for FreeType2 +-AC_CHECK_FT2(7.0.1, ftype=1) +-if test "$ftype" != 1; then +- AC_MSG_ERROR([ +- FreeType2 must be installed on your system +- but freetype-config couldn't be found. +- Please check that freetype-config is in the path, the directory +- where the freetype libraries are installed (returned by +- 'freetype-config --libs' command) is in LD_LIBRARY_PATH or +- equivalent variable and freetype version is 7.0.1 or above +- Try http://www.freetype.org to download freetype. +- ]) +-fi +- ++PKG_CHECK_MODULES(FT2, freetype2 >= 7.0.1) -- cgit v1.2.3