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.

79 lines
2.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dietlibc/patches/pkg_dash.patch
  5. # Copyright (C) 2006 The T2 SDE 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. --- ./src/exec.c.orig 2006-07-07 23:21:42.000000000 +0000
  17. +++ ./src/exec.c 2006-07-07 23:24:08.000000000 +0000
  18. @@ -47,6 +47,9 @@
  19. #include <sys/types.h>
  20. #include <sys/stat.h>
  21. +#ifdef __NO_STAT64
  22. +# define stat64 stat
  23. +#endif
  24. #include <unistd.h>
  25. #include <fcntl.h>
  26. #include <stdlib.h>
  27. --- ./src/expand.c.orig 2006-07-07 23:29:07.000000000 +0000
  28. +++ ./src/expand.c 2006-07-07 23:30:31.000000000 +0000
  29. @@ -48,6 +48,10 @@
  30. #include <sys/types.h>
  31. #include <sys/time.h>
  32. #include <sys/stat.h>
  33. +#ifdef __NO_STAT64
  34. +# define stat64 stat
  35. +# define lstat64 lstat
  36. +#endif
  37. #include <dirent.h>
  38. #include <unistd.h>
  39. #include <pwd.h>
  40. --- ./src/mail.c.orig 2006-07-07 23:33:17.000000000 +0000
  41. +++ ./src/mail.c 2006-07-07 23:33:51.000000000 +0000
  42. @@ -50,6 +50,9 @@
  43. */
  44. #include <sys/types.h>
  45. #include <sys/stat.h>
  46. +#ifdef __NO_STAT64
  47. +# define stat64 stat
  48. +#endif
  49. #include <stdlib.h>
  50. #include "shell.h"
  51. --- ./src/redir.c.orig 2006-07-07 23:35:14.000000000 +0000
  52. +++ ./src/redir.c 2006-07-07 23:35:56.000000000 +0000
  53. @@ -46,6 +46,10 @@
  54. #endif /* not lint */
  55. #include <sys/stat.h>
  56. +#ifdef __NO_STAT64
  57. +# define stat64 stat
  58. +# define fstat64 fstat
  59. +#endif
  60. #include <sys/types.h>
  61. #include <sys/param.h> /* PIPE_BUF */
  62. #include <signal.h>
  63. --- ./src/bltin/test.c.orig 2006-07-07 23:38:24.000000000 +0000
  64. +++ ./src/bltin/test.c 2006-07-07 23:38:54.000000000 +0000
  65. @@ -16,6 +16,10 @@
  66. #endif
  67. #include <sys/stat.h>
  68. +#ifdef __NO_STAT64
  69. +# define stat64 stat
  70. +# define lstat64 lstat
  71. +#endif
  72. #include <sys/types.h>
  73. #include <ctype.h>