Dash:
[t2.git] / package / emulators / stella / hotfix-gcc43.patch
blob62ec1290fff5888977d9acfa0155b89a75045d2b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../stella/gcc43.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- stella-2.6.1/src/unix/SerialPortUNIX.cxx.vanilla 2008-05-29 10:33:48.000000000 +0200
18 +++ stella-2.6.1/src/unix/SerialPortUNIX.cxx 2008-05-29 10:33:57.000000000 +0200
19 @@ -18,6 +18,7 @@
21 #include <sys/types.h>
22 #include <sys/stat.h>
23 +#include <string.h>
24 #include <fcntl.h>
25 #include <unistd.h>
26 #include <sys/termios.h>
27 --- stella-2.6.1/src/emucore/Cart.cxx.vanilla 2008-05-29 10:34:44.000000000 +0200
28 +++ stella-2.6.1/src/emucore/Cart.cxx 2008-05-29 10:34:50.000000000 +0200
29 @@ -16,6 +16,7 @@
30 // $Id: Cart.cxx,v 1.42 2008/05/16 23:56:21 stephena Exp $
31 //============================================================================
33 +#include <cstring>
34 #include <cassert>
35 #include <sstream>
37 --- stella-2.6.1/src/emucore/TrackBall.cxx.vanilla 2008-05-29 10:35:13.000000000 +0200
38 +++ stella-2.6.1/src/emucore/TrackBall.cxx 2008-05-29 10:35:44.000000000 +0200
39 @@ -16,6 +16,8 @@
40 // $Id: TrackBall.cxx,v 1.2 2008/05/19 03:15:12 stephena Exp $
41 //============================================================================
43 +#include <cstdlib>
45 #include "Event.hxx"
46 #include "System.hxx"
47 #include "TIA.hxx"
48 --- stella-2.6.1/src/emucore/CartAR.cxx.vanilla 2008-05-29 10:34:27.000000000 +0200
49 +++ stella-2.6.1/src/emucore/CartAR.cxx 2008-05-29 10:34:35.000000000 +0200
50 @@ -16,6 +16,7 @@
51 // $Id: CartAR.cxx,v 1.21 2008/03/28 23:29:13 stephena Exp $
52 //============================================================================
54 +#include <cstring>
55 #include <cassert>
57 #include "M6502Hi.hxx"