Dash:
[t2-trunk.git] / package / develop / esnacc / hotfix-gcc43.patch
blob1af93156d9f6402853c338b6d1f9746043a34c07
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../esnacc/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 --- SNACC/snacc.h.vanilla 2008-08-25 07:31:25.000000000 +0200
18 +++ SNACC/snacc.h 2008-08-25 07:31:37.000000000 +0200
19 @@ -125,32 +125,12 @@
21 #endif /* __cplusplus */
23 -/*
24 - * Inspired by gdb 4.0, for better or worse...
25 - * (grabbed from Barry Brachman - MS)
26 - *
27 - * These macros munge C routine declarations such
28 - * that they work for ANSI or non-ANSI C compilers
29 - */
30 -#ifdef __USE_ANSI_C__
32 #define PROTO( X) X
33 #define PARAMS( arglist, args) (args)
34 #define NOPARAMS() (void)
35 #define _AND_ ,
36 #define DOTS , ...
38 -#else /* !__USE_ANSI_C__ */
40 -#define PROTO( X) ()
41 -#define PARAMS( arglist, args) arglist args;
42 -#define NOPARAMS() ()
43 -#define _AND_ ;
44 -#define DOTS
45 -#define void char
47 -#endif /* __USE_ANSI_C__ */
49 #include "policy.h"
51 #if COMPILER
52 --- SNACC/c++-lib/src/snaccexcept.cpp.vanilla 2008-08-26 09:57:00.000000000 +0200
53 +++ SNACC/c++-lib/src/snaccexcept.cpp 2008-08-26 09:57:05.000000000 +0200
54 @@ -2,6 +2,7 @@
57 #include "snaccexcept.h"
58 +#include <string.h>
61 namespace SNACC
62 --- SNACC/c++-lib/src/asn-rvsbuf.cpp.vanilla 2008-08-26 09:56:12.000000000 +0200
63 +++ SNACC/c++-lib/src/asn-rvsbuf.cpp 2008-08-26 09:56:17.000000000 +0200
64 @@ -1,4 +1,5 @@
65 #include "asn-buf.h"
66 +#include <string.h>
68 using namespace SNACC;
70 --- SNACC/c++-lib/src/asn-fileseg.cpp.vanilla 2008-08-26 09:56:38.000000000 +0200
71 +++ SNACC/c++-lib/src/asn-fileseg.cpp 2008-08-26 09:56:42.000000000 +0200
72 @@ -1,5 +1,6 @@
73 #include "asn-buf.h"
74 #include "snaccexcept.h"
75 +#include <string.h>
77 using namespace SNACC;