1 |
loki_val 08/06/29 09:39:06 |
2 |
|
3 |
Added: paragui-1.1.8-gcc43.patch |
4 |
Log: |
5 |
Fix for gcc-4.3, bug #229961. Thanks to Petr Behan <petr.behan@××××××.cz>. |
6 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-libs/paragui/files/paragui-1.1.8-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/paragui/files/paragui-1.1.8-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/paragui/files/paragui-1.1.8-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: paragui-1.1.8-gcc43.patch |
15 |
=================================================================== |
16 |
--- include/paragui.h.old 2004-04-17 22:39:07.000000000 +0200 |
17 |
+++ include/paragui.h 2008-06-29 00:58:45.000000000 +0200 |
18 |
@@ -65,6 +65,13 @@ |
19 |
#include "paraconfig_gnu.h" |
20 |
#endif |
21 |
|
22 |
+#if PG_VERSIONNUM(__GNUC__, __GNUC_MINOR__, 0) >= PG_VERSIONNUM(4, 3, 0) |
23 |
+#undef HAVE_HASH_MAP |
24 |
+#ifndef HAVE_EXT_HASH_MAP |
25 |
+#define HAVE_EXT_HASH_MAP |
26 |
+#endif |
27 |
+#endif |
28 |
+ |
29 |
// |
30 |
// STL map / hash_map |
31 |
// |
32 |
--- src/core/pgfilearchive.cpp.old 2004-03-13 14:45:44.000000000 +0100 |
33 |
+++ src/core/pgfilearchive.cpp 2008-06-29 00:59:27.000000000 +0200 |
34 |
@@ -100,7 +101,7 @@ |
35 |
const char* sep = GetDirSeparator(); |
36 |
std::string::size_type pos = 0, incr; |
37 |
newpath = new std::string(path); |
38 |
- incr = std::strlen(sep); |
39 |
+ incr = strlen(sep); |
40 |
if(incr == 1 && sep[0] == '/') |
41 |
return newpath; |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
-- |
47 |
gentoo-commits@l.g.o mailing list |