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.

39 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../babytrans/babytrans-0.9.2-gcc43.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 -ruN babytrans-0.9.2-orig/src/libbab.cc babytrans-0.9.2/src/libbab.cc
  17. --- babytrans-0.9.2-orig/src/libbab.cc 2002-11-16 10:53:44.000000000 +0100
  18. +++ babytrans-0.9.2/src/libbab.cc 2010-08-26 12:44:03.300146530 +0200
  19. @@ -30,6 +30,7 @@
  20. #include <list>
  21. #include <cctype>
  22. #include <cerrno>
  23. +#include <cstring>
  24. #ifdef ENABLE_NLS
  25. #include <libintl.h>
  26. diff -ruN babytrans-0.9.2-orig/src/main.cc babytrans-0.9.2/src/main.cc
  27. --- babytrans-0.9.2-orig/src/main.cc 2010-08-26 12:43:33.652253135 +0200
  28. +++ babytrans-0.9.2/src/main.cc 2010-08-26 12:41:52.284552388 +0200
  29. @@ -32,6 +32,8 @@
  30. #include <string>
  31. #include <vector>
  32. #include <cerrno>
  33. +#include <cstdlib>
  34. +#include <cstring>
  35. #include <sys/stat.h> // for stat()
  36. #include <unistd.h> // for stat()