From: | "Samuli Suominen (drac)" <drac@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/lineakd/files: lineakd-0.9.0-gcc43.patch |
Date: | Tue, 22 Apr 2008 17:00:32 |
Message-Id: | E1JoLr3-0008Fz-9q@stork.gentoo.org |
1 | drac 08/04/22 17:00:29 |
2 | |
3 | Added: lineakd-0.9.0-gcc43.patch |
4 | Log: |
5 | Fix building with GCC 4.3, thanks to Peter Alfredsen wrt #218784. |
6 | (Portage version: 2.1.5_rc6) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/lineakd/files/lineakd-0.9.0-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: lineakd-0.9.0-gcc43.patch |
15 | =================================================================== |
16 | |
17 | --- lineakd-0.9.orig/lineak/xmgr.cpp |
18 | +++ lineakd-0.9/lineak/xmgr.cpp |
19 | @@ -21,6 +21,8 @@ |
20 | #include <lineak/lbutton.h> |
21 | |
22 | extern "C" { |
23 | + #include <stdlib.h> |
24 | + #include <string.h> |
25 | #include <signal.h> |
26 | #include <X11/Xlib.h> |
27 | #include <X11/keysym.h> |
28 | --- lineakd-0.9.orig/lineak/defloader.h |
29 | +++ lineakd-0.9/lineak/defloader.h |
30 | @@ -23,6 +23,7 @@ |
31 | # endif |
32 | |
33 | # include <lineak/loader.h> |
34 | +# include <cstdlib> |
35 | # include <map> |
36 | |
37 | class LDef; |
38 | --- lineakd-0.9.orig/lineak/pluginmanager.cpp |
39 | +++ lineakd-0.9/lineak/pluginmanager.cpp |
40 | @@ -34,6 +34,7 @@ |
41 | #include <unistd.h> |
42 | #include <dirent.h> |
43 | #include <dlfcn.h> |
44 | +#include <string.h> |
45 | } |
46 | |
47 | using namespace lineak_core_functions; |
48 | --- lineakd-0.9.orig/lineak/cdromctrl.cpp |
49 | +++ lineakd-0.9/lineak/cdromctrl.cpp |
50 | @@ -51,6 +51,7 @@ |
51 | |
52 | #include <stdio.h> |
53 | #include <errno.h> |
54 | +#include <string.h> |
55 | #include <unistd.h> |
56 | |
57 | } |
58 | |
59 | |
60 | |
61 | |
62 | -- |
63 | gentoo-commits@l.g.o mailing list |