summaryrefslogtreecommitdiff
path: root/pkg/strace/patch/0006-Avoid-empty-struct-definition.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-21 23:29:18 -0700
committerMichael Forney <mforney@mforney.org>2024-03-21 23:29:18 -0700
commit594971b59caa1d75f0179de8d612375f410a7566 (patch)
treedd14cb80cc3c90a9019b0d9442a2dd8d6a02d9df /pkg/strace/patch/0006-Avoid-empty-struct-definition.patch
parent01eb93d6f752c2bb3815bb794572231651f105fa (diff)
Remove obsolete portability patches with C23 and new cproc
Diffstat (limited to 'pkg/strace/patch/0006-Avoid-empty-struct-definition.patch')
-rw-r--r--pkg/strace/patch/0006-Avoid-empty-struct-definition.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/pkg/strace/patch/0006-Avoid-empty-struct-definition.patch b/pkg/strace/patch/0006-Avoid-empty-struct-definition.patch
deleted file mode 100644
index ca4fc3ab..00000000
--- a/pkg/strace/patch/0006-Avoid-empty-struct-definition.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f94d470d85911142bff6cb3821079f3ff321edfc Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Sun, 7 Jul 2019 21:50:31 -0700
-Subject: [PATCH] Avoid empty struct definition
-
----
- src/fetch_struct_stat64.c | 8 +-------
- 1 file changed, 1 insertion(+), 7 deletions(-)
-
-diff --git a/src/fetch_struct_stat64.c b/src/fetch_struct_stat64.c
-index b5125d420..b45a48da5 100644
---- a/src/fetch_struct_stat64.c
-+++ b/src/fetch_struct_stat64.c
-@@ -32,12 +32,6 @@
- # endif /* HAVE_MX32_STRUCT_STAT64 */
- #endif /* MPERS_IS_m32 || MPERS_IS_mx32 */
-
--#ifndef HAVE_STRUCT_STAT64
--struct stat64 {};
--#endif
--
--typedef struct stat64 struct_stat64;
--
- #include MPERS_DEFS
-
- #include "stat.h"
-@@ -55,7 +49,7 @@ MPERS_PRINTER_DECL(bool, fetch_struct_stat64,
- struct strace_stat *const dst)
- {
- #ifdef HAVE_STRUCT_STAT64
-- struct_stat64 buf;
-+ struct stat64 buf;
- if (umove_or_printaddr(tcp, addr, &buf))
- return false;
-
---
-2.34.1
-