media-sound/nted: Fixed compilation against freetype-2.6.1 (bug #562430)
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 7 Oct 2015 13:46:48 +0000 (15:46 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 7 Oct 2015 13:47:28 +0000 (15:47 +0200)
Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
media-sound/nted/files/nted-1.10.18-freetype.patch

index 66acdf2c7ffa0c9f1e0f077e31abef8c8cb1f78e..505e756af5645cb4639e6d49c8db9de4b1c62ef9 100644 (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>