1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/audacity/musl-stdout.patch
psykose 35b09ca062
community/audacity: upgrade to 3.1.3
and rename from tenacity, and change back to the real upstream

the forks got abandoned.

closes #12025
closes #12590

seems leaking is fixed
closes #12634
2022-09-12 20:44:01 +02:00

15 lines
557 B
Diff

diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp
index 3fc1a33..04850d0 100644
--- a/src/AudacityApp.cpp
+++ b/src/AudacityApp.cpp
@@ -788,8 +788,8 @@ int main(int argc, char *argv[])
// never be able to get rid of the messages entirely, but we should
// look into what's causing them, so allow them to show in Debug
// builds.
- stdout = freopen("/dev/null", "w", stdout);
- stderr = freopen("/dev/null", "w", stderr);
+ freopen("/dev/null", "w", stdout);
+ freopen("/dev/null", "w", stderr);
return wxEntry(argc, argv);
}