package/llvm: include limits
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 22 May 2021 15:10:37 +0000 (17:10 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 22 May 2021 16:56:25 +0000 (18:56 +0200)
commit8d8f456d59ca5b1e70e37f899743b8d41514cb40
treec42b3609b807f8fb3699efb5557e5fa3acc8f120
parente326fcff64bfb5df5409440bcde7954c4e734c34
package/llvm: include limits

Fix the following build failure:

In file included from /data/buildroot-autobuilder/instance-0/output-1/build/host-llvm-9.0.1/utils/benchmark/src/benchmark_register.cc:15:
/data/buildroot-autobuilder/instance-0/output-1/build/host-llvm-9.0.1/utils/benchmark/src/benchmark_register.h: In function 'void AddRange(std::vector<T>*, T, T, int)':
/data/buildroot-autobuilder/instance-0/output-1/build/host-llvm-9.0.1/utils/benchmark/src/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std'
   17 |   static const T kmax = std::numeric_limits<T>::max();
      |                              ^~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/68581aad7c622a1fc74bb5556799e3c681425b2a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/llvm/0001-nfc-Fix-missing-include.patch [new file with mode: 0644]