media-video/cinelerra-gg: fix building with gcc 14

This commit is contained in:
2024-04-14 09:30:13 +03:00
parent 7b52df2bf8
commit 1dec33feb0
2 changed files with 11 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ BDEPEND="
"
src_prepare() {
cp "${FILESDIR}"/mjpegtools-2.1.0.patch9 thirdparty/src/ || die
default
eautoreconf
}

View File

@@ -0,0 +1,10 @@
--- a/cpuinfo.sh
+++ b/cpuinfo.sh
@@ -36,6 +36,7 @@
{
cat > conftest.c <<EOF
#include <signal.h>
+#include <stdlib.h>
void catch() { exit(1); }
int main(void){
signal(SIGILL, catch);