Dash:
[t2-trunk.git] / package / x11 / libgli / hotfix-gcc43.patch
blob262bbf733eeb7daf1a2836b531f874a8d00fd0da
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../libgli/gcc43.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- libgli-0.4/src/gli_glf.cpp.vanilla 2008-08-10 16:20:14.000000000 +0200
18 +++ libgli-0.4/src/gli_glf.cpp 2008-08-10 16:20:20.000000000 +0200
19 @@ -23,6 +23,7 @@
20 #include <stdio.h>
21 #include <stdlib.h>
22 #include <math.h>
23 +#include <string.h>
25 #ifdef MACOSX
26 #include <OpenGL/gl.h>
27 --- libgli-0.4/src/gli_window.cpp.vanilla 2008-08-10 16:20:28.000000000 +0200
28 +++ libgli-0.4/src/gli_window.cpp 2008-08-10 16:20:40.000000000 +0200
29 @@ -17,6 +17,7 @@
30 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32 #include <stdio.h>
33 +#include <string.h>
34 #include "gli_window.h"
35 #include "gli_button.h"
36 #include "string"