tomwij 14/04/27 14:18:30 Added: gnu-classpath-0.98-r3-freetype-2.5.3-support.patch Log: Make gnu-classpath support freetype 2.5.3; fixes bug #504944, reported and patch contributed by darkbasic. (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Revision Changes Path 1.1 dev-java/gnu-classpath/files/gnu-classpath-0.98-r3-freetype-2.5.3-support.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/gnu-classpath/files/gnu-classpath-0.98-r3-freetype-2.5.3-support.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/gnu-classpath/files/gnu-classpath-0.98-r3-freetype-2.5.3-support.patch?rev=1.1&content-type=text/plain Index: gnu-classpath-0.98-r3-freetype-2.5.3-support.patch =================================================================== --- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c.orig 2014-03-18 10:35:50.904133661 +0100 +++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c 2014-03-18 10:37:03.808131298 +0100 @@ -42,8 +42,9 @@ #include <pango/pango.h> #include <pango/pangoft2.h> #include <pango/pangofc-font.h> -#include <freetype/ftglyph.h> -#include <freetype/ftoutln.h> +#include <ft2build.h> +#include FT_GLYPH_H +#include FT_OUTLINE_H #include "jcl.h" #include "gdkfont.h" #include "gnu_java_awt_peer_gtk_FreetypeGlyphVector.h" --- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c.orig 2014-03-18 10:37:12.048131031 +0100 +++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 2014-03-18 10:37:58.416129528 +0100 @@ -39,10 +39,11 @@ #include <pango/pango.h> #include <pango/pangoft2.h> #include <pango/pangofc-font.h> -#include <freetype/ftglyph.h> -#include <freetype/ftoutln.h> -#include <freetype/fttypes.h> -#include <freetype/tttables.h> +#include <ft2build.h> +#include FT_GLYPH_H +#include FT_OUTLINE_H +#include FT_TYPES_H +#include FT_TRUETYPE_TABLES_H #include "gdkfont.h" #include "gtkpeer.h" #include "gnu_java_awt_peer_gtk_GdkFontPeer.h"
