wok diff libofx/stuff/libofx-0.9.1-include-cxx-headers.patch @ rev 11973

Up: tazpanel (1.4.3) - Bug fix and small improvment
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 02 20:15:31 2012 +0100 (2012-03-02)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libofx/stuff/libofx-0.9.1-include-cxx-headers.patch	Fri Mar 02 20:15:31 2012 +0100
     1.3 @@ -0,0 +1,82 @@
     1.4 +diff -ur libofx-0.9.1-orig/lib/ofx_container_transaction.cpp libofx-0.9.1-patched/lib/ofx_container_transaction.cpp
     1.5 +--- libofx-0.9.1-orig/lib/ofx_container_transaction.cpp	2007-11-09 23:13:21.000000000 +0000
     1.6 ++++ libofx-0.9.1-patched/lib/ofx_container_transaction.cpp	2009-11-01 06:29:05.536051464 +0000
     1.7 +@@ -22,6 +22,7 @@
     1.8 + #endif
     1.9 + 
    1.10 + #include <string>
    1.11 ++#include <cstdlib>
    1.12 + #include "messages.hh"
    1.13 + #include "libofx.h"
    1.14 + #include "ofx_containers.hh"
    1.15 +diff -ur libofx-0.9.1-orig/lib/ofx_request.cpp libofx-0.9.1-patched/lib/ofx_request.cpp
    1.16 +--- libofx-0.9.1-orig/lib/ofx_request.cpp	2007-10-28 03:01:38.000000000 +0000
    1.17 ++++ libofx-0.9.1-patched/lib/ofx_request.cpp	2009-11-01 06:29:22.034801091 +0000
    1.18 +@@ -22,6 +22,7 @@
    1.19 + #endif
    1.20 + 
    1.21 + #include <string>
    1.22 ++#include <cstring>
    1.23 + #include "messages.hh"
    1.24 + #include "libofx.h"
    1.25 + #include "ofx_request.hh"
    1.26 +diff -ur libofx-0.9.1-orig/lib/ofx_request_accountinfo.cpp libofx-0.9.1-patched/lib/ofx_request_accountinfo.cpp
    1.27 +--- libofx-0.9.1-orig/lib/ofx_request_accountinfo.cpp	2007-10-28 03:01:38.000000000 +0000
    1.28 ++++ libofx-0.9.1-patched/lib/ofx_request_accountinfo.cpp	2009-11-01 06:29:38.054801212 +0000
    1.29 +@@ -22,6 +22,7 @@
    1.30 + #endif
    1.31 + 
    1.32 + #include <string>
    1.33 ++#include <cstdlib>
    1.34 + #include "libofx.h"
    1.35 + #include "ofx_request_accountinfo.hh"
    1.36 + 
    1.37 +diff -ur libofx-0.9.1-orig/lib/ofx_request_statement.cpp libofx-0.9.1-patched/lib/ofx_request_statement.cpp
    1.38 +--- libofx-0.9.1-orig/lib/ofx_request_statement.cpp	2007-10-28 03:01:38.000000000 +0000
    1.39 ++++ libofx-0.9.1-patched/lib/ofx_request_statement.cpp	2009-11-01 06:29:54.464800978 +0000
    1.40 +@@ -22,6 +22,7 @@
    1.41 + #endif
    1.42 + 
    1.43 + #include <string>
    1.44 ++#include <cstdlib>
    1.45 + #include "libofx.h"
    1.46 + #include "ofx_utilities.hh"
    1.47 + #include "ofx_request_statement.hh"
    1.48 +diff -ur libofx-0.9.1-orig/lib/ofx_utilities.cpp libofx-0.9.1-patched/lib/ofx_utilities.cpp
    1.49 +--- libofx-0.9.1-orig/lib/ofx_utilities.cpp	2007-10-27 13:15:58.000000000 +0100
    1.50 ++++ libofx-0.9.1-patched/lib/ofx_utilities.cpp	2009-11-01 06:28:38.574801207 +0000
    1.51 +@@ -18,10 +18,11 @@
    1.52 + #include <config.h>
    1.53 + #include <iostream>
    1.54 + #include <assert.h>
    1.55 ++#include <cstdlib>
    1.56 + 
    1.57 + #include "ParserEventGeneratorKit.h"
    1.58 + #include "SGMLApplication.h"
    1.59 +-#include <time.h>
    1.60 ++#include <ctime>
    1.61 + #include <string>
    1.62 + #include <locale.h>
    1.63 + #include "messages.hh"
    1.64 +diff -ur libofx-0.9.1-orig/ofxdump/ofxdump.cpp libofx-0.9.1-patched/ofxdump/ofxdump.cpp
    1.65 +--- libofx-0.9.1-orig/ofxdump/ofxdump.cpp	2006-08-02 05:19:22.000000000 +0100
    1.66 ++++ libofx-0.9.1-patched/ofxdump/ofxdump.cpp	2009-11-01 06:31:23.564801519 +0000
    1.67 +@@ -27,12 +27,14 @@
    1.68 +  *   (at your option) any later version.                                   *
    1.69 +  *                                                                         *
    1.70 +  ***************************************************************************/
    1.71 ++#include <config.h>		/* Include config constants, e.g., VERSION TF */
    1.72 + #include <iostream>
    1.73 + #include <iomanip>
    1.74 + #include <string>
    1.75 + #include "libofx.h"
    1.76 +-#include <stdio.h>		/* for printf() */
    1.77 +-#include <config.h>		/* Include config constants, e.g., VERSION TF */
    1.78 ++#include <cstdlib>
    1.79 ++#include <cstdio>		/* for printf() */
    1.80 ++#include <cstring>
    1.81 + #include <errno.h>
    1.82 + 
    1.83 + #include "cmdline.h" /* Gengetopt generated parser */
    1.84 +
    1.85 +