From: | "Peter Alfredsen (loki_val)" <loki_val@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/lavaps/files: lavaps-2.7-gcc43.patch |
Date: | Sun, 29 Jun 2008 12:44:31 |
Message-Id: | E1KCwGY-0007rJ-HB@stork.gentoo.org |
1 | loki_val 08/06/29 12:44:26 |
2 | |
3 | Added: lavaps-2.7-gcc43.patch |
4 | Log: |
5 | Fix for gcc-4.3, bug #225377. Thanks Marek Miller <mlm@××××××.pl> for initial patch |
6 | (Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-misc/lavaps/files/lavaps-2.7-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/lavaps/files/lavaps-2.7-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/lavaps/files/lavaps-2.7-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: lavaps-2.7-gcc43.patch |
15 | =================================================================== |
16 | diff -NrU5 lavaps-2.7.orig/src/const_str.hh lavaps-2.7/src/const_str.hh |
17 | --- lavaps-2.7.orig/src/const_str.hh 2008-06-29 14:39:09.000000000 +0200 |
18 | +++ lavaps-2.7/src/const_str.hh 2008-06-29 14:39:29.000000000 +0200 |
19 | @@ -22,10 +22,11 @@ |
20 | |
21 | |
22 | #ifndef lavaps_const_str_h |
23 | #define lavaps_const_str_h |
24 | |
25 | +#include <cstdlib> |
26 | #include <string.h> |
27 | |
28 | class const_str { |
29 | protected: |
30 | const char *rep_; |
31 | diff -NrU5 lavaps-2.7.orig/src/lava_signal.cc lavaps-2.7/src/lava_signal.cc |
32 | --- lavaps-2.7.orig/src/lava_signal.cc 2008-06-29 14:38:04.000000000 +0200 |
33 | +++ lavaps-2.7/src/lava_signal.cc 2008-06-29 14:40:13.000000000 +0200 |
34 | @@ -28,10 +28,11 @@ |
35 | #include "main.hh" |
36 | |
37 | #include <sys/time.h> |
38 | #include <sys/resource.h> |
39 | #include <sys/types.h> |
40 | +#include <cstring> |
41 | #include <signal.h> |
42 | |
43 | int |
44 | lava_signal(int pid, int sig) |
45 | { |
46 | |
47 | |
48 | |
49 | -- |
50 | gentoo-commits@l.g.o mailing list |