You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/coin/files/coin-3.1.3-freetype251.patch

29 lines
767 B

--- Coin-3.1.3/src/glue/freetype.cpp
+++ Coin-3.1.3/src/glue/freetype.cpp
@@ -52,9 +52,9 @@
#ifdef HAVE_FREETYPE /* In case we're _not_ doing runtime linking. */
#define FREETYPEGLUE_ASSUME_FREETYPE 1
#include <ft2build.h>
-#include <freetype/freetype.h>
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
+#include FT_FREETYPE_H
+#include FT_GLYPH_H
+#include FT_OUTLINE_H
#endif /* FREETYPEGLUE_ASSUME_FREETYPE */
#include <Inventor/C/basic.h>
--- Coin-3.1.3/src/glue/freetype.h
+++ Coin-3.1.3/src/glue/freetype.h
@@ -87,8 +87,8 @@
#ifdef HAVE_FREETYPE
#include <ft2build.h>
-#include <freetype/freetype.h>
-#include <freetype/ftglyph.h>
+#include FT_FREETYPE_H
+#include FT_GLYPH_H
#else /* HAVE_FREETYPE */
#include <Inventor/C/basic.h>