diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-29 04:52:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-29 04:52:58 +0000 |
commit | b20b0e862d577cc2f56ed09f5f833a80fd839d38 (patch) | |
tree | f51b6cd1f14066e746f5e2b6631ef6403d52d95c /dev-libs/appstream/files | |
parent | 33f4c0828f4961b9d7acfbe27f8f795cf7fb8ba7 (diff) |
gentoo auto-resync : 29:11:2023 - 04:52:58
Diffstat (limited to 'dev-libs/appstream/files')
-rw-r--r-- | dev-libs/appstream/files/appstream-0.16.4-disable-Werror-flags.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/appstream/files/appstream-0.16.4-disable-Werror-flags.patch b/dev-libs/appstream/files/appstream-0.16.4-disable-Werror-flags.patch new file mode 100644 index 000000000000..e42c88e3bd31 --- /dev/null +++ b/dev-libs/appstream/files/appstream-0.16.4-disable-Werror-flags.patch @@ -0,0 +1,50 @@ +--- a/meson.build 2023-03-15 14:18:16.657101983 -0700 ++++ b/meson.build 2023-03-15 14:21:20.055049626 -0700 +@@ -97,47 +97,6 @@ + endif + endif + +-# a few compiler warning flags we always want enabled +-add_project_arguments( +- cc.get_supported_arguments([ +- '-Werror=shadow', +- '-Werror=empty-body', +- '-Werror=strict-prototypes', +- '-Werror=missing-prototypes', +- '-Werror=implicit-function-declaration', +- '-Werror=pointer-arith', +- '-Werror=missing-declarations', +- '-Werror=return-type', +- '-Werror=int-conversion', +- '-Werror=incompatible-pointer-types', +- '-Werror=misleading-indentation', +- '-Werror=missing-include-dirs', +- '-Werror=declaration-after-statement', +- '-Werror=format-security', +- +- '-Wno-missing-field-initializers', +- '-Wno-error=missing-field-initializers', +- '-Wno-unused-parameter', +- '-Wno-error=unused-parameter', +- ]), +- language: 'c' +-) +-add_project_arguments( +- '-Wno-unused-parameter', +- '-Werror=shadow', +- '-Werror=empty-body', +- '-Werror=pointer-arith', +- '-Werror=init-self', +- '-Werror=missing-declarations', +- '-Werror=return-type', +- '-Werror=misleading-indentation', +- '-Werror=format-security', +- +- # NOTE: Can be removed with AppStream 1.0 +- '-Wno-error=c++20-compat', +- language: 'cpp' +-) +- + # Vendor extensions in system headers + add_project_arguments('-D_POSIX_C_SOURCE=200809L', language: 'c') + |