bincimap-1.2-gcc43.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. diff -NrU5 bincimap-1.2.13final.orig/src/convert.cc bincimap-1.2.13final/src/convert.cc
  2. --- bincimap-1.2.13final.orig/src/convert.cc 2005-01-08 11:20:48.000000000 +0100
  3. +++ bincimap-1.2.13final/src/convert.cc 2008-05-07 12:32:33.000000000 +0200
  4. @@ -37,10 +37,12 @@
  5. #include "convert.h"
  6. #include "io.h"
  7. #include <string>
  8. +#include <cstring>
  9. +
  10. using namespace ::std;
  11. using namespace Binc;
  12. //------------------------------------------------------------------------
  13. BincStream::BincStream(void)
  14. diff -NrU5 bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h
  15. --- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 21:30:22.000000000 +0100
  16. +++ bincimap-1.2.13final/src/convert.h 2008-05-07 12:32:33.000000000 +0200
  17. @@ -35,10 +35,11 @@
  18. #include <config.h>
  19. #endif
  20. #ifndef convert_h_included
  21. #define convert_h_included
  22. +#include <cstdlib>
  23. #include <string>
  24. #include <vector>
  25. #include <iomanip>
  26. #include <iostream>
  27. @@ -46,10 +47,12 @@
  28. #include <sys/stat.h>
  29. #include "address.h"
  30. #include "depot.h"
  31. +#include <cstring>
  32. +
  33. namespace Binc {
  34. //----------------------------------------------------------------------
  35. inline std::string toString(int i_in)
  36. {
  37. diff -NrU5 bincimap-1.2.13final.orig/src/tools.cc bincimap-1.2.13final/src/tools.cc
  38. --- bincimap-1.2.13final.orig/src/tools.cc 2005-01-08 11:20:48.000000000 +0100
  39. +++ bincimap-1.2.13final/src/tools.cc 2008-05-07 12:32:33.000000000 +0200
  40. @@ -33,13 +33,16 @@
  41. */
  42. #ifdef HAVE_CONFIG_H
  43. #include <config.h>
  44. #endif
  45. #include <errno.h>
  46. +#include <cstdlib>
  47. #include "tools.h"
  48. +#include <cstring>
  49. +
  50. using namespace ::std;
  51. using namespace Binc;
  52. //------------------------------------------------------------------------
  53. Tools::Tools(void)