summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-01 05:57:07 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-01 05:57:07 +0000
commitb1f39829cda4f02998eb64b3e39001c87fe826d2 (patch)
treee5b324610d9b8d18274c3ad0d2c4738af09f4366 /sources
parentd632d42b34888f169a9394f2c5ce64ccca75a5cb (diff)
strace 4.5 builds properly for mipsel, and does not use sys_errlist,
so we no longer need to patch anything. -Erik
Diffstat (limited to 'sources')
-rw-r--r--sources/strace.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/sources/strace.patch b/sources/strace.patch
deleted file mode 100644
index bb5b86692..000000000
--- a/sources/strace.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- strace-4.4/syscall.c.orig 2003-09-03 01:15:32.000000000 -0600
-+++ strace-4.4/syscall.c 2003-09-03 01:20:35.000000000 -0600
-@@ -71,10 +71,12 @@
- # include <asm/rse.h>
- #endif
-
-+#ifndef HAVE_STRERROR
- #ifndef SYS_ERRLIST_DECLARED
- extern int sys_nerr;
- extern char *sys_errlist[];
- #endif /* SYS_ERRLIST_DECLARED */
-+#endif /* HAVE_STERRROR */
-
- #define NR_SYSCALL_BASE 0
- #ifdef LINUX
-@@ -1529,6 +1531,7 @@
- #endif /* LINUX */
- default:
- tprintf("= -1 ");
-+#ifndef HAVE_STRERROR
- if (u_error < nerrnos && u_error < sys_nerr)
- tprintf("%s (%s)", errnoent[u_error],
- sys_errlist[u_error]);
-@@ -1540,6 +1543,13 @@
- sys_errlist[u_error]);
- else
- tprintf("E??? (errno %ld)", u_error);
-+#else
-+ if (u_error < nerrnos)
-+ tprintf("%s (%s)", errnoent[u_error],
-+ strerror(u_error));
-+ else
-+ tprintf("E??? (errno %ld)", u_error);
-+#endif
- break;
- }
- }