From 112dcc81124c54487499ea4a06797a4095a7aea0 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 14 Oct 2015 23:19:00 +0200 Subject: [PATCH] gnome-base/libgnomeprint: Fixed compilation with freetype-2.6.1 (bug #562302). Package-Manager: portage-2.2.23 Signed-off-by: Lars Wendler --- .../libgnomeprint-2.18.8-freetype-2.5.1.patch | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-freetype-2.5.1.patch b/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-freetype-2.5.1.patch index c0cb5957fae8..1a54e9be5b67 100644 --- a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-freetype-2.5.1.patch +++ b/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-freetype-2.5.1.patch @@ -1,14 +1,15 @@ -From cf17a44bd5b8aac1c73f3bb00ca872cd8f08df4a Mon Sep 17 00:00:00 2001 -From: Alexandre Rostovtsev -Date: Mon, 17 Mar 2014 00:01:10 -0400 +From e848ee98108ab8c5b12e2167b041b274b4bede83 Mon Sep 17 00:00:00 2001 +From: Lars Wendler +Date: Thu, 8 Oct 2015 11:06:44 +0200 Subject: [PATCH] Update freetype includes to work with >=freetype-2.5.1 +Signed-off-by: Lars Wendler --- configure.in | 22 +++------------------- - libgnomeprint/gnome-font-face.c | 2 +- + libgnomeprint/gnome-font-face.c | 3 ++- libgnomeprint/gnome-print-gdi.c | 2 +- libgnomeprint/gnome-rfont.c | 4 ++-- - 4 files changed, 7 insertions(+), 23 deletions(-) + 4 files changed, 8 insertions(+), 23 deletions(-) diff --git a/configure.in b/configure.in index c15bb69..aebe591 100644 @@ -44,15 +45,16 @@ index c15bb69..aebe591 100644 dnl ================================= dnl END: Checking for freetype2 diff --git a/libgnomeprint/gnome-font-face.c b/libgnomeprint/gnome-font-face.c -index 0447377..f9f8f3e 100644 +index 0447377..23794a8 100644 --- a/libgnomeprint/gnome-font-face.c +++ b/libgnomeprint/gnome-font-face.c -@@ -36,7 +36,7 @@ +@@ -36,7 +36,8 @@ #include #include -#include -+#include ++#include ++#include FT_OUTLINE_H #include #include @@ -70,7 +72,7 @@ index f89a8e8..7755673 100755 #define WIN32_LEAN_AND_MEAN #include diff --git a/libgnomeprint/gnome-rfont.c b/libgnomeprint/gnome-rfont.c -index 55ec261..09e5a6e 100644 +index 55ec261..a71bbda 100644 --- a/libgnomeprint/gnome-rfont.c +++ b/libgnomeprint/gnome-rfont.c @@ -28,8 +28,8 @@ @@ -79,11 +81,11 @@ index 55ec261..09e5a6e 100644 #include FT_FREETYPE_H -#include -#include -+#include -+#include ++#include FT_GLYPH_H ++#include FT_BBOX_H #include #include #include -- -1.9.0 +2.6.1 -- 2.26.2