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
23 lines
580 B
C++
23 lines
580 B
C++
--- src/sge_tt_text.cpp.orig 2004-03-03 21:17:48.000000000 +0100
|
|
+++ src/sge_tt_text.cpp 2013-12-13 11:24:58.000000000 +0100
|
|
@@ -26,7 +26,6 @@
|
|
|
|
#include "SDL.h"
|
|
#include <stdlib.h>
|
|
-#include <malloc.h>
|
|
#include <memory.h>
|
|
#include <string.h>
|
|
#include <stdarg.h>
|
|
@@ -37,9 +36,9 @@
|
|
|
|
#ifndef _SGE_NOTTF
|
|
#include <ft2build.h>
|
|
-#include <freetype/freetype.h>
|
|
-#include <freetype/ftoutln.h>
|
|
-#include <freetype/ttnameid.h>
|
|
+#include FT_FREETYPE_H
|
|
+#include FT_OUTLINE_H
|
|
+#include FT_TRUETYPE_IDS_H
|
|
|
|
/* The structure used to hold glyph information (cached) */
|
|
struct glyph {
|