polynomial-c 14/03/21 20:53:01 Added: coin-3.1.3-freetype251.patch Log: Fixed compilation with >=freetype-2.5.1 (bug #504556) (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Revision Changes Path 1.1 media-libs/coin/files/coin-3.1.3-freetype251.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/files/coin-3.1.3-freetype251.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/files/coin-3.1.3-freetype251.patch?rev=1.1&content-type=text/plain Index: coin-3.1.3-freetype251.patch =================================================================== --- Coin-3.1.3/src/glue/freetype.cpp +++ Coin-3.1.3/src/glue/freetype.cpp @@ -52,9 +52,9 @@ #ifdef HAVE_FREETYPE /* In case we're _not_ doing runtime linking. */ #define FREETYPEGLUE_ASSUME_FREETYPE 1 #include <ft2build.h> -#include <freetype/freetype.h> -#include <freetype/ftglyph.h> -#include <freetype/ftoutln.h> +#include FT_FREETYPE_H +#include FT_GLYPH_H +#include FT_OUTLINE_H #endif /* FREETYPEGLUE_ASSUME_FREETYPE */ #include <Inventor/C/basic.h> --- Coin-3.1.3/src/glue/freetype.h +++ Coin-3.1.3/src/glue/freetype.h @@ -87,8 +87,8 @@ #ifdef HAVE_FREETYPE #include <ft2build.h> -#include <freetype/freetype.h> -#include <freetype/ftglyph.h> +#include FT_FREETYPE_H +#include FT_GLYPH_H #else /* HAVE_FREETYPE */ #include <Inventor/C/basic.h>
