1diff -r -U3 coreutils-5.0/src/Makefile.in coreutils-5.0-patched/src/Makefile.in
2--- coreutils-5.0/src/Makefile.in	2003-04-02 07:46:19.000000000 -0700
3+++ coreutils-5.0-patched/src/Makefile.in	2019-08-01 19:38:07.440997426 -0600
4@@ -209,7 +209,7 @@
5 printf_LDADD = $(LDADD) @POW_LIB@ @LIBICONV@
6
7 # If necessary, add -lm to resolve use of floor, rint, modf.
8-seq_LDADD = $(LDADD) @SEQ_LIBM@
9+seq_LDADD = $(LDADD) @SEQ_LIBM@ -lm
10
11 # If necessary, add -lm to resolve the `pow' reference in lib/strtod.c
12 # or for the fesetround reference in programs using nanosec.c.
13diff -r -U3 coreutils-5.0/src/tee.c coreutils-5.0-patched/src/tee.c
14--- coreutils-5.0/src/tee.c	2002-12-15 07:21:45.000000000 -0700
15+++ coreutils-5.0-patched/src/tee.c	2019-08-01 19:34:32.374301325 -0600
16@@ -32,7 +32,7 @@
17
18 #define AUTHORS N_ ("Mike Parker, Richard M. Stallman, and David MacKenzie")
19
20-static int tee (int nfiles, const char **files);
21+static int tee_FOO (int nfiles, const char **files);
22
23 /* If nonzero, append to output files rather than truncating them. */
24 static int append;
25@@ -146,7 +146,7 @@
26   /* Do *not* warn if tee is given no file arguments.
27      POSIX requires that it work when given no arguments.  */
28
29-  errs = tee (argc - optind, (const char **) &argv[optind]);
30+  errs = tee_FOO (argc - optind, (const char **) &argv[optind]);
31   if (close (STDIN_FILENO) != 0)
32     error (EXIT_FAILURE, errno, _("standard input"));
33
34@@ -158,7 +158,7 @@
35    Return 0 if successful, 1 if any errors occur. */
36
37 static int
38-tee (int nfiles, const char **files)
39+tee_FOO (int nfiles, const char **files)
40 {
41   FILE **descriptors;
42   char buffer[BUFSIZ];
43diff -r -U3 coreutils-5.0/src/test.c coreutils-5.0-patched/src/test.c
44--- coreutils-5.0/src/test.c	2003-02-10 02:19:09.000000000 -0700
45+++ coreutils-5.0-patched/src/test.c	2019-08-01 19:35:52.871307966 -0600
46@@ -139,7 +139,7 @@
47 /* Do the same thing access(2) does, but use the effective uid and gid.  */
48
49 static int
50-eaccess (char const *file, int mode)
51+eaccess_FOO (char const *file, int mode)
52 {
53   static int have_ids;
54   static uid_t uid, euid;
55@@ -635,17 +635,17 @@
56
57     case 'r':			/* file is readable? */
58       unary_advance ();
59-      value = -1 != eaccess (argv[pos - 1], R_OK);
60+      value = -1 != eaccess_FOO (argv[pos - 1], R_OK);
61       return (TRUE == value);
62
63     case 'w':			/* File is writable? */
64       unary_advance ();
65-      value = -1 != eaccess (argv[pos - 1], W_OK);
66+      value = -1 != eaccess_FOO (argv[pos - 1], W_OK);
67       return (TRUE == value);
68
69     case 'x':			/* File is executable? */
70       unary_advance ();
71-      value = -1 != eaccess (argv[pos - 1], X_OK);
72+      value = -1 != eaccess_FOO (argv[pos - 1], X_OK);
73       return (TRUE == value);
74
75     case 'O':			/* File is owned by you? */
76