SHA256
1
0
forked from pool/libXft
libXft/U_use-recommended-freetype-include.patch
Stefan Dirsch 7ef7a8627a Accepting request 210659 from openSUSE:Factory:Staging:freetype2
Added use-recommended-freetype-include.patch -- needed for freetype2 2.5.1. I've validated it builds, but disabled build so the whole staging doesn't get retriggered

OBS-URL: https://build.opensuse.org/request/show/210659
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXft?expand=0&rev=11
2013-12-12 13:18:52 +00:00

30 lines
727 B
Diff

From 4acfdaf95adb0a05c2a25550bdde036c865902f4 Mon Sep 17 00:00:00 2001
From: Julien Cristau <jcristau@debian.org>
Date: Mon, 02 Dec 2013 15:26:24 +0000
Subject: Use FT_*_H macros instead of including <freetype/*.h>
freetype moved its headers around in 2.5.1.
Signed-off-by: Julien Cristau <jcristau@debian.org>
---
diff --git a/src/xftglyphs.c b/src/xftglyphs.c
index 2f3dc5a..4b5fb82 100644
--- a/src/xftglyphs.c
+++ b/src/xftglyphs.c
@@ -21,10 +21,10 @@
*/
#include "xftint.h"
-#include <freetype/ftoutln.h>
-#include <freetype/ftlcdfil.h>
+#include FT_OUTLINE_H
+#include FT_LCD_FILTER_H
-#include <freetype/ftsynth.h>
+#include FT_SYNTHESIS_H
/*
* Validate the memory info for a font
--
cgit v0.9.0.2-2-gbebe