void-packages/srcpkgs/faust/patches/faust-musl-stacktrace.patch
mag ba9829d3dd New package: faust-2.20.2
Closes: #17568 [via git-merge-pr]
2020-01-06 19:59:44 +01:00

14 lines
377 B
Diff

--- compiler/errors/errormsg.cpp-old 2019-12-22 19:47:17.694670614 +0100
+++ compiler/errors/errormsg.cpp 2019-12-22 19:48:25.145673133 +0100
@@ -43,9 +43,11 @@
gGlobal->printCompilationOptions(str);
}
str << ")\n";
+#ifdef __GLIBC__
#ifndef EMCC
stacktrace(str, 20);
#endif
+#endif
throw faustexception(str.str());
}
}