1 |
vostorga 09/08/03 00:02:55 |
2 |
|
3 |
Added: upx-ucl-glibc210.patch |
4 |
Log: |
5 |
Fixing build against glibc 2.10. Bug #279911 |
6 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-arch/upx-ucl/files/upx-ucl-glibc210.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/upx-ucl/files/upx-ucl-glibc210.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/upx-ucl/files/upx-ucl-glibc210.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: upx-ucl-glibc210.patch |
15 |
=================================================================== |
16 |
diff -NrU5 src.original/pefile.cpp src/pefile.cpp |
17 |
--- src.original/pefile.cpp 2009-08-02 23:54:36.000000000 -0600 |
18 |
+++ src/pefile.cpp 2009-08-02 23:54:18.000000000 -0600 |
19 |
@@ -1347,12 +1347,12 @@ |
20 |
}; |
21 |
|
22 |
// FIXME this comparison is not too exact |
23 |
while (1) |
24 |
{ |
25 |
- char *delim1 = strchr(keep, '/'); |
26 |
- char *delim2 = strchr(keep, ','); |
27 |
+ const char *delim1 = strchr(keep, '/'); |
28 |
+ const char *delim2 = strchr(keep, ','); |
29 |
if (helper::match(itype, ntype, keep)) |
30 |
{ |
31 |
if (!delim1) |
32 |
return true; |
33 |
if (delim2 && delim2 < delim1) |