Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gloox/files: gloox-0.9.9.5-gcc44.patch
Date: Thu, 30 Jul 2009 15:48:20
Message-Id: E1MWXrV-0007WH-HQ@stork.gentoo.org
1 ssuominen 09/07/30 15:48:09
2
3 Added: gloox-0.9.9.5-gcc44.patch
4 Log:
5 Fix building with GCC 4.4 wrt #274315, thanks to Victor Ostorga.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-libs/gloox/files/gloox-0.9.9.5-gcc44.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gloox/files/gloox-0.9.9.5-gcc44.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-gcc44.patch?rev=1.1&content-type=text/plain
13
14 Index: gloox-0.9.9.5-gcc44.patch
15 ===================================================================
16 diff -NrU5 gloox-0.9.9.5.original/src/md5.cpp gloox-0.9.9.5/src/md5.cpp
17 --- gloox-0.9.9.5.original/src/md5.cpp 2009-06-18 15:19:28.000000000 -0600
18 +++ gloox-0.9.9.5/src/md5.cpp 2009-06-18 15:22:11.000000000 -0600
19 @@ -70,10 +70,11 @@
20 */
21
22 #include "md5.h"
23
24 #include <string.h>
25 +#include <cstdio>
26
27 namespace gloox
28 {
29 // #undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
30 // #ifdef ARCH_IS_BIG_ENDIAN
31 diff -NrU5 gloox-0.9.9.5.original/src/sha.cpp gloox-0.9.9.5/src/sha.cpp
32 --- gloox-0.9.9.5.original/src/sha.cpp 2009-06-18 15:19:28.000000000 -0600
33 +++ gloox-0.9.9.5/src/sha.cpp 2009-06-18 15:31:29.000000000 -0600
34 @@ -10,10 +10,12 @@
35 This software is distributed without any warranty.
36 */
37
38 #include "sha.h"
39
40 +#include <cstdio>
41 +
42 namespace gloox
43 {
44
45 SHA::SHA()
46 {