summaryrefslogtreecommitdiff
path: root/x11/qt5-qtmultimedia/patches/patch-config.tests_alsa_alsatest.cpp
blob: 500d611d34b70d534285ebb0292eee9b4f52a14f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-config.tests_alsa_alsatest.cpp,v 1.1 2016/07/16 00:37:45 markd Exp $

Allow newer Alsa versions.

--- config.tests/alsa/alsatest.cpp.orig	2015-10-13 04:35:43.000000000 +0000
+++ config.tests/alsa/alsatest.cpp
@@ -32,7 +32,7 @@
 ****************************************************************************/
 
 #include <alsa/asoundlib.h>
-#if (!(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 10))
+#if (!(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 10) && !(SND_LIB_MAJOR == 1 && SND_LIB_MINOR >= 1))
 #error "Alsa version found too old, require >= 1.0.10"
 #endif