1 |
nyhm 08/09/01 23:01:11 |
2 |
|
3 |
Added: nestra-0.66-include.patch |
4 |
Log: |
5 |
Fix implicit declarations and linking on amd64, bug #206375 |
6 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-emulation/nestra/files/nestra-0.66-include.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/nestra/files/nestra-0.66-include.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/nestra/files/nestra-0.66-include.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: nestra-0.66-include.patch |
15 |
=================================================================== |
16 |
--- comptbl.c |
17 |
+++ comptbl.c |
18 |
@@ -9,6 +9,7 @@ |
19 |
#include <stdio.h> |
20 |
#include <string.h> |
21 |
#include <errno.h> |
22 |
+#include <stdlib.h> |
23 |
|
24 |
#define ALLOC_SIZE 0x400000 /* 4MB */ |
25 |
#define TBL_BASE ((unsigned char *)0x10000000) |
26 |
--- d6502.c |
27 |
+++ d6502.c |
28 |
@@ -1,6 +1,7 @@ |
29 |
/* 6502 disassembler */ |
30 |
/* Public Domain */ |
31 |
|
32 |
+#include <stdio.h> |
33 |
#include "globals.h" |
34 |
|
35 |
char Opcodes_6502[256][4]={ |
36 |
--- emu.c |
37 |
+++ emu.c |
38 |
@@ -12,6 +12,7 @@ |
39 |
#include <sys/mman.h> |
40 |
#include <stdio.h> |
41 |
#include <stdlib.h> |
42 |
+#include <string.h> |
43 |
|
44 |
#include "mapper.h" |
45 |
#include "io.h" |
46 |
--- fb.c |
47 |
+++ fb.c |
48 |
@@ -2,6 +2,8 @@ |
49 |
/* Framebuffer/pixmap rendering */ |
50 |
/* Public Domain */ |
51 |
|
52 |
+#include <stdlib.h> |
53 |
+#include <string.h> |
54 |
#include <stdio.h> |
55 |
#include "mapper.h" |
56 |
#include "globals.h" |
57 |
--- io.c |
58 |
+++ io.c |
59 |
@@ -5,6 +5,7 @@ |
60 |
to do I/O operations. */ |
61 |
|
62 |
#include <stdio.h> |
63 |
+#include <string.h> |
64 |
#include "mapper.h" |
65 |
#include "io.h" |
66 |
#include "globals.h" |
67 |
--- mapper.c |
68 |
+++ mapper.c |
69 |
@@ -1,6 +1,7 @@ |
70 |
/* Nestra mapper.c */ |
71 |
/* Public Domain */ |
72 |
|
73 |
+#include <string.h> |
74 |
#include "mapper.h" |
75 |
#include "consts.h" |
76 |
|
77 |
--- x11.c |
78 |
+++ x11.c |
79 |
@@ -1,6 +1,9 @@ |
80 |
/* Nestra x11.c */ |
81 |
/* Public Domain */ |
82 |
|
83 |
+#include <stdlib.h> |
84 |
+#include <string.h> |
85 |
+#include <stdio.h> |
86 |
#include <X11/Xlib.h> |
87 |
#include <X11/keysym.h> |
88 |
#include <X11/Xutil.h> |