package/mesa3d: fix build on riscv32
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 21 Aug 2021 16:05:09 +0000 (18:05 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 23 Aug 2021 22:05:20 +0000 (00:05 +0200)
commit3298e67ac64ce1f52f58f1ef668c4c8c63309d04
tree65f167638dc71bb03dc33353107fffb5afc7d942
parent912f9511de54f5a647e7aca52594c3020fe15ee8
package/mesa3d: fix build on riscv32

Fix the following build failure on riscv32:

../src/util/futex.h: In function 'sys_futex':
../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'?
   39 |    return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3);
      |                   ^~~~~~~~~
      |                   sys_futex

Fixes:
 - http://autobuild.buildroot.org/results/692700a5f967760a0b8cd358b1712f1d5a7b681e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/mesa3d/0005-src-util-futex.h-fix-build-on-32-bit-architectures-u.patch [new file with mode: 0644]