b1bf1620a6
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
20 lines
524 B
C
20 lines
524 B
C
--- ft.c.orig 2003-12-31 22:30:50.000000000 +0100
|
|
+++ ft.c 2013-12-16 16:50:37.000000000 +0100
|
|
@@ -12,11 +12,12 @@
|
|
#include <stdlib.h>
|
|
#include <ctype.h>
|
|
#include <sys/types.h>
|
|
-#include <freetype/freetype.h>
|
|
-#include <freetype/ftglyph.h>
|
|
-#include <freetype/ftsnames.h>
|
|
-#include <freetype/ttnameid.h>
|
|
-#include <freetype/ftoutln.h>
|
|
+#include <ft2build.h>
|
|
+#include FT_FREETYPE_H
|
|
+#include FT_GLYPH_H
|
|
+#include FT_SFNT_NAMES_H
|
|
+#include FT_TRUETYPE_IDS_H
|
|
+#include FT_OUTLINE_H
|
|
#include "pt1.h"
|
|
#include "global.h"
|
|
|