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.

36 lines
1.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../valknut/hotfix.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. --- valknut-0.4.9/valknut/main.cpp.orig 2010-08-17 17:30:42.648023730 +0200
  17. +++ valknut-0.4.9/valknut/main.cpp 2010-08-17 17:42:54.840170654 +0200
  18. @@ -21,7 +21,7 @@
  19. #include <config.h>
  20. #endif
  21. -#include <stdlib.h>
  22. +#include <cstdlib>
  23. #ifndef WIN32
  24. #include <signal.h>
  25. #endif
  26. @@ -338,7 +338,7 @@
  27. delete dbg;
  28. printf("exit\n");
  29. delete qApp;
  30. - _exit(0);
  31. + exit(0);
  32. }
  33. #ifndef WIN32