aboutsummaryrefslogtreecommitdiffstats
path: root/main/lvm2/fix-stdio-usage.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-10-14 12:02:21 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-10-14 12:02:51 +0000
commitb8d37a8382409df2d80638226e3fc75ee06f76d4 (patch)
tree9d8c5eced1b86ab04f9ba7e7626c2daaa33016a8 /main/lvm2/fix-stdio-usage.patch
parentf6cc7a7648e2c00546302498c81dd5d1d9e673ee (diff)
downloadaports-b8d37a8382409df2d80638226e3fc75ee06f76d4.tar.bz2
aports-b8d37a8382409df2d80638226e3fc75ee06f76d4.tar.xz
main/lvm2: upgrade to 2.02.186
add udev rules for device mapper fix license notation
Diffstat (limited to 'main/lvm2/fix-stdio-usage.patch')
-rw-r--r--main/lvm2/fix-stdio-usage.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/main/lvm2/fix-stdio-usage.patch b/main/lvm2/fix-stdio-usage.patch
index ea11b7137f..5ac99fd26e 100644
--- a/main/lvm2/fix-stdio-usage.patch
+++ b/main/lvm2/fix-stdio-usage.patch
@@ -27,23 +27,23 @@
printf("stderr stream open: %s\n",
strerror(errno));
return 0;
---- ./lib/commands/toolcontext.c.orig
+--- ./lib/commands/toolcontext.c
+++ ./lib/commands/toolcontext.c
-@@ -1860,7 +1860,7 @@
- /* FIXME Make this configurable? */
- reset_lvm_errno(1);
+@@ -1869,7 +1869,7 @@
+ /* FIXME Make this configurable? */
+ reset_lvm_errno(1);
-#ifndef VALGRIND_POOL
+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
- /* Set in/out stream buffering before glibc */
- if (set_buffering
+ /* Set in/out stream buffering before glibc */
+ if (set_buffering
#ifdef SYS_gettid
-@@ -2254,7 +2254,7 @@
- if (cmd->libmem)
- dm_pool_destroy(cmd->libmem);
+@@ -2274,7 +2274,7 @@
+ if (cmd->pending_delete_mem)
+ dm_pool_destroy(cmd->pending_delete_mem);
-#ifndef VALGRIND_POOL
+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
- if (cmd->linebuffer) {
- /* Reset stream buffering to defaults */
- if (is_valid_fd(STDIN_FILENO) &&
+ if (cmd->linebuffer) {
+ /* Reset stream buffering to defaults */
+ if (is_valid_fd(STDIN_FILENO) &&