# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/mesa-legacy/no-futex.patch.riscv # Copyright (C) 2021 - 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- mesa-21.3.0/meson.build.vanilla 2021-12-29 23:44:49.601732699 +0100 +++ mesa-21.3.0/meson.build 2021-12-29 23:44:58.663732338 +0100 @@ -1377,7 +1377,7 @@ endif endif -foreach h : ['xlocale.h', 'linux/futex.h', 'endian.h', 'dlfcn.h', 'sys/shm.h', 'cet.h', 'pthread_np.h'] +foreach h : ['xlocale.h', 'linux/no-futex.h', 'endian.h', 'dlfcn.h', 'sys/shm.h', 'cet.h', 'pthread_np.h'] if cc.check_header(h) pre_args += '-DHAVE_@0@'.format(h.to_upper().underscorify()) endif