1 |
jlec 11/04/27 07:45:55 |
2 |
|
3 |
Added: 0.26-gcc46.patch |
4 |
Log: |
5 |
Fix for gcc46 |
6 |
|
7 |
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-benchmarks/i7z/files/0.26-gcc46.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/files/0.26-gcc46.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/files/0.26-gcc46.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: 0.26-gcc46.patch |
16 |
=================================================================== |
17 |
--- /tmp/GUI_i7z-50.cpp |
18 |
+++ i7z/GUI/GUI_i7z.cpp |
19 |
@@ -48,10 +48,14 @@ |
20 |
void Construct_Socket_Information_in_GUI(unsigned int *numCPUs) { |
21 |
socket_0.max_cpu=0; |
22 |
socket_0.socket_num=0; |
23 |
- socket_0.processor_num={-1,-1,-1,-1,-1,-1,-1,-1}; |
24 |
+ int i; |
25 |
+ for(i=0;i < 8; i++) |
26 |
+ socket_0.processor_num[i]=-1; |
27 |
socket_1.max_cpu=0; |
28 |
socket_1.socket_num=1; |
29 |
- socket_1.processor_num={-1,-1,-1,-1,-1,-1,-1,-1}; |
30 |
+ |
31 |
+ for(i=0;i < 8; i++) |
32 |
+ socket_1.processor_num[i]=-1; |
33 |
|
34 |
construct_CPU_Heirarchy_info(&chi); |
35 |
construct_sibling_list(&chi); |