Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/commoncpp2/files: commoncpp2-1.6.3-glibc-2.10.patch
Date: Thu, 30 Jul 2009 07:58:36
Message-Id: E1MWQX4-0001T7-16@stork.gentoo.org
1 dirtyepic 09/07/30 07:58:34
2
3 Added: commoncpp2-1.6.3-glibc-2.10.patch
4 Log:
5 Fix build w/ glibc-2.10. (bug #275750)
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-cpp/commoncpp2/files/commoncpp2-1.6.3-glibc-2.10.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/files/commoncpp2-1.6.3-glibc-2.10.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/files/commoncpp2-1.6.3-glibc-2.10.patch?rev=1.1&content-type=text/plain
13
14 Index: commoncpp2-1.6.3-glibc-2.10.patch
15 ===================================================================
16 diff -Naurp commoncpp2-1.6.3-orig/src/cidr.cpp commoncpp2-1.6.3/src/cidr.cpp
17 --- commoncpp2-1.6.3-orig/src/cidr.cpp 2008-06-23 07:02:09.000000000 -0600
18 +++ commoncpp2-1.6.3/src/cidr.cpp 2009-07-30 01:17:49.276744991 -0600
19 @@ -198,7 +198,7 @@ void IPV4Cidr::set(const char *cp)
20 memset(&netmask, 0, sizeof(netmask));
21 bitset((bit_t *)&netmask, getMask(cp));
22 setString(cbuf, sizeof(cbuf), cp);
23 - ep = strchr(cp, '/');
24 + ep = (char *)strchr(cp, '/');
25 if(ep)
26 *ep = 0;
27
28 @@ -326,7 +326,7 @@ void IPV6Cidr::set(const char *cp)
29 memset(&netmask, 0, sizeof(netmask));
30 bitset((bit_t *)&netmask, getMask(cp));
31 setString(cbuf, sizeof(cbuf), cp);
32 - ep = strchr(cp, '/');
33 + ep = (char *)strchr(cp, '/');
34 if(ep)
35 *ep = 0;