Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gloox/files: gloox-0.9.9.5-gcc43.patch
Date: Sat, 31 Jan 2009 21:33:47
Message-Id: E1LTNTF-0005dD-8u@stork.gentoo.org
1 jokey 09/01/31 21:33:45
2
3 Added: gloox-0.9.9.5-gcc43.patch
4 Log:
5 Fix glibc 2.8 build, thanks to Gene Seto for the required patch. Version bump as well
6 (Portage version: 2.2_rc23/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-libs/gloox/files/gloox-0.9.9.5-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gloox/files/gloox-0.9.9.5-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gloox/files/gloox-0.9.9.5-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: gloox-0.9.9.5-gcc43.patch
15 ===================================================================
16 --- gloox-0.9.9.5b/src/tlsopenssl.cpp 2009-01-21 22:43:06.000000000 -0400
17 +++ gloox-0.9.9.5/src/tlsopenssl.cpp 2009-01-22 00:42:53.000000000 -0400
18 @@ -223,7 +223,8 @@
19 m_certInfo.date_to = openSSLTime2UnixTime( (char*)(peer->cert_info->validity->notAfter->data) );
20 std::string p;
21 p.assign( peer_CN );
22 - std::transform( p.begin(), p.end(), p.begin(), std::tolower );
23 + /* http://lists.debian.org/debian-gcc/2002/04/msg00092.html */
24 + std::transform( p.begin(), p.end(), p.begin(), (int(*)(int))std::tolower );
25 if( p != m_server )
26 m_certInfo.status |= CertWrongPeer;