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.

34 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../xplanet/gcc44.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 -Nur xplanet-1.2.1-orig/src/Satellite.cpp xplanet-1.2.1/src/Satellite.cpp
  17. --- xplanet-1.2.1-orig/src/Satellite.cpp 2010-11-29 17:07:25.000054085 +0100
  18. +++ xplanet-1.2.1/src/Satellite.cpp 2010-11-29 17:14:28.296055793 +0100
  19. @@ -1,4 +1,5 @@
  20. #include <clocale>
  21. +#include <cstdio>
  22. #include <cstring>
  23. #include <iostream>
  24. using namespace std;
  25. diff -Nur xplanet-1.2.1-orig/src/Separation.cpp xplanet-1.2.1/src/Separation.cpp
  26. --- xplanet-1.2.1-orig/src/Separation.cpp 2010-11-29 17:07:24.996053842 +0100
  27. +++ xplanet-1.2.1/src/Separation.cpp 2010-11-29 17:14:40.492051707 +0100
  28. @@ -1,4 +1,5 @@
  29. #include <cmath>
  30. +#include <cstdio>
  31. #include <iostream>
  32. #include "Separation.h"