mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 11:22:30 +01:00
Disable support for external tokens (new feature in 2.4.0) since it requires dlvsym which is a GNU extension that is presently not supported by musl libc. Similarly the all-symbols-test is affected by the same problem and thus disabled.
19 lines
606 B
Diff
19 lines
606 B
Diff
diff -upr cryptsetup-2.4.0.orig/src/utils_tools.c cryptsetup-2.4.0/src/utils_tools.c
|
|
--- cryptsetup-2.4.0.orig/src/utils_tools.c 2021-08-29 15:17:46.989874344 +0200
|
|
+++ cryptsetup-2.4.0/src/utils_tools.c 2021-08-29 15:18:45.543241866 +0200
|
|
@@ -79,10 +79,13 @@ void tool_log(int level, const char *msg
|
|
|
|
case CRYPT_LOG_NORMAL:
|
|
fprintf(stdout, "%s", msg);
|
|
+ fflush(stdout);
|
|
break;
|
|
case CRYPT_LOG_VERBOSE:
|
|
- if (params && params->verbose)
|
|
+ if (params && params->verbose) {
|
|
fprintf(stdout, "%s", msg);
|
|
+ fflush(stdout);
|
|
+ }
|
|
break;
|
|
case CRYPT_LOG_ERROR:
|
|
fprintf(stderr, "%s", msg);
|