30-fix-gcc-4.3-build.patch 905 B

12345678910111213141516171819202122232425262728
  1. # Description: include missing headers
  2. # Author: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
  3. Index: gmrun-0.9.2/src/ci_string.h
  4. ===================================================================
  5. --- gmrun-0.9.2.orig/src/ci_string.h 2010-02-03 12:31:31.323767018 +0800
  6. +++ gmrun-0.9.2/src/ci_string.h 2010-02-03 12:31:38.822001700 +0800
  7. @@ -8,6 +8,7 @@
  8. #include <string>
  9. #include <ctype.h>
  10. +#include <cstring>
  11. struct ci_char_traits : public std::char_traits<char>
  12. {
  13. Index: gmrun-0.9.2/src/gtkcompletionline.cc
  14. ===================================================================
  15. --- gmrun-0.9.2.orig/src/gtkcompletionline.cc 2010-02-03 12:31:43.951768512 +0800
  16. +++ gmrun-0.9.2/src/gtkcompletionline.cc 2010-02-03 12:31:51.199767425 +0800
  17. @@ -30,6 +30,7 @@
  18. #include <sstream>
  19. #include <string>
  20. #include <vector>
  21. +#include <cstring>
  22. using namespace std;
  23. #include "gtkcompletionline.h"