summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-03-17 13:06:21 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-03-17 13:06:21 +0000
commit51a2c67898cd39c0a89c7a0c47d8db8842da64a6 (patch)
tree64327f1cd665e1c9488086730c6e2636db53891a /media-libs/lasi/files
parentVersion bump (diff)
downloadgentoo-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.patch63
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);