From: | "Samuli Suominen (drac)" <drac@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/nload/files: nload-0.7.1-gcc43.patch |
Date: | Tue, 22 Apr 2008 17:29:09 |
Message-Id: | E1JoMIk-0000Br-Qh@stork.gentoo.org |
1 | drac 08/04/22 17:29:06 |
2 | |
3 | Added: nload-0.7.1-gcc43.patch |
4 | Log: |
5 | Version bump. Fixes also building failure with GCC 4.3. Thanks to Peter Alfredsen wrt #218909. |
6 | (Portage version: 2.1.5_rc6) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/nload/files/nload-0.7.1-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nload/files/nload-0.7.1-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nload/files/nload-0.7.1-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: nload-0.7.1-gcc43.patch |
15 | =================================================================== |
16 | diff -NrU5 nload-0.7.1.orig/src/device.cpp nload-0.7.1/src/device.cpp |
17 | --- nload-0.7.1.orig/src/device.cpp 2008-02-02 17:14:34.000000000 +0100 |
18 | +++ nload-0.7.1/src/device.cpp 2008-04-22 08:08:40.000000000 +0200 |
19 | @@ -19,10 +19,11 @@ |
20 | #include "devreader.h" |
21 | #include "graph.h" |
22 | #include "setting.h" |
23 | #include "settingstore.h" |
24 | #include "window.h" |
25 | +#include <climits> |
26 | |
27 | #include <iomanip> |
28 | |
29 | using namespace std; |
30 | |
31 | diff -NrU5 nload-0.7.1.orig/src/main.cpp nload-0.7.1/src/main.cpp |
32 | --- nload-0.7.1.orig/src/main.cpp 2008-02-27 21:22:35.000000000 +0100 |
33 | +++ nload-0.7.1/src/main.cpp 2008-04-22 08:11:26.000000000 +0200 |
34 | @@ -50,10 +50,12 @@ |
35 | |
36 | #include <ctype.h> |
37 | #include <time.h> |
38 | #include <curses.h> |
39 | #include <signal.h> |
40 | +#include <cstring> |
41 | + |
42 | #undef clear |
43 | #undef erase |
44 | #undef refresh |
45 | |
46 | #define STANDARD_AVERAGE_WINDOW 300 |
47 | |
48 | |
49 | |
50 | -- |
51 | gentoo-commits@l.g.o mailing list |