summaryrefslogtreecommitdiff
path: root/media-libs/speex/files/speex-1.2.1-vla-detection.patch
blob: 1b3826f8b25e673f53a68c371f845770b5625a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
https://gitlab.xiph.org/xiph/speex/-/commit/5b036b2ca5e27004502e67ee20490a16f5e68aa1

From 5b036b2ca5e27004502e67ee20490a16f5e68aa1 Mon Sep 17 00:00:00 2001
From: Kai Pastor <dg0yt@darc.de>
Date: Wed, 24 Aug 2022 20:14:31 +0200
Subject: [PATCH] Fix vla detection

Signed-off-by: Tristan Matthews <tmatth@videolan.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index d94c2feb..b8131482 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ AC_C_RESTRICT
 
 
 AC_MSG_CHECKING(for C99 variable-size arrays)
-+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
 int foo;
 foo = 10;
 int array[foo];
-- 
GitLab