qt5base: fix alsa-lib version check during configure Current version check ignores MINOR version number
PATCH 1/1 qt5base: fix alsa-lib version check during configure Current version check ignores MINOR version number
Signed-off-by Jiri Novotny <[email protected]>
--- .../qt5/qt5base/0002-qtmultimedia-fix-alsa-version.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/qt5/qt5base/0002-qtmultimedia-fix-alsa-version.patch
package/qt5/qt5base/0002-qtmultimedia-fix-alsa-version.patch new file +13 -0
@@ -0,0 +1,13 @@ +diff --git a/config.tests/unix/alsa/alsatest.cpp b/config.tests/unix/alsa/alsatest.cpp +index cab6533..90dc9d0 100644 +--- 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 == 0 && SND_LIB_SUBMINOR >= 10) || (SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 1 && SND_LIB_SUBMINOR >= 0))) + #error "Alsa version found too old, require >= 1.0.10" + #endif +
Signature · 1 line
2.7.4
PATCH 1/1 qt5base: fix alsa-lib version check during configure Current version check ignores MINOR version number
Hello,
Quoted 5 lines · Jiri Novotny
Signed-off-by Jiri Novotny <[email protected]>--- .../qt5/qt5base/0002-qtmultimedia-fix-alsa-version.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/qt5/qt5base/0002-qtmultimedia-fix-alsa-version.patch
Thanks for your contribution! I assume that what this is fixing is the build with ALSA >= 1.1.x, like we have in Buildroot. So there is a better fix already merged upstream:
https://github.com/qtproject/qtbase/commit/b8f98d956501dfa4ce03a137f15d404930a56066.
So I've used that one instead. See:
https://git.buildroot.org/buildroot/commit/?id=97959eec223a3708ab67510ea98e2c9e52e7e98f
Let me know if that works for you (or not).
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com