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

This commit is contained in:
2024-04-14 09:30:13 +03:00
committed by Viorel
parent b91a5845cd
commit 2098aa76f1
2 changed files with 11 additions and 0 deletions
@@ -83,6 +83,7 @@ BDEPEND="
" "
src_prepare() { src_prepare() {
cp "${FILESDIR}"/mjpegtools-2.1.0.patch9 thirdparty/src/ || die
default default
eautoreconf eautoreconf
} }
@@ -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);