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.

41 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../licq/licq-1.5.0-compile.patch
  5. # Copyright (C) 2011 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. error: invalid conversion from 'const char**' to 'char**'
  17. --- licq-1.5.0/src/translator.cpp.orig 2011-04-19 02:00:23.472077820 +0200
  18. +++ licq-1.5.0/src/translator.cpp 2011-04-19 02:09:10.076077820 +0200
  19. @@ -394,7 +394,7 @@
  20. else
  21. {
  22. const char* inPtr = s.c_str();
  23. - size_t ret = iconv(tr, (ICONV_CONST char**)&inPtr, &inLen, &outPtr, &outLen);
  24. + size_t ret = iconv(tr, (char**)&inPtr, &inLen, &outPtr, &outLen);
  25. iconv_close(tr);
  26. if (outDone != NULL)
  27. --- licq-1.5.0/plugins/osd/src/licq-osd.cpp.orig 2011-04-19 03:03:33.660077822 +0200
  28. +++ licq-1.5.0/plugins/osd/src/licq-osd.cpp 2011-04-19 03:04:11.936077820 +0200
  29. @@ -778,7 +778,7 @@
  30. while ((fromsize>0) && (tosize>0))
  31. {
  32. - if ((int)iconv(conv, (ICONV_CONST char **)&msgptr, &fromsize, &resptr, &tosize)==-1)
  33. + if ((int)iconv(conv, (char **)&msgptr, &fromsize, &resptr, &tosize)==-1)
  34. {
  35. // array is not enough
  36. if (errno == E2BIG)