1 |
armin76 08/05/02 15:31:52 |
2 |
|
3 |
Added: 003_all_vnc-gcc4.3.patch |
4 |
Log: |
5 |
Add patch to build with gcc-4.3, bug #212948 |
6 |
|
7 |
Revision Changes Path |
8 |
1.1 src/patchsets/vnc/4.1.2-r4/003_all_vnc-gcc4.3.patch |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/vnc/4.1.2-r4/003_all_vnc-gcc4.3.patch?rev=1.1&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/vnc/4.1.2-r4/003_all_vnc-gcc4.3.patch?rev=1.1&content-type=text/plain |
12 |
|
13 |
Index: 003_all_vnc-gcc4.3.patch |
14 |
=================================================================== |
15 |
diff -Naur vnc-4_1_2-unixsrc.orig/common/network/TcpSocket.cxx vnc-4_1_2-unixsrc/common/network/TcpSocket.cxx |
16 |
--- vnc-4_1_2-unixsrc.orig/common/network/TcpSocket.cxx 2006-05-15 18:56:20.000000000 +0200 |
17 |
+++ vnc-4_1_2-unixsrc/common/network/TcpSocket.cxx 2008-03-10 12:27:22.000000000 +0100 |
18 |
@@ -35,6 +35,7 @@ |
19 |
#include <string.h> |
20 |
#include <signal.h> |
21 |
#include <fcntl.h> |
22 |
+#include <stdlib.h> |
23 |
#endif |
24 |
|
25 |
#include <network/TcpSocket.h> |
26 |
diff -Naur vnc-4_1_2-unixsrc.orig/unix/tx/TXImage.cxx vnc-4_1_2-unixsrc/unix/tx/TXImage.cxx |
27 |
--- vnc-4_1_2-unixsrc.orig/unix/tx/TXImage.cxx 2006-05-15 18:56:20.000000000 +0200 |
28 |
+++ vnc-4_1_2-unixsrc/unix/tx/TXImage.cxx 2008-03-10 12:36:06.000000000 +0100 |
29 |
@@ -22,6 +22,8 @@ |
30 |
|
31 |
#include <stdio.h> |
32 |
#include <strings.h> |
33 |
+#include <malloc.h> |
34 |
+#include <stdlib.h> |
35 |
#include <sys/types.h> |
36 |
#include <sys/ipc.h> |
37 |
#include <sys/shm.h> |
38 |
@@ -34,6 +36,7 @@ |
39 |
#include "TXWindow.h" |
40 |
#include "TXImage.h" |
41 |
|
42 |
+ |
43 |
using namespace rfb; |
44 |
|
45 |
static rfb::LogWriter vlog("TXImage"); |
46 |
diff -Naur vnc-4_1_2-unixsrc.orig/unix/x0vncserver/Image.cxx vnc-4_1_2-unixsrc/unix/x0vncserver/Image.cxx |
47 |
--- vnc-4_1_2-unixsrc.orig/unix/x0vncserver/Image.cxx 2006-05-15 18:56:20.000000000 +0200 |
48 |
+++ vnc-4_1_2-unixsrc/unix/x0vncserver/Image.cxx 2008-03-10 12:42:17.000000000 +0100 |
49 |
@@ -21,6 +21,8 @@ |
50 |
|
51 |
|
52 |
#include <stdio.h> |
53 |
+#include <malloc.h> |
54 |
+#include <stdlib.h> |
55 |
#include <sys/types.h> |
56 |
#include <sys/ipc.h> |
57 |
#include <sys/shm.h> |
58 |
|
59 |
|
60 |
|
61 |
-- |
62 |
gentoo-commits@l.g.o mailing list |