SOURCES: ClanLib-gcc4.patch - fixes build on gcc 4.3

megabajt megabajt at pld-linux.org
Mon Nov 10 20:46:36 CET 2008


Author: megabajt                     Date: Mon Nov 10 19:46:36 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes build on gcc 4.3

---- Files affected:
SOURCES:
   ClanLib-gcc4.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/ClanLib-gcc4.patch
diff -u /dev/null SOURCES/ClanLib-gcc4.patch:1.2
--- /dev/null	Mon Nov 10 20:46:36 2008
+++ SOURCES/ClanLib-gcc4.patch	Mon Nov 10 20:46:30 2008
@@ -0,0 +1,12 @@
+diff -urN ClanLib-0.8.1/Sources/GL/opengl.cpp ClanLib-0.8.1.new/Sources/GL/opengl.cpp
+--- ClanLib-0.8.1/Sources/GL/opengl.cpp	2006-10-27 03:55:01.000000000 +0200
++++ ClanLib-0.8.1.new/Sources/GL/opengl.cpp	2008-11-10 16:20:18.000000000 +0100
+@@ -27,6 +27,8 @@
+ **    (if your name is missing here, please add it)
+ */
+ 
++#include <cstring>
++
+ #include "Display/display_precomp.h"
+ #include "API/GL/opengl.h"
+ #include "API/GL/opengl_wrap.h"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ClanLib-gcc4.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list