PageRenderTime 45ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/sci-physics/root/files/root-5.32.00-afs.patch

http://github.com/funtoo/portage
Patch | 33 lines | 33 code | 0 blank | 0 comment | 0 complexity | 9a33de622aa6ab377e267a3c56264007 MD5 | raw file
Possible License(s): Apache-2.0, AGPL-1.0, LGPL-2.1, MIT, CC-BY-SA-3.0, LGPL-2.0, Unlicense, AGPL-3.0, CC0-1.0, BSD-3-Clause, GPL-2.0, LGPL-3.0, MPL-2.0-no-copyleft-exception, GPL-3.0
  1. --- root/net/auth/src/TAFS.cxx.orig 2011-12-04 00:56:29.405007770 +0400
  2. +++ root/net/auth/src/TAFS.cxx 2011-12-04 00:56:35.534709259 +0400
  3. @@ -138,7 +138,7 @@
  4. } else {
  5. if (isatty(0) != 0 && isatty(1) != 0) {
  6. Gl_config("noecho", 1);
  7. - pw = Getline((char *) prompt.Data());
  8. + pw = const_cast<char *>( Getline((char *) prompt.Data()) );
  9. Gl_config("noecho", 0);
  10. } else {
  11. Warning("TAFS", "not tty: cannot prompt for passwd: failure");
  12. --- root/core/clib/src/strlcat.c.orig 2011-12-04 01:49:26.495179487 +0400
  13. +++ root/core/clib/src/strlcat.c 2011-12-04 01:50:41.407524763 +0400
  14. @@ -38,7 +38,7 @@
  15. * Returns strlen(src) + MIN(siz, strlen(initial dst)).
  16. * If retval >= siz, truncation occurred.
  17. */
  18. -size_t
  19. +size_t __attribute__((weak))
  20. strlcat(char *dst, const char *src, size_t siz)
  21. {
  22. register char *d = dst;
  23. --- root/core/clib/src/strlcpy.c.orig 2011-12-04 01:49:34.329797251 +0400
  24. +++ root/core/clib/src/strlcpy.c 2011-12-04 01:50:49.051151843 +0400
  25. @@ -36,7 +36,7 @@
  26. * will be copied. Always NUL terminates (unless siz == 0).
  27. * Returns strlen(src); if retval >= siz, truncation occurred.
  28. */
  29. -size_t
  30. +size_t __attribute__((weak))
  31. strlcpy(char *dst, const char *src, size_t siz)
  32. {
  33. register char *d = dst;