Browse Source

libofx: fixed for gcc4.3

user/chris/test/early-mdev
Aldas Nabazas 14 years ago committed by Alejandro Mery
parent
commit
ef5089c182
  1. 86
      office/libofx/gcc43.patch

86
office/libofx/gcc43.patch

@ -0,0 +1,86 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libofx/gcc43.patch
# Copyright (C) 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
diff -Nur libofx-0.8.3-orig/lib/ofx_container_transaction.cpp libofx-0.8.3/lib/ofx_container_transaction.cpp
--- libofx-0.8.3-orig/lib/ofx_container_transaction.cpp 2009-02-15 14:16:14.000000000 +0000
+++ libofx-0.8.3/lib/ofx_container_transaction.cpp 2009-02-15 14:17:54.000000000 +0000
@@ -21,6 +21,7 @@
#include <config.h>
#endif
+#include <cstdlib>
#include <string>
#include "messages.hh"
#include "libofx.h"
diff -Nur libofx-0.8.3-orig/lib/ofx_request.cpp libofx-0.8.3/lib/ofx_request.cpp
--- libofx-0.8.3-orig/lib/ofx_request.cpp 2009-02-15 14:16:14.000000000 +0000
+++ libofx-0.8.3/lib/ofx_request.cpp 2009-02-15 14:20:07.000000000 +0000
@@ -21,6 +21,7 @@
#include <config.h>
#endif
+#include <cstring>
#include <string>
#include "messages.hh"
#include "libofx.h"
diff -Nur libofx-0.8.3-orig/lib/ofx_request_accountinfo.cpp libofx-0.8.3/lib/ofx_request_accountinfo.cpp
--- libofx-0.8.3-orig/lib/ofx_request_accountinfo.cpp 2009-02-15 14:16:14.000000000 +0000
+++ libofx-0.8.3/lib/ofx_request_accountinfo.cpp 2009-02-15 14:19:11.000000000 +0000
@@ -21,6 +21,7 @@
#include <config.h>
#endif
+#include <cstdlib>
#include <string>
#include "libofx.h"
#include "ofx_request_accountinfo.hh"
diff -Nur libofx-0.8.3-orig/lib/ofx_request_statement.cpp libofx-0.8.3/lib/ofx_request_statement.cpp
--- libofx-0.8.3-orig/lib/ofx_request_statement.cpp 2009-02-15 14:16:14.000000000 +0000
+++ libofx-0.8.3/lib/ofx_request_statement.cpp 2009-02-15 14:20:34.000000000 +0000
@@ -21,6 +21,7 @@
#include <config.h>
#endif
+#include <cstdlib>
#include <string>
#include "libofx.h"
#include "ofx_utilities.hh"
diff -Nur libofx-0.8.3-orig/lib/ofx_utilities.cpp libofx-0.8.3/lib/ofx_utilities.cpp
--- libofx-0.8.3-orig/lib/ofx_utilities.cpp 2009-02-15 14:16:14.000000000 +0000
+++ libofx-0.8.3/lib/ofx_utilities.cpp 2009-02-15 14:27:30.000000000 +0000
@@ -19,7 +19,8 @@
#include <iostream>
#include "ParserEventGeneratorKit.h"
#include "SGMLApplication.h"
-#include <time.h>
+#include <ctime>
+#include <cstdlib>
#include <string>
#include <locale.h>
#include "messages.hh"
diff -Nur libofx-0.8.3-orig/ofxdump/ofxdump.cpp libofx-0.8.3/ofxdump/ofxdump.cpp
--- libofx-0.8.3-orig/ofxdump/ofxdump.cpp 2009-02-15 14:16:14.000000000 +0000
+++ libofx-0.8.3/ofxdump/ofxdump.cpp 2009-02-15 14:22:02.000000000 +0000
@@ -29,6 +29,8 @@
***************************************************************************/
#include <iostream>
#include <iomanip>
+#include <cstdlib>
+#include <cstring>
#include <string>
#include "libofx.h"
#include <stdio.h> /* for printf() */
Loading…
Cancel
Save