/[pkgs]/devel/ClanLib06/ClanLib-0.6.5-gcc4.3.patch
ViewVC logotype

Contents of /devel/ClanLib06/ClanLib-0.6.5-gcc4.3.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Fri Jan 4 22:03:59 2008 UTC (22 months, 3 weeks ago) by jwrdegoede
Branch: MAIN
CVS Tags: F-12-split, ClanLib06-0_6_5-12_fc9, F-10-split, ClanLib06-0_6_5-13_fc10, ClanLib06-0_6_5-14_fc11, F-11-split, ClanLib06-0_6_5-15_fc12, F-9-split, ClanLib06-0_6_5-11_fc9, ClanLib06-0_6_5-10_fc9, HEAD
File MIME type: text/x-patch
* Fri Jan  4 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.6.5-10
- Fix building with gcc 4.3
1 diff -up ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/playback_static.cpp~ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/playback_static.cpp
2 --- ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/playback_static.cpp~ 2008-01-04 22:10:49.000000000 +0100
3 +++ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/playback_static.cpp 2008-01-04 22:10:49.000000000 +0100
4 @@ -18,6 +18,7 @@
5
6 #ifdef USE_CLANSOUND
7
8 +#include <string.h>
9 #include <Sound/Sound/ClanSound/soundbuffer_static_clan.h>
10 #include <Sound/Sound/ClanSound/cardplayback_clan.h>
11 #include <Sound/Sound/ClanSound/playback_static.h>
12 diff -up ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/soundbuffer_static_clan.cpp~ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/soundbuffer_static_clan.cpp
13 --- ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/soundbuffer_static_clan.cpp~ 2008-01-04 22:10:28.000000000 +0100
14 +++ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/soundbuffer_static_clan.cpp 2008-01-04 22:10:28.000000000 +0100
15 @@ -22,6 +22,7 @@
16
17 #ifdef USE_CLANSOUND
18
19 +#include <string.h>
20 #include <API/Sound/static_soundprovider.h>
21 #include "API/Core/System/cl_assert.h"
22 #include <Sound/Sound/Generic/cardsoundbuffer_playback.h>
23 diff -up ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/playback_stream.cpp~ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/playback_stream.cpp
24 --- ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/playback_stream.cpp~ 2008-01-04 22:17:25.000000000 +0100
25 +++ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/playback_stream.cpp 2008-01-04 22:17:25.000000000 +0100
26 @@ -22,6 +22,7 @@
27
28 #ifdef USE_CLANSOUND
29
30 +#include <string.h>
31 #include <API/Core/System/mutex.h>
32 #include <API/Sound/stream_soundprovider.h>
33 #include "API/Core/System/cl_assert.h"
34 diff -up ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/mixer.cpp~ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/mixer.cpp
35 --- ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/mixer.cpp~ 2008-01-04 22:24:13.000000000 +0100
36 +++ ClanLib-0.6.5/Sources/Sound/Sound/ClanSound/mixer.cpp 2008-01-04 22:24:13.000000000 +0100
37 @@ -14,6 +14,8 @@
38 #include <Sound/Sound/ClanSound/mixer.h>
39 #include <Sound/Sound/ClanSound/cardplayback_clan.h>
40
41 +#include <string.h>
42 +
43 #ifdef USE_I386_ASSEMBLER
44 #if defined(__BORLANDC__) && !defined(USE_TASM)
45 #undef USE_I386_ASSEMBLER
46 diff -up ClanLib-0.6.5/Sources/Sound/SoundProviders/static_provider_wave.cpp~ ClanLib-0.6.5/Sources/Sound/SoundProviders/static_provider_wave.cpp
47 --- ClanLib-0.6.5/Sources/Sound/SoundProviders/static_provider_wave.cpp~ 2008-01-04 22:07:45.000000000 +0100
48 +++ ClanLib-0.6.5/Sources/Sound/SoundProviders/static_provider_wave.cpp 2008-01-04 22:07:45.000000000 +0100
49 @@ -20,6 +20,7 @@
50 #pragma warning (disable:4786)
51 #endif
52
53 +#include <string.h>
54 #include "API/Core/IOData/cl_endian.h"
55 #include "API/Core/IOData/inputsource_provider.h"
56 #include "API/Core/IOData/inputsource.h"
57 diff -up ClanLib-0.6.5/Sources/Sound/SoundProviders/stream_provider_wave.cpp~ ClanLib-0.6.5/Sources/Sound/SoundProviders/stream_provider_wave.cpp
58 --- ClanLib-0.6.5/Sources/Sound/SoundProviders/stream_provider_wave.cpp~ 2008-01-04 22:08:27.000000000 +0100
59 +++ ClanLib-0.6.5/Sources/Sound/SoundProviders/stream_provider_wave.cpp 2008-01-04 22:08:27.000000000 +0100
60 @@ -20,6 +20,7 @@
61 #pragma warning (disable:4786)
62 #endif
63
64 +#include <string.h>
65 #include "API/Core/System/cl_assert.h"
66 #include "API/Core/System/error.h"
67 #include "API/Core/IOData/cl_endian.h"
68 diff -up ClanLib-0.6.5/Sources/Sound/SoundFilters/inverse_echofilter_generic.cpp~ ClanLib-0.6.5/Sources/Sound/SoundFilters/inverse_echofilter_generic.cpp
69 --- ClanLib-0.6.5/Sources/Sound/SoundFilters/inverse_echofilter_generic.cpp~ 2008-01-04 22:08:58.000000000 +0100
70 +++ ClanLib-0.6.5/Sources/Sound/SoundFilters/inverse_echofilter_generic.cpp 2008-01-04 22:08:58.000000000 +0100
71 @@ -21,6 +21,7 @@
72 #ifdef BORLAND
73 #include <memory.h>
74 #endif
75 +#include <string.h>
76
77 CL_InverseEchoFilter::CL_InverseEchoFilter(int buffer_size)
78 {
79 diff -up ClanLib-0.6.5/Sources/Core/precomp.h~ ClanLib-0.6.5/Sources/Core/precomp.h
80 --- ClanLib-0.6.5/Sources/Core/precomp.h~ 2008-01-04 22:00:37.000000000 +0100
81 +++ ClanLib-0.6.5/Sources/Core/precomp.h 2008-01-04 22:00:37.000000000 +0100
82 @@ -33,6 +33,8 @@
83 #include "API/signals.h"
84 #include "API/Core/System/error.h"
85
86 +#include <string.h>
87 +
88 #ifdef __BORLANDC__
89 #define BAD_MATH
90 #endif
91 diff -up ClanLib-0.6.5/Sources/Network/Generic/netvariables_generic.h~ ClanLib-0.6.5/Sources/Network/Generic/netvariables_generic.h
92 --- ClanLib-0.6.5/Sources/Network/Generic/netvariables_generic.h~ 2008-01-04 22:55:25.000000000 +0100
93 +++ ClanLib-0.6.5/Sources/Network/Generic/netvariables_generic.h 2008-01-04 22:55:25.000000000 +0100
94 @@ -16,6 +16,7 @@
95 #define header_netvariables_generic
96
97 #include <list>
98 +#include <cstring>
99 #include "API/Core/IOData/inputsource.h"
100 #include "API/Core/IOData/outputsource.h"
101
102 diff -up ClanLib-0.6.5/Sources/Network/Generic/ip_address.cpp~ ClanLib-0.6.5/Sources/Network/Generic/ip_address.cpp
103 --- ClanLib-0.6.5/Sources/Network/Generic/ip_address.cpp~ 2008-01-04 22:56:42.000000000 +0100
104 +++ ClanLib-0.6.5/Sources/Network/Generic/ip_address.cpp 2008-01-04 22:56:42.000000000 +0100
105 @@ -11,6 +11,7 @@
106
107 ------------------------------------------------------------------------
108 */
109 +#include <string.h>
110 #include "API/Network/ip_address.h"
111 #include "API/Core/System/error.h"
112
113 diff -up ClanLib-0.6.5/Sources/Network/Generic/socket_generic.cpp~ ClanLib-0.6.5/Sources/Network/Generic/socket_generic.cpp
114 --- ClanLib-0.6.5/Sources/Network/Generic/socket_generic.cpp~ 2008-01-04 22:56:19.000000000 +0100
115 +++ ClanLib-0.6.5/Sources/Network/Generic/socket_generic.cpp 2008-01-04 22:56:19.000000000 +0100
116 @@ -16,6 +16,7 @@
117 #pragma warning (disable:4786)
118 #endif
119
120 +#include <string.h>
121 #include "socket_generic.h"
122
123 /////////////////////////////////////////////////////////////////////////////
124 diff -up ClanLib-0.6.5/Sources/Network/Generic/socket.cpp~ ClanLib-0.6.5/Sources/Network/Generic/socket.cpp
125 --- ClanLib-0.6.5/Sources/Network/Generic/socket.cpp~ 2008-01-04 22:56:00.000000000 +0100
126 +++ ClanLib-0.6.5/Sources/Network/Generic/socket.cpp 2008-01-04 22:56:00.000000000 +0100
127 @@ -25,6 +25,7 @@
128 #define INVALID_SOCKET -1
129 #endif
130
131 +#include <string.h>
132 #include "socket_generic.h"
133 #include "API/Core/System/error.h"
134
135 diff -up ClanLib-0.6.5/Sources/Display/Display/X11/display_xwindow.h~ ClanLib-0.6.5/Sources/Display/Display/X11/display_xwindow.h
136 --- ClanLib-0.6.5/Sources/Display/Display/X11/display_xwindow.h~ 2008-01-04 22:06:31.000000000 +0100
137 +++ ClanLib-0.6.5/Sources/Display/Display/X11/display_xwindow.h 2008-01-04 22:06:31.000000000 +0100
138 @@ -25,6 +25,7 @@
139 #include <X11/Xlib.h>
140 #include <X11/Xutil.h>
141 #include <X11/cursorfont.h>
142 +#include <string.h>
143
144 #include "target_ximage_std.h"
145 #include "target_ximage_shm.h"
146 diff -up ClanLib-0.6.5/Sources/GUI/precomp.h~ ClanLib-0.6.5/Sources/GUI/precomp.h
147 --- ClanLib-0.6.5/Sources/GUI/precomp.h~ 2008-01-04 22:17:09.000000000 +0100
148 +++ ClanLib-0.6.5/Sources/GUI/precomp.h 2008-01-04 22:17:09.000000000 +0100
149 @@ -4,6 +4,8 @@
150 #ifdef WIN32
151 #pragma warning (disable:4786)
152
153 +#include <string.h>
154 +
155 // Framework
156 #include "API/GUI/component.h"
157 #include "API/GUI/component_manager.h"

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2