[clc-devel] Freetye 2.1.7 issues

Daniel Mueller danm at gmx.li
Fri Jan 23 22:08:43 UTC 2004


On Fri, 23 Jan 2004 15:18:05 +0100 (CET)
Per Liden <per at fukt.bth.se> wrote:

> I wouldn't mind going back to freetype 2.1.5 again to resolve this
> mess.
> 
> Comments?
> 

------------snip-------------
--- /usr/include/freetype2/freetype/freetype.h.orig     2004-01-23
22:57:02.390297736 +0100+++ /usr/include/freetype2/freetype/freetype.h 
2004-01-23 22:58:43.289958656 +0100@@ -17,13 +17,12 @@
 
 
 #ifndef FT_FREETYPE_H
-#error "`ft2build.h' hasn't been included yet!"
-#error "Please always use macros to include FreeType header files."
-#error "Example:"
-#error "  #include <ft2build.h>"
-#error "  #include FT_FREETYPE_H"
+#ifndef FT_FREETYPE_H_OBSOLETE
+#define FT_FREETYPE_H_OBSOLETE
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#endif
 #endif
-
 
 #ifndef __FREETYPE_H__
 #define __FREETYPE_H__
--------------snap--------------

Could this be a solution ? Any side effects ?

bye, danm

-- 
Daniel Mueller
Berlin, Germany		(OpenPGP:  1024D/126EC290)



More information about the crux-devel mailing list