aports/testing/faust/faust-musl-stacktrace.patch
Francesco Camuffo 133f1e2d7d
testing/faust: new aport
https://faust.grame.fr
Functional programming language for realtime audio signal processing
2022-03-23 23:32:48 +01:00

17 lines
522 B
Diff

https://github.com/void-linux/void-packages/blob/ebf9ad105986ec27a9d8a794318df3016df2ee13/srcpkgs/faust/patches/faust-musl-stacktrace.patch
--- a/compiler/errors/errormsg.cpp-old 2019-12-22 19:47:17.694670614 +0100
+++ b/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());
}
}