openbsd-ports/graphics/libwmf/patches/patch-src_extra_gd_gdft_c
espie 182373cbb4 fix X.org fallout, partly from the idiots at X.org, and from the morons
that do libwmf (how stupid can you get while looking for headers ???)
2004-11-07 10:11:23 +00:00

16 lines
494 B
Plaintext

$OpenBSD: patch-src_extra_gd_gdft_c,v 1.1 2004/11/07 10:11:23 espie Exp $
--- src/extra/gd/gdft.c.orig Sun Nov 7 10:53:55 2004
+++ src/extra/gd/gdft.c Sun Nov 7 10:56:03 2004
@@ -39,8 +39,9 @@ gdImageStringFT (gdImage * im, int *brec
#else
#include "gdcache.h"
-#include "freetype/freetype.h"
-#include "freetype/ftglyph.h"
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_GLYPH_H
/* number of fonts cached before least recently used is replaced */
#define FONTCACHESIZE 6