Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/libcult/files: 1.4.6-fix-compilation-with-gcc-4.7.patch
Date: Fri, 01 Jun 2012 20:39:47
Message-Id: 20120601203938.64C3A2004C@flycatcher.gentoo.org
1 dev-zero 12/06/01 20:39:38
2
3 Added: 1.4.6-fix-compilation-with-gcc-4.7.patch
4 Log:
5 Fix compilation of dependent libs with gcc-4.7.
6
7 (Portage version: 2.1.10.56/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-cpp/libcult/files/1.4.6-fix-compilation-with-gcc-4.7.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/libcult/files/1.4.6-fix-compilation-with-gcc-4.7.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/libcult/files/1.4.6-fix-compilation-with-gcc-4.7.patch?rev=1.1&content-type=text/plain
14
15 Index: 1.4.6-fix-compilation-with-gcc-4.7.patch
16 ===================================================================
17 From 2ef8e0426baad35a3438f9497005c3e3391e23f0 Mon Sep 17 00:00:00 2001
18 From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@××××××××.ch>
19 Date: Fri, 1 Jun 2012 10:12:33 +0200
20 Subject: [PATCH 2/2] fix compilation with gcc-4.7
21
22 ---
23 cult/mm/evptr.hxx | 4 ++--
24 cult/mm/shptr.hxx | 4 ++--
25 2 files changed, 4 insertions(+), 4 deletions(-)
26
27 diff --git a/cult/mm/evptr.hxx b/cult/mm/evptr.hxx
28 index 18f232c..ed0bd93 100644
29 --- a/cult/mm/evptr.hxx
30 +++ b/cult/mm/evptr.hxx
31 @@ -70,7 +70,7 @@ namespace Cult
32 Evptr&
33 operator= (Evptr const& ep)
34 {
35 - assign (ep.cp_ ? ep.cp_ : ep.p_, ep.c_);
36 + this->assign (ep.cp_ ? ep.cp_ : ep.p_, ep.c_);
37
38 return *this;
39 }
40 @@ -79,7 +79,7 @@ namespace Cult
41 Evptr&
42 operator= (Evptr<Y> const& ep)
43 {
44 - assign (ep.cp_ ? ep.cp_ : ep.p_, ep.c_);
45 + this->assign (ep.cp_ ? ep.cp_ : ep.p_, ep.c_);
46
47 return *this;
48 }
49 diff --git a/cult/mm/shptr.hxx b/cult/mm/shptr.hxx
50 index a5e1257..6630b1c 100644
51 --- a/cult/mm/shptr.hxx
52 +++ b/cult/mm/shptr.hxx
53 @@ -45,7 +45,7 @@ namespace Cult
54 Shptr&
55 operator= (Shptr const& ap)
56 {
57 - assign (ap);
58 + this->assign (ap);
59 return *this;
60 }
61
62 @@ -53,7 +53,7 @@ namespace Cult
63 Shptr&
64 operator= (Shptr<Y> const& ap)
65 {
66 - assign (ap);
67 + this->assign (ap);
68 return *this;
69 }
70
71 --
72 1.7.8.5