package/qt5/qt5base: fix build with gcc 11
authorMaxim Kochetkov <fido_max@inbox.ru>
Tue, 6 Jul 2021 04:29:02 +0000 (07:29 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 17 Jul 2021 08:03:30 +0000 (10:03 +0200)
commit7bd57831e991ea1239687b83cc94b306f21b9031
treeaad061b5c99c2e27ffe1caa97c7c03a89f85efe0
parentd2ef0058c94f8eab59ed799aaea8e9ce83e91069
package/qt5/qt5base: fix build with gcc 11

Fix the following build failure with gcc 11:

text/qbytearraymatcher.h:103:38: error: 'numeric_limits' is not a member of 'std'
  103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
      |                                      ^~~~~~~~~~~~~~

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Tested-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5base/0007-Build-fixes-for-GCC-11.patch [new file with mode: 0644]