pacho       15/05/15 10:45:03

  Added:                tuxonice-userui-1.1-freetype-2.5.patch
  Log:
  Fix build with freetype-2.5 (#519154)
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
A188FBD4)

Revision  Changes    Path
1.1                  
sys-apps/tuxonice-userui/files/tuxonice-userui-1.1-freetype-2.5.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tuxonice-userui/files/tuxonice-userui-1.1-freetype-2.5.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tuxonice-userui/files/tuxonice-userui-1.1-freetype-2.5.patch?rev=1.1&content-type=text/plain

Index: tuxonice-userui-1.1-freetype-2.5.patch
===================================================================
>From ed1b73cf2f073f39200be79c633deb292cb8d4af Mon Sep 17 00:00:00 2001
From: Damjan Georgievski <[email protected]>
Date: Mon, 6 Jan 2014 03:06:18 +0100
Subject: [PATCH] fix #includes for recent freetype versions

---
 fbsplash/ttf.c | 3 +--
 fbsplash/ttf.h | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/fbsplash/ttf.c b/fbsplash/ttf.c
index 384f400..1dd841c 100644
--- a/fbsplash/ttf.c
+++ b/fbsplash/ttf.c
@@ -27,8 +27,7 @@
 #include <assert.h>
 
 #include <ft2build.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
+#include FT_FREETYPE_H
 
 #include "splash.h"
 
diff --git a/fbsplash/ttf.h b/fbsplash/ttf.h
index 034bb9e..6a4da9d 100644
--- a/fbsplash/ttf.h
+++ b/fbsplash/ttf.h
@@ -1,8 +1,7 @@
 #ifndef _TTF_H
 #define _TTF_H
 #include <ft2build.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
+#include FT_FREETYPE_H
 
 #define CACHED_METRICS  0x10
 #define CACHED_BITMAP   0x01




Reply via email to