package/qt5/qt5base: fix build on riscv32
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 2 Sep 2021 16:22:22 +0000 (18:22 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fri, 3 Sep 2021 18:57:58 +0000 (20:57 +0200)
commit050be3ad358b7824b3fe9f832bc1ee494edd37d8
tree5824f77bb88ed880de3c4bd0def44abb03712515
parent4b437f57a4d3962198f5e98acf3cae6a522d5612
package/qt5/qt5base: fix build on riscv32

Fix the following build failure on riscv32:

In file included from thread/qmutex_linux.cpp:45,
                 from thread/qmutex.cpp:804:
thread/qfutex_p.h: In function 'int QtLinuxFutex::_q_futex(int*, int, int, quintptr, int*, int)':
thread/qfutex_p.h:116:30: error: '__NR_futex' was not declared in this scope; did you mean '_q_futex'?
  116 |         int result = syscall(__NR_futex, addr, op | FUTEX_PRIVATE_FLAG, val, val2, addr2, val3);
      |                              ^~~~~~~~~~
      |                              _q_futex

Fixes:
 - http://autobuild.buildroot.org/results/ffedfc000029072d5d724e98ab4551fe973658ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
package/qt5/qt5base/0009-Fix-build-on-riscv32.patch [new file with mode: 0644]