* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / textproc / xalan-c / hotfix-gcc43.patch
blob06a361571b48a079f81c3416a41fa3dac4d8c5f2
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../xalan-c/gcc43.patch
5 # Copyright (C) 2009 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 diff -Nur xml-xalan-orig/c/src/xalanc/PlatformSupport/DirectoryEnumerator.hpp xml-xalan/c/src/xalanc/PlatformSupport/DirectoryEnumerator.hpp
18 --- xml-xalan-orig/c/src/xalanc/PlatformSupport/DirectoryEnumerator.hpp 2009-02-09 01:36:13.000000000 +0000
19 +++ xml-xalan/c/src/xalanc/PlatformSupport/DirectoryEnumerator.hpp 2009-02-09 01:58:01.000000000 +0000
20 @@ -33,7 +33,7 @@
21 #endif
25 +#include <cstring>
26 #include <functional>
27 #include <iterator>
29 diff -Nur xml-xalan-orig/c/src/xalanc/XMLSupport/FormatterToHTML.cpp xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.cpp
30 --- xml-xalan-orig/c/src/xalanc/XMLSupport/FormatterToHTML.cpp 2009-02-09 01:36:13.000000000 +0000
31 +++ xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.cpp 2009-02-09 01:43:14.000000000 +0000
32 @@ -26,7 +26,7 @@
35 #include <cassert>
37 +#include <cstring>
40 #include <xercesc/sax/AttributeList.hpp>
41 diff -Nur xml-xalan-orig/c/src/xalanc/XSLT/ElemNumber.cpp xml-xalan/c/src/xalanc/XSLT/ElemNumber.cpp
42 --- xml-xalan-orig/c/src/xalanc/XSLT/ElemNumber.cpp 2009-02-09 01:36:13.000000000 +0000
43 +++ xml-xalan/c/src/xalanc/XSLT/ElemNumber.cpp 2009-02-09 01:47:46.000000000 +0000
44 @@ -14,7 +14,7 @@
45 * limitations under the License.
47 #include "ElemNumber.hpp"
49 +#include <cstring>
52 #include <xercesc/sax/AttributeList.hpp>
53 diff -Nur xml-xalan-orig/c/src/xalanc/XalanDOM/XalanDOMString.cpp xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp
54 --- xml-xalan-orig/c/src/xalanc/XalanDOM/XalanDOMString.cpp 2009-02-09 01:36:13.000000000 +0000
55 +++ xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp 2009-02-09 01:37:18.000000000 +0000
56 @@ -26,7 +26,7 @@
59 #include <cstdlib>
61 +#include <string.h>
64 XALAN_CPP_NAMESPACE_BEGIN
65 diff -Nur xml-xalan-orig/c/src/xalanc/XalanExe/XalanExe.cpp xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp
66 --- xml-xalan-orig/c/src/xalanc/XalanExe/XalanExe.cpp 2009-02-09 01:36:13.000000000 +0000
67 +++ xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp 2009-02-09 02:03:52.000000000 +0000
68 @@ -17,7 +17,7 @@
69 #include <xalanc/Include/PlatformDefinitions.hpp>
73 +#include <cstring>
74 #include <cstdlib>
75 #if defined(XALAN_CLASSIC_IOSTREAMS)
76 #include <iostream.h>