File 0002-meson-build-noWerr.patch of Package mesa

--- mesa/meson.build.orig	2023-05-13 13:44:19.571887100 +0200
+++ mesa/meson.build	2023-05-13 17:40:20.377813643 +0200
@@ -56,8 +56,8 @@
   '-DPACKAGE_VERSION="@0@@1@"'.format(meson.project_version(), package_version_suffix),
   '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"',
 ]
-c_args = []
-cpp_args = []
+c_args = ['-Wno-deprecated-declarations','-Wno-int-conversion','-Wno-implicit-function-declaration','-Wno-implicit-const-int-float-conversion','-Wno-unused-function','-Wno-deprecated-builtins','-Wno-constant-conversion','-Wno-unused-value','-Wno-missing-braces','-Wno-self-assign']
+cpp_args = ['-Wno-deprecated-declarations','-Wno-int-conversion','-Wno-implicit-function-declaration','-Wno-implicit-const-int-float-conversion','-Wno-unused-function','-Wno-deprecated-builtins','-Wno-constant-conversion','-Wno-unused-value','-Wno-missing-braces','-Wno-self-assign']
 
 with_moltenvk_dir = get_option('moltenvk-dir')
 
@@ -1153,12 +1153,10 @@
   endforeach
 else
   _trial = [
-    '-Werror=implicit-function-declaration',
     '-Werror=missing-prototypes',
     '-Werror=return-type',
     '-Werror=empty-body',
     '-Werror=incompatible-pointer-types',
-    '-Werror=int-conversion',
     '-Wimplicit-fallthrough',
     '-Wno-missing-field-initializers',
     '-Wno-format-truncation',
openSUSE Build Service is sponsored by