summaryrefslogtreecommitdiff
path: root/sys-fs/lvm2/files/lvm2-2.03.20-freopen-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/lvm2/files/lvm2-2.03.20-freopen-musl.patch')
-rw-r--r--sys-fs/lvm2/files/lvm2-2.03.20-freopen-musl.patch9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys-fs/lvm2/files/lvm2-2.03.20-freopen-musl.patch b/sys-fs/lvm2/files/lvm2-2.03.20-freopen-musl.patch
index cc231d9251bd..2b3f0a91f2a7 100644
--- a/sys-fs/lvm2/files/lvm2-2.03.20-freopen-musl.patch
+++ b/sys-fs/lvm2/files/lvm2-2.03.20-freopen-musl.patch
@@ -6,13 +6,6 @@ Subject: [PATCH] Use `freopen()` on {stdin,stdout,stderr}
* ISO C does not guarantee that the standard streams are modifiable
lvalues. Glibc even calls out this behaviour as non-portable:
https://www.gnu.org/software/libc/manual/html_node/Standard-Streams.html
----
- lib/log/log.c | 4 ++++
- tools/lvmcmdline.c | 6 +++---
- 2 files changed, 7 insertions(+), 3 deletions(-)
-
-diff --git a/lib/log/log.c b/lib/log/log.c
-index 118a3ba42..a94016d81 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -208,7 +208,11 @@ int reopen_standard_stream(FILE **stream, const char *mode)
@@ -27,8 +20,6 @@ index 118a3ba42..a94016d81 100644
return 1;
}
-diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
-index a5bb6a5c5..0ebfa375c 100644
--- a/tools/lvmcmdline.c
+++ b/tools/lvmcmdline.c
@@ -3422,7 +3422,7 @@ static int _check_standard_fds(void)