package/qt5/qt5base: fix build with gcc 11
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 3 Jun 2021 05:56:44 +0000 (07:56 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 5 Jun 2021 20:12:28 +0000 (22:12 +0200)
commit128901c80a58924c9e7a16465e30474eaa9fe3b0
tree570d701602bad3adf336fd5129dc63418fa36a02
parente93eaf7248d62e5e79a3b0e46de7483094a276d8
package/qt5/qt5base: fix build with gcc 11

Fix the following build failure with gcc 11:

/data/buildroot-autobuilder/instance-0/output-1/build/qt5base-5.15.2/include/QtCore/../../src/corelib/global/qfloat16.h:300:7: error: 'numeric_limits' is not a class template
  300 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
      |       ^~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/9a7a987af40b8408ccdfcae4890008c7090b41a1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/qt5/qt5base/0006-Fix-build-with-GCC-11-include-limits.patch [new file with mode: 0644]