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 net-misc/aria2/files: 0.16.0-missing_includes.patch
Date: Fri, 10 Oct 2008 13:24:20
Message-Id: E1KoHyb-0005xG-Be@stork.gentoo.org
1 dev-zero 08/10/10 13:24:17
2
3 Added: 0.16.0-missing_includes.patch
4 Log:
5 Added fix for bug #240552
6 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc9 x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/aria2/files/0.16.0-missing_includes.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/files/0.16.0-missing_includes.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/files/0.16.0-missing_includes.patch?rev=1.1&content-type=text/plain
13
14 Index: 0.16.0-missing_includes.patch
15 ===================================================================
16 diff -Naur aria2c-0.16.0.orig/src/BtRuntime.h aria2c-0.16.0/src/BtRuntime.h
17 --- aria2c-0.16.0.orig/src/BtRuntime.h 2008-10-10 14:25:15.000000000 +0200
18 +++ aria2c-0.16.0/src/BtRuntime.h 2008-10-10 14:41:46.000000000 +0200
19 @@ -45,7 +45,7 @@
20 uint64_t uploadLengthAtStartup;
21 uint16_t port;
22 bool halt;
23 - unsigned int connections;
24 + size_t connections;
25 bool _ready;
26
27 static const unsigned int MIN_PEERS = 40;
28 @@ -81,7 +81,7 @@
29 this->halt = halt;
30 }
31
32 - unsigned int getConnections() const { return connections; }
33 + size_t getConnections() const { return connections; }
34
35 void increaseConnections() { connections++; }