Posted to tcl by venks at Sun Aug 31 19:51:52 GMT 2014view raw

  1. Maybe already included in head of tcl now? Fossil Head of everything
  2.  
  3. Applying: ..../tcl/bld/kitcreator/tcl/patches/all/tcl-all-fix-stat64-bug2233954.diff
  4. patching file generic/tcl.h
  5. Hunk #1 FAILED at 437.
  6. 1 out of 1 hunk FAILED -- saving rejects to file generic/tcl.h.rej
  7.  
  8. ***************
  9. *** 437,442 ****
  10. */
  11. # ifndef TCL_LL_MODIFIER
  12. # ifdef HAVE_STRUCT_STAT64
  13. typedef struct stat64 Tcl_StatBuf;
  14. # else
  15. typedef struct stat Tcl_StatBuf;
  16. --- 437,445 ----
  17. */
  18. # ifndef TCL_LL_MODIFIER
  19. # ifdef HAVE_STRUCT_STAT64
  20. + # ifdef HAVE_SYS_STAT_H
  21. + # include <sys/stat.h>
  22. + # endif
  23. typedef struct stat64 Tcl_StatBuf;
  24. # else
  25. typedef struct stat Tcl_StatBuf;
  26.  
  27.  
  28. Looking at tcl.h - maybe it's already included now?
  29.  
  30. 479 #elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__)
  31. 480 # ifdef HAVE_SYS_STAT_H
  32. 481 # include <sys/stat.h>
  33. 482 # endif
  34. 483 typedef struct stat64 Tcl_StatBuf;
  35.