aboutsummaryrefslogtreecommitdiffstats
path: root/main/cryptsetup1/flush-stdout.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-01-25 00:11:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-01-25 00:15:21 +0000
commit5b8a2c9c23dc4aa9d1288b0eaa60b6a22ec38188 (patch)
tree14abe024d48e609bad145e14dba2d1217012bcb8 /main/cryptsetup1/flush-stdout.patch
parent9c38b2f111687606d2e2308e45fc6b036f628932 (diff)
main/cryptsetup1: temporary new aport
we need to satisfy cryptsetup-libs dependency for mkinitfs while we build cryptsetup2 and rebuild mkinitfs with cryptsetup2, so we introduce a temporary cryptsetup1 package and make mkinitfs temprorary depend on that.
Diffstat (limited to 'main/cryptsetup1/flush-stdout.patch')
-rw-r--r--main/cryptsetup1/flush-stdout.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/cryptsetup1/flush-stdout.patch b/main/cryptsetup1/flush-stdout.patch
new file mode 100644
index 00000000000..ae21a235f5a
--- /dev/null
+++ b/main/cryptsetup1/flush-stdout.patch
@@ -0,0 +1,17 @@
+--- ./src/utils_tools.c.orig 2014-10-24 12:58:35.151717616 -0200
++++ ./src/utils_tools.c 2014-10-24 13:00:42.716855265 -0200
+@@ -105,10 +105,13 @@
+
+ case CRYPT_LOG_NORMAL:
+ fputs(msg, stdout);
++ fflush(stdout);
+ break;
+ case CRYPT_LOG_VERBOSE:
+- if (opt_verbose)
++ if (opt_verbose) {
+ fputs(msg, stdout);
++ fflush(stdout);
++ }
+ break;
+ case CRYPT_LOG_ERROR:
+ fputs(msg, stderr);