130-uclibc_no_xattr.patch 676 B

12345678910111213141516171819202122232425262728293031323334
  1. commit 10d6058b24f18cb31889154f830b191849f45106
  2. Author: Jens Muecke <jens@nons.de>
  3. Date: Thu Jan 26 00:38:27 2012 +0100
  4. 130-uclibc_no_xattr
  5. diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c
  6. index 40c2e6f..4f54059 100644
  7. --- a/fsr/xfs_fsr.c
  8. +++ b/fsr/xfs_fsr.c
  9. @@ -35,7 +35,6 @@
  10. #include <sys/wait.h>
  11. #include <sys/vfs.h>
  12. #include <sys/statvfs.h>
  13. -#include <sys/xattr.h>
  14. #ifndef XFS_XFLAG_NODEFRAG
  15. @@ -990,6 +992,7 @@ fsr_setup_attr_fork(
  16. int tfd,
  17. xfs_bstat_t *bstatp)
  18. {
  19. +#if 0
  20. struct stat64 tstatbuf;
  21. int i;
  22. int last_forkoff = 0;
  23. @@ -1108,6 +1111,7 @@ fsr_setup_attr_fork(
  24. out:
  25. if (dflag)
  26. fsrprintf(_("set temp attr\n"));
  27. +#endif
  28. return 0;
  29. }