# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../dash/compile.patch.dietlibc # Copyright (C) 2016 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- ./src/exec.c.orig 2006-07-07 23:21:42.000000000 +0000 +++ ./src/exec.c 2006-07-07 23:24:08.000000000 +0000 @@ -47,6 +47,9 @@ #include #include +#ifdef __NO_STAT64 +# define stat64 stat +#endif #include #include #include --- ./src/expand.c.orig 2006-07-07 23:29:07.000000000 +0000 +++ ./src/expand.c 2006-07-07 23:30:31.000000000 +0000 @@ -48,6 +48,10 @@ #include #include #include +#ifdef __NO_STAT64 +# define stat64 stat +# define lstat64 lstat +#endif #include #include #include --- ./src/mail.c.orig 2006-07-07 23:33:17.000000000 +0000 +++ ./src/mail.c 2006-07-07 23:33:51.000000000 +0000 @@ -50,6 +50,9 @@ */ #include #include +#ifdef __NO_STAT64 +# define stat64 stat +#endif #include #include "shell.h" --- ./src/redir.c.orig 2006-07-07 23:35:14.000000000 +0000 +++ ./src/redir.c 2006-07-07 23:35:56.000000000 +0000 @@ -46,6 +46,10 @@ #endif /* not lint */ #include +#ifdef __NO_STAT64 +# define stat64 stat +# define fstat64 fstat +#endif #include #include /* PIPE_BUF */ #include --- ./src/bltin/test.c.orig 2006-07-07 23:38:24.000000000 +0000 +++ ./src/bltin/test.c 2006-07-07 23:38:54.000000000 +0000 @@ -16,6 +16,10 @@ #endif #include +#ifdef __NO_STAT64 +# define stat64 stat +# define lstat64 lstat +#endif #include #include