From ac98606dc914ca3674a62c67779356a11f582ce0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Aug 2021 21:17:39 +0300 Subject: mesa: bump to 21.2.0 --- extra/mesa/patches/force-byacc.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 extra/mesa/patches/force-byacc.patch (limited to 'extra/mesa/patches/force-byacc.patch') 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 -- cgit v1.2.3