bbkeys-0.9.0-gcc-4.3.patch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. diff -Naupr bbkeys-0.9.0.orig/src/actions.cc bbkeys-0.9.0/src/actions.cc
  2. --- bbkeys-0.9.0.orig/src/actions.cc 2005-02-20 22:03:43.000000000 +0100
  3. +++ bbkeys-0.9.0/src/actions.cc 2008-02-24 09:26:30.000000000 +0100
  4. @@ -25,7 +25,8 @@
  5. #include "actions.hh"
  6. #include <iostream>
  7. -#include <string>
  8. +#include <cstring>
  9. +#include <cstdlib>
  10. #include <sstream>
  11. Action::Action(enum ActionType type, Display * display, KeyCode keycode,
  12. diff -Naupr bbkeys-0.9.0.orig/src/Config.cpp bbkeys-0.9.0/src/Config.cpp
  13. --- bbkeys-0.9.0.orig/src/Config.cpp 2004-09-03 03:08:00.000000000 +0200
  14. +++ bbkeys-0.9.0/src/Config.cpp 2008-02-24 09:29:55.000000000 +0100
  15. @@ -24,7 +24,7 @@
  16. #include "Config.h"
  17. -#include <string>
  18. +#include <cstring>
  19. #include <iostream>
  20. using std::cout;
  21. diff -Naupr bbkeys-0.9.0.orig/src/KeyClient.cpp bbkeys-0.9.0/src/KeyClient.cpp
  22. --- bbkeys-0.9.0.orig/src/KeyClient.cpp 2004-09-26 04:27:46.000000000 +0200
  23. +++ bbkeys-0.9.0/src/KeyClient.cpp 2008-02-24 09:26:14.000000000 +0100
  24. @@ -58,6 +58,7 @@ extern "C" {
  25. #include <iostream>
  26. #include <algorithm>
  27. #include <vector>
  28. +#include <cstring>
  29. //--------------------------------------------------------
  30. // Constructor/Destructor
  31. diff -Naupr bbkeys-0.9.0.orig/src/main.cpp bbkeys-0.9.0/src/main.cpp
  32. --- bbkeys-0.9.0.orig/src/main.cpp 2004-09-16 02:53:51.000000000 +0200
  33. +++ bbkeys-0.9.0/src/main.cpp 2008-02-24 09:31:38.000000000 +0100
  34. @@ -27,6 +27,8 @@
  35. #include "main.h"
  36. +#include <cstring>
  37. +
  38. //--------------------------------------------------------
  39. // parseOptions
  40. //--------------------------------------------------------
  41. diff -Naupr bbkeys-0.9.0.orig/src/Netclient.cpp bbkeys-0.9.0/src/Netclient.cpp
  42. --- bbkeys-0.9.0.orig/src/Netclient.cpp 2004-09-26 04:27:46.000000000 +0200
  43. +++ bbkeys-0.9.0/src/Netclient.cpp 2008-02-24 09:30:41.000000000 +0100
  44. @@ -25,6 +25,7 @@
  45. // Methods, ideas, implementations taken from Openbox's XAtom class *sigh*
  46. #include "Netclient.h"
  47. +#include <cstring>
  48. Netclient::Netclient (const bt::Display &display)
  49. : bt::EWMH(display), _display(display)