aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/604_nx-X11_recent-freetype-API.full.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-12-03 15:08:30 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-12-03 15:08:30 +0100
commit2382d88357fa8a3196f61d2643ac190278cc8132 (patch)
tree423153f0bf1ba8988d236627828aaac6841ba016 /debian/patches/604_nx-X11_recent-freetype-API.full.patch
parent8cd7d82d750ae1228ba96ae45f28b0169bdebf65 (diff)
downloadnx-libs-2382d88357fa8a3196f61d2643ac190278cc8132.tar.gz
nx-libs-2382d88357fa8a3196f61d2643ac190278cc8132.tar.bz2
nx-libs-2382d88357fa8a3196f61d2643ac190278cc8132.zip
Add patch 604_nx-X11_recent-freetype-API.full.patch. Fix FTBFS against recent (>= 2.5.0) libfreetype6 API.
Diffstat (limited to 'debian/patches/604_nx-X11_recent-freetype-API.full.patch')
-rw-r--r--debian/patches/604_nx-X11_recent-freetype-API.full.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/604_nx-X11_recent-freetype-API.full.patch b/debian/patches/604_nx-X11_recent-freetype-API.full.patch
new file mode 100644
index 000000000..e751fb82d
--- /dev/null
+++ b/debian/patches/604_nx-X11_recent-freetype-API.full.patch
@@ -0,0 +1,15 @@
+Description: Fix FTBFS against libfreetype6 (>= 2.5.0)
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+--- a/nx-X11/lib/Xft/xftglyphs.c
++++ b/nx-X11/lib/Xft/xftglyphs.c
+@@ -23,7 +23,9 @@
+ */
+
+ #include "xftint.h"
+-#include <freetype/ftoutln.h>
++
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ static const int filters[3][3] = {
+ /* red */