OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
4.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libofx/libofx-0.9.1-gcc43.patch
  5. # Copyright (C) 2010 The OpenSDE 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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ruN libofx-0.9.1-orig/lib/ofx_container_transaction.cpp libofx-0.9.1/lib/ofx_container_transaction.cpp
  17. --- libofx-0.9.1-orig/lib/ofx_container_transaction.cpp 2007-11-10 00:13:21.000000000 +0100
  18. +++ libofx-0.9.1/lib/ofx_container_transaction.cpp 2010-10-07 10:35:14.180001191 +0200
  19. @@ -21,6 +21,7 @@
  20. #include <config.h>
  21. #endif
  22. +#include <cstdlib>
  23. #include <string>
  24. #include "messages.hh"
  25. #include "libofx.h"
  26. diff -ruN libofx-0.9.1-orig/lib/ofx_request.cpp libofx-0.9.1/lib/ofx_request.cpp
  27. --- libofx-0.9.1-orig/lib/ofx_request.cpp 2007-10-28 04:01:38.000000000 +0100
  28. +++ libofx-0.9.1/lib/ofx_request.cpp 2010-10-07 10:35:14.180001191 +0200
  29. @@ -21,6 +21,7 @@
  30. #include <config.h>
  31. #endif
  32. +#include <cstring>
  33. #include <string>
  34. #include "messages.hh"
  35. #include "libofx.h"
  36. diff -ruN libofx-0.9.1-orig/lib/ofx_request_accountinfo.cpp libofx-0.9.1/lib/ofx_request_accountinfo.cpp
  37. --- libofx-0.9.1-orig/lib/ofx_request_accountinfo.cpp 2007-10-28 04:01:38.000000000 +0100
  38. +++ libofx-0.9.1/lib/ofx_request_accountinfo.cpp 2010-10-07 10:35:14.180001191 +0200
  39. @@ -21,6 +21,7 @@
  40. #include <config.h>
  41. #endif
  42. +#include <cstdlib>
  43. #include <string>
  44. #include "libofx.h"
  45. #include "ofx_request_accountinfo.hh"
  46. diff -ruN libofx-0.9.1-orig/lib/ofx_request_statement.cpp libofx-0.9.1/lib/ofx_request_statement.cpp
  47. --- libofx-0.9.1-orig/lib/ofx_request_statement.cpp 2007-10-28 04:01:38.000000000 +0100
  48. +++ libofx-0.9.1/lib/ofx_request_statement.cpp 2010-10-07 10:35:14.180001191 +0200
  49. @@ -21,6 +21,7 @@
  50. #include <config.h>
  51. #endif
  52. +#include <cstdlib>
  53. #include <string>
  54. #include "libofx.h"
  55. #include "ofx_utilities.hh"
  56. diff -ruN libofx-0.9.1-orig/lib/ofx_utilities.cpp libofx-0.9.1/lib/ofx_utilities.cpp
  57. --- libofx-0.9.1-orig/lib/ofx_utilities.cpp 2007-10-27 14:15:58.000000000 +0200
  58. +++ libofx-0.9.1/lib/ofx_utilities.cpp 2010-10-07 10:35:14.184001191 +0200
  59. @@ -21,7 +21,8 @@
  60. #include "ParserEventGeneratorKit.h"
  61. #include "SGMLApplication.h"
  62. -#include <time.h>
  63. +#include <ctime>
  64. +#include <cstdlib>
  65. #include <string>
  66. #include <locale.h>
  67. #include "messages.hh"
  68. diff -ruN libofx-0.9.1-orig/ofxconnect/ofxconnect.cpp libofx-0.9.1/ofxconnect/ofxconnect.cpp
  69. --- libofx-0.9.1-orig/ofxconnect/ofxconnect.cpp 2007-01-09 09:04:37.000000000 +0100
  70. +++ libofx-0.9.1/ofxconnect/ofxconnect.cpp 2010-10-07 10:35:14.184001191 +0200
  71. @@ -36,6 +36,7 @@
  72. #include <stdio.h>
  73. #include <stdlib.h>
  74. #include <unistd.h>
  75. +#include <cstring>
  76. #ifdef HAVE_LIBCURL
  77. #include <curl/curl.h>
  78. diff -ruN libofx-0.9.1-orig/ofxconnect/ofxpartner.cpp libofx-0.9.1/ofxconnect/ofxpartner.cpp
  79. --- libofx-0.9.1-orig/ofxconnect/ofxpartner.cpp 2006-03-26 06:49:54.000000000 +0200
  80. +++ libofx-0.9.1/ofxconnect/ofxpartner.cpp 2010-10-07 10:35:14.184001191 +0200
  81. @@ -35,6 +35,9 @@
  82. #include <iostream>
  83. #include <string>
  84. #include <vector>
  85. +#include <algorithm>
  86. +#include <cstring>
  87. +
  88. using std::string;
  89. using std::vector;
  90. diff -ruN libofx-0.9.1-orig/ofxdump/ofxdump.cpp libofx-0.9.1/ofxdump/ofxdump.cpp
  91. --- libofx-0.9.1-orig/ofxdump/ofxdump.cpp 2006-08-02 06:19:22.000000000 +0200
  92. +++ libofx-0.9.1/ofxdump/ofxdump.cpp 2010-10-07 10:35:14.184001191 +0200
  93. @@ -29,6 +29,8 @@
  94. ***************************************************************************/
  95. #include <iostream>
  96. #include <iomanip>
  97. +#include <cstdlib>
  98. +#include <cstring>
  99. #include <string>
  100. #include "libofx.h"
  101. #include <stdio.h> /* for printf() */