1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/brutalchess/files/patch-src_fontloader.h
Koop Mast b1bf1620a6 Update freetype to 2.5.2.
Remove patch to add -I/usr/local/include in freetype-config --cflags. If
ports need extra headers they should look for them, and not get them via
a side-effect.

Freetype had a header resuffle in 2.5.1, patch ports to use the new header
style.

Thanks go to bdrewery for the two exp-runs and rakuco for helping me with
some troublesome cmake ports.

PR:		ports/184587
2013-12-24 21:22:21 +00:00

18 lines
456 B
C++

--- src/fontloader.h.orig 2013-12-13 10:49:49.000000000 +0100
+++ src/fontloader.h 2013-12-13 10:50:39.000000000 +0100
@@ -12,11 +12,9 @@
//FreeType Headers
#include <ft2build.h>
#include FT_FREETYPE_H
-
-#include <freetype/freetype.h>
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
-#include <freetype/fttrigon.h>
+#include FT_GLYPH_H
+#include FT_OUTLINE_H
+#include FT_TRIGONOMETRY_H
// Other Headers we'll need.
#include <vector>