LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File fix-freetype2-includes.patch of Package Coin (Project home:derselbst)

diff -urB Coin-3.1.3/src/glue/freetype.cpp new/src/glue/freetype.cpp
--- Coin-3.1.3/src/glue/freetype.cpp	2010-03-02 14:20:09.000000000 +0100
+++ new/src/glue/freetype.cpp	2014-03-09 14:02:08.562525843 +0100
@@ -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 <freetype2/freetype.h>
+#include <freetype2/ftglyph.h>
+#include <freetype2/ftoutln.h>
 #endif /* FREETYPEGLUE_ASSUME_FREETYPE */
 
 #include <Inventor/C/basic.h>
diff -urB Coin-3.1.3/src/glue/freetype.h new/src/glue/freetype.h
--- Coin-3.1.3/src/glue/freetype.h	2010-03-02 14:20:09.000000000 +0100
+++ new/src/glue/freetype.h	2014-03-09 14:01:21.512484964 +0100
@@ -87,8 +87,8 @@
 
 #ifdef HAVE_FREETYPE
 #include <ft2build.h>
-#include <freetype/freetype.h>
-#include <freetype/ftglyph.h>
+#include <freetype2/freetype.h>
+#include <freetype2/ftglyph.h>
 #else /* HAVE_FREETYPE */
 
 #include <Inventor/C/basic.h>