wok view libofx/stuff/libofx-0.9.1-include-cxx-headers.patch @ rev 8614

Fix: xfburn needs intltool to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 18:33:51 2011 +0100 (2011-02-14)
parents
children
line source
1 diff -ur libofx-0.9.1-orig/lib/ofx_container_transaction.cpp libofx-0.9.1-patched/lib/ofx_container_transaction.cpp
2 --- libofx-0.9.1-orig/lib/ofx_container_transaction.cpp 2007-11-09 23:13:21.000000000 +0000
3 +++ libofx-0.9.1-patched/lib/ofx_container_transaction.cpp 2009-11-01 06:29:05.536051464 +0000
4 @@ -22,6 +22,7 @@
5 #endif
7 #include <string>
8 +#include <cstdlib>
9 #include "messages.hh"
10 #include "libofx.h"
11 #include "ofx_containers.hh"
12 diff -ur libofx-0.9.1-orig/lib/ofx_request.cpp libofx-0.9.1-patched/lib/ofx_request.cpp
13 --- libofx-0.9.1-orig/lib/ofx_request.cpp 2007-10-28 03:01:38.000000000 +0000
14 +++ libofx-0.9.1-patched/lib/ofx_request.cpp 2009-11-01 06:29:22.034801091 +0000
15 @@ -22,6 +22,7 @@
16 #endif
18 #include <string>
19 +#include <cstring>
20 #include "messages.hh"
21 #include "libofx.h"
22 #include "ofx_request.hh"
23 diff -ur libofx-0.9.1-orig/lib/ofx_request_accountinfo.cpp libofx-0.9.1-patched/lib/ofx_request_accountinfo.cpp
24 --- libofx-0.9.1-orig/lib/ofx_request_accountinfo.cpp 2007-10-28 03:01:38.000000000 +0000
25 +++ libofx-0.9.1-patched/lib/ofx_request_accountinfo.cpp 2009-11-01 06:29:38.054801212 +0000
26 @@ -22,6 +22,7 @@
27 #endif
29 #include <string>
30 +#include <cstdlib>
31 #include "libofx.h"
32 #include "ofx_request_accountinfo.hh"
34 diff -ur libofx-0.9.1-orig/lib/ofx_request_statement.cpp libofx-0.9.1-patched/lib/ofx_request_statement.cpp
35 --- libofx-0.9.1-orig/lib/ofx_request_statement.cpp 2007-10-28 03:01:38.000000000 +0000
36 +++ libofx-0.9.1-patched/lib/ofx_request_statement.cpp 2009-11-01 06:29:54.464800978 +0000
37 @@ -22,6 +22,7 @@
38 #endif
40 #include <string>
41 +#include <cstdlib>
42 #include "libofx.h"
43 #include "ofx_utilities.hh"
44 #include "ofx_request_statement.hh"
45 diff -ur libofx-0.9.1-orig/lib/ofx_utilities.cpp libofx-0.9.1-patched/lib/ofx_utilities.cpp
46 --- libofx-0.9.1-orig/lib/ofx_utilities.cpp 2007-10-27 13:15:58.000000000 +0100
47 +++ libofx-0.9.1-patched/lib/ofx_utilities.cpp 2009-11-01 06:28:38.574801207 +0000
48 @@ -18,10 +18,11 @@
49 #include <config.h>
50 #include <iostream>
51 #include <assert.h>
52 +#include <cstdlib>
54 #include "ParserEventGeneratorKit.h"
55 #include "SGMLApplication.h"
56 -#include <time.h>
57 +#include <ctime>
58 #include <string>
59 #include <locale.h>
60 #include "messages.hh"
61 diff -ur libofx-0.9.1-orig/ofxdump/ofxdump.cpp libofx-0.9.1-patched/ofxdump/ofxdump.cpp
62 --- libofx-0.9.1-orig/ofxdump/ofxdump.cpp 2006-08-02 05:19:22.000000000 +0100
63 +++ libofx-0.9.1-patched/ofxdump/ofxdump.cpp 2009-11-01 06:31:23.564801519 +0000
64 @@ -27,12 +27,14 @@
65 * (at your option) any later version. *
66 * *
67 ***************************************************************************/
68 +#include <config.h> /* Include config constants, e.g., VERSION TF */
69 #include <iostream>
70 #include <iomanip>
71 #include <string>
72 #include "libofx.h"
73 -#include <stdio.h> /* for printf() */
74 -#include <config.h> /* Include config constants, e.g., VERSION TF */
75 +#include <cstdlib>
76 +#include <cstdio> /* for printf() */
77 +#include <cstring>
78 #include <errno.h>
80 #include "cmdline.h" /* Gengetopt generated parser */