diff options
author | Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com> | 2016-03-05 02:06:24 -0300 |
---|---|---|
committer | Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com> | 2016-03-05 02:06:24 -0300 |
commit | 23f3475d438dc80be41a3306bbfff66f04434685 (patch) | |
tree | 14a3cb9ef8067a6bbc9e699ec8e2e68f5c39d620 /debian/patches | |
parent | 4c5894d9a49f1adec9ac1e0fd62b0c9a65d0d525 (diff) | |
download | qtbase-23f3475d438dc80be41a3306bbfff66f04434685.tar.gz |
Add fix_alsa_detection.patch to workaround ALSA >= 1.1.0 detection.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/fix_alsa_detection.patch | 22 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/fix_alsa_detection.patch b/debian/patches/fix_alsa_detection.patch new file mode 100644 index 0000000..20182f4 --- /dev/null +++ b/debian/patches/fix_alsa_detection.patch @@ -0,0 +1,22 @@ +Description: pseudo-fix for ALSA version detection + The current test fails for 1.1.x with x < 10, so just bump it + to 1.1.0. +Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org> +Bug: https://bugreports.qt.io/browse/QTBUG-51681 +Last-Update: 2016-03-05 + +--- + config.tests/unix/alsa/alsatest.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/config.tests/unix/alsa/alsatest.cpp ++++ b/config.tests/unix/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 >= 1 && SND_LIB_SUBMINOR >= 0)) + #error "Alsa version found too old, require >= 1.0.10" + #endif + diff --git a/debian/patches/series b/debian/patches/series index f63cb57..3fb2d79 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,3 +9,4 @@ gnukfreebsd.diff no_htmlinfo_example.diff remove_privacy_breachs.diff link_fbclient.diff +fix_alsa_detection.patch |