diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2014-03-17 13:06:21 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2014-03-17 13:06:21 +0000 |
commit | 51a2c67898cd39c0a89c7a0c47d8db8842da64a6 (patch) | |
tree | 64327f1cd665e1c9488086730c6e2636db53891a /media-libs/lasi/files | |
parent | Version bump (diff) | |
download | gentoo-2-51a2c67898cd39c0a89c7a0c47d8db8842da64a6.tar.gz gentoo-2-51a2c67898cd39c0a89c7a0c47d8db8842da64a6.tar.bz2 gentoo-2-51a2c67898cd39c0a89c7a0c47d8db8842da64a6.zip |
Added compatibility fix for >=media-libs/freetype-2.5.1 (bug #504888)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'media-libs/lasi/files')
-rw-r--r-- | media-libs/lasi/files/lasi-1.1.1-freetype251.patch | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/media-libs/lasi/files/lasi-1.1.1-freetype251.patch b/media-libs/lasi/files/lasi-1.1.1-freetype251.patch new file mode 100644 index 000000000000..515b159208ff --- /dev/null +++ b/media-libs/lasi/files/lasi-1.1.1-freetype251.patch @@ -0,0 +1,63 @@ +Add compatibility for >=freetype-2.5.1 + +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> + +--- libLASi-1.1.1/include/LASi.h ++++ libLASi-1.1.1/include/LASi.h +@@ -11,7 +11,8 @@ + #include <sstream> + #include <map> + #include <pango/pango.h> +-#include <freetype/ftglyph.h> ++#include <ft2build.h> ++#include FT_GLYPH_H + + class FreetypeGlyphMgr; + class ContextMgr; +--- libLASi-1.1.1/src/drawGlyph.cpp ++++ libLASi-1.1.1/src/drawGlyph.cpp +@@ -6,7 +6,8 @@ + */ + + #include <ostream> +-#include <freetype/ftoutln.h> ++#include <ft2build.h> ++#include FT_OUTLINE_H + #include <algorithm> + #include <LASi.h> + #include <config.h> +--- libLASi-1.1.1/src/glyphMgr.cpp ++++ libLASi-1.1.1/src/glyphMgr.cpp +@@ -10,8 +10,7 @@ + + #include <ft2build.h> + #include FT_FREETYPE_H +- +-#include <freetype/ftglyph.h> ++#include FT_GLYPH_H + + #include <cassert> + #include "util.h" +--- libLASi-1.1.1/src/glyphMgr.h ++++ libLASi-1.1.1/src/glyphMgr.h +@@ -15,8 +15,8 @@ + + #include <ft2build.h> + #include FT_FREETYPE_H ++#include FT_GLYPH_H + +-#include <freetype/ftglyph.h> + + /** Manage FT_Glyph by insuring that FT_Glyph is handled correctly. + */ +--- libLASi-1.1.1/src/util.h ++++ libLASi-1.1.1/src/util.h +@@ -18,7 +18,7 @@ + + #include <ft2build.h> + #include FT_FREETYPE_H +-#include <freetype/ftglyph.h> ++#include FT_GLYPH_H + + std::ostream& operator<<(std::ostream&, const FT_Library); + std::ostream& operator<<(std::ostream&, const FT_Face); |