diff options
author | Cem Keylan <cem@ckyln.com> | 2021-08-09 21:17:39 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-08-09 21:17:39 +0300 |
commit | ac98606dc914ca3674a62c67779356a11f582ce0 (patch) | |
tree | c4824ba863fb968f63d769dc416a9713543027fb /extra/mesa/patches/force-byacc.patch | |
parent | 1545629200b5c98f781005ef0baec7388a2b5f2b (diff) | |
download | repository-ac98606dc914ca3674a62c67779356a11f582ce0.tar.gz |
mesa: bump to 21.2.0
Diffstat (limited to 'extra/mesa/patches/force-byacc.patch')
-rw-r--r-- | extra/mesa/patches/force-byacc.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/mesa/patches/force-byacc.patch b/extra/mesa/patches/force-byacc.patch new file mode 100644 index 00000000..9e649c0e --- /dev/null +++ b/extra/mesa/patches/force-byacc.patch @@ -0,0 +1,24 @@ +--- meson.build.orig Mon Aug 9 21:05:49 2021 ++++ meson.build Mon Aug 9 21:07:48 2021 +@@ -1821,19 +1821,8 @@ + prog_bison = find_program('bison', 'yacc', required : with_any_opengl) + endif + else +- prog_bison = find_program('bison', required : false) +- +- if not prog_bison.found() +- prog_bison = find_program('byacc', required : with_any_opengl) +- yacc_is_bison = false +- endif +- +- # Disable deprecated keyword warnings, since we have to use them for +- # old-bison compat. See discussion in +- # https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2161 +- if find_program('bison', required : false, version : '> 2.3').found() +- prog_bison = [prog_bison, '-Wno-deprecated'] +- endif ++ prog_bison = find_program('byacc', required : with_any_opengl) ++ yacc_is_bison = false + + prog_flex = find_program('flex', required : with_any_opengl) + prog_flex_cpp = prog_flex |