Sophie

Sophie

distrib > Mageia > 2 > x86_64 > media > core-release-src > by-pkgid > ed08db7178ecdcad9fb09bf8a38a5534 > files > 5

clanlib0.6-0.6.5-40.mga2.src.rpm

diff -aur ClanLib-0.6.5/Sources/Display/Display/DirectFB/target_directfb.cpp ClanLib-0.6.5-ph/Sources/Display/Display/DirectFB/target_directfb.cpp
--- ClanLib-0.6.5/Sources/Display/Display/DirectFB/target_directfb.cpp	2002-02-26 21:38:11.000000000 +0100
+++ ClanLib-0.6.5-ph/Sources/Display/Display/DirectFB/target_directfb.cpp	2003-12-23 20:20:44.000000000 +0100
@@ -104,7 +104,7 @@
 
 unsigned int CL_Target_DirectFB::get_width() const
 {
-  unsigned int width = 0;
+  int width = 0;
 
   surface->GetSize (surface, &width, NULL);
 
@@ -113,7 +113,7 @@
 
 unsigned int CL_Target_DirectFB::get_height() const
 {
-  unsigned int height = 0;
+  int height = 0;
 
   surface->GetSize (surface, NULL, &height);
 
@@ -263,7 +263,7 @@
 
 void CL_Target_DirectFB::Clear (float r, float g, float b, float a)
 {
-  unsigned int width, height;
+  int width, height;
 
   surface->GetSize (surface, &width, &height);
 
diff -aur ClanLib-0.6.5/Sources/TTF/font_ttf.cpp ClanLib-0.6.5-ph/Sources/TTF/font_ttf.cpp
--- ClanLib-0.6.5/Sources/TTF/font_ttf.cpp	2002-01-15 17:18:48.000000000 +0100
+++ ClanLib-0.6.5-ph/Sources/TTF/font_ttf.cpp	2003-12-23 20:34:06.443838472 +0100
@@ -21,7 +21,8 @@
 #include <malloc.h>
 #include "Display/Font/font_generic.h"
 
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 
 #include "font_ttf.h"
 
Seulement dans ClanLib-0.6.5-ph/Sources/TTF: font_ttf.cpp~