xplanet-1.2.1-fix-gcc44.patch 959 B

123456789101112131415161718192021222324252627282930313233343536
  1. Index: src/PlanetProperties.cpp
  2. ===================================================================
  3. --- src/PlanetProperties.cpp
  4. +++ src/PlanetProperties.cpp 2009-05-25 12:31:55.000000000 +0200
  5. @@ -1,6 +1,8 @@
  6. #include <algorithm>
  7. #include <cctype>
  8. #include <cstring>
  9. +#include <cstdio>
  10. +#include <cstdlib>
  11. #include <string>
  12. #include <vector>
  13. using namespace std;
  14. Index: src/Satellite.cpp
  15. ===================================================================
  16. --- src/Satellite.cpp
  17. +++ src/Satellite.cpp 2009-05-25 11:44:36.000000000 +0200
  18. @@ -1,5 +1,6 @@
  19. #include <clocale>
  20. #include <cstring>
  21. +#include <cstdio>
  22. #include <iostream>
  23. using namespace std;
  24. Index: src/Separation.cpp
  25. ===================================================================
  26. --- src/Separation.cpp
  27. +++ src/Separation.cpp 2009-05-25 11:50:11.000000000 +0200
  28. @@ -1,5 +1,6 @@
  29. #include <cmath>
  30. #include <iostream>
  31. +#include <cstdio>
  32. #include "Separation.h"
  33. #include "View.h"