media-sound/nted: Fixed compilation against freetype-2.6.1 (bug #562430)

Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2015-10-07 15:46:48 +02:00
parent 5e07302a58
commit b13e412dc2

View File

@@ -1,16 +1,11 @@
Description: Fix FTBFS caused by freetype headers path change.
Author: Gilles Filippini <pini@debian.org>
Bug-Debian: http://bugs.debian.org/733403
Index: nted/mainwindow.cpp
===================================================================
--- nted.orig/mainwindow.cpp 2013-12-30 17:45:21.000000000 +0100
+++ nted/mainwindow.cpp 2013-12-30 17:45:44.000000000 +0100
--- nted-1.10.18/mainwindow.cpp
+++ nted-1.10.18/mainwindow.cpp
@@ -24,7 +24,7 @@
#include <stdio.h>
#include <time.h>
#include <ft2build.h>
-#include <freetype/freetype.h>
+#include <freetype.h>
+#include FT_FREETYPE_H
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <cairo-ps.h>