Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
libofx
libofx-0.8.2-gcc43.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libofx-0.8.2-gcc43.patch of Package libofx
Index: libofx-0.9.1/lib/context.hh =================================================================== --- libofx-0.9.1.orig/lib/context.hh +++ libofx-0.9.1/lib/context.hh @@ -13,8 +13,9 @@ #ifndef CONTEXT_H #define CONTEXT_H -#include <string.h> -#include <time.h> // for time_t +#include <string> +#include <cstring> +#include <ctime> // for time_t #include "libofx.h" #include "ParserEventGeneratorKit.h" Index: libofx-0.9.1/lib/getopt.c =================================================================== --- libofx-0.9.1.orig/lib/getopt.c +++ libofx-0.9.1/lib/getopt.c @@ -39,7 +39,8 @@ # endif #endif -#include <stdio.h> +#include <cstdio> +#include <cstdlib> /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C @@ -65,14 +66,14 @@ #ifdef __GNU_LIBRARY__ /* Don't include stdlib.h for non-GNU C libraries because some of them contain conflicting prototypes for getopt. */ -# include <stdlib.h> +# include <cstdlib> # include <unistd.h> #endif /* GNU C library. */ #ifdef VMS # include <unixlib.h> # if HAVE_STRING_H - 0 -# include <string.h> +# include <cstring> # endif #endif Index: libofx-0.9.1/lib/ofx_container_transaction.cpp =================================================================== --- libofx-0.9.1.orig/lib/ofx_container_transaction.cpp +++ libofx-0.9.1/lib/ofx_container_transaction.cpp @@ -22,6 +22,7 @@ #endif #include <string> +#include <cstdlib> #include "messages.hh" #include "libofx.h" #include "ofx_containers.hh" Index: libofx-0.9.1/lib/ofx_request.cpp =================================================================== --- libofx-0.9.1.orig/lib/ofx_request.cpp +++ libofx-0.9.1/lib/ofx_request.cpp @@ -21,6 +21,7 @@ #include <config.h> #endif +#include <cstring> #include <string> #include "messages.hh" #include "libofx.h" Index: libofx-0.9.1/lib/ofx_request_accountinfo.cpp =================================================================== --- libofx-0.9.1.orig/lib/ofx_request_accountinfo.cpp +++ libofx-0.9.1/lib/ofx_request_accountinfo.cpp @@ -22,6 +22,7 @@ #endif #include <string> +#include <cstdlib> #include "libofx.h" #include "ofx_request_accountinfo.hh" Index: libofx-0.9.1/lib/ofx_request_statement.cpp =================================================================== --- libofx-0.9.1.orig/lib/ofx_request_statement.cpp +++ libofx-0.9.1/lib/ofx_request_statement.cpp @@ -22,6 +22,8 @@ #endif #include <string> +#include <cstring> +#include <cstdlib> #include "libofx.h" #include "ofx_utilities.hh" #include "ofx_request_statement.hh" Index: libofx-0.9.1/lib/ofx_utilities.cpp =================================================================== --- libofx-0.9.1.orig/lib/ofx_utilities.cpp +++ libofx-0.9.1/lib/ofx_utilities.cpp @@ -21,9 +21,11 @@ #include "ParserEventGeneratorKit.h" #include "SGMLApplication.h" -#include <time.h> +#include <ctime> #include <string> -#include <locale.h> +#include <cstring> +#include <clocale> +#include <cstdlib> #include "messages.hh" #include "ofx_utilities.hh" Index: libofx-0.9.1/lib/ofx_utilities.hh =================================================================== --- libofx-0.9.1.orig/lib/ofx_utilities.hh +++ libofx-0.9.1/lib/ofx_utilities.hh @@ -17,8 +17,9 @@ ***************************************************************************/ #ifndef OFX_UTIL_H #define OFX_UTIL_H -#include <string.h> -#include <time.h> // for time_t +#include <string> +#include <cstring> +#include <ctime> // for time_t #include "ParserEventGeneratorKit.h" using namespace std; /* This file contains various simple functions for type conversion & al */ Index: libofx-0.9.1/ofxconnect/cmdline.c =================================================================== --- libofx-0.9.1.orig/ofxconnect/cmdline.c +++ libofx-0.9.1/ofxconnect/cmdline.c @@ -13,9 +13,9 @@ #include "config.h" #endif -#include <stdio.h> -#include <stdlib.h> -#include <string.h> +#include <cstdio> +#include <cstdlib> +#include <cstring> #include "getopt.h" Index: libofx-0.9.1/ofxdump/ofxdump.cpp =================================================================== --- libofx-0.9.1.orig/ofxdump/ofxdump.cpp +++ libofx-0.9.1/ofxdump/ofxdump.cpp @@ -30,8 +30,10 @@ #include <iostream> #include <iomanip> #include <string> +#include <cstdio> +#include <cstdlib> +#include <cstring> #include "libofx.h" -#include <stdio.h> /* for printf() */ #include <config.h> /* Include config constants, e.g., VERSION TF */ #include <errno.h>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor