From ed8299fef4175104e66b734cfc0482770614f398 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 23 Dec 2023 13:50:55 +0000 Subject: gentoo auto-resync : 23:12:2023 - 13:50:55 --- .../appstream-1.0.0-disable-Werror-flags.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 dev-libs/appstream/files/appstream-1.0.0-disable-Werror-flags.patch (limited to 'dev-libs/appstream/files') diff --git a/dev-libs/appstream/files/appstream-1.0.0-disable-Werror-flags.patch b/dev-libs/appstream/files/appstream-1.0.0-disable-Werror-flags.patch new file mode 100644 index 000000000000..309d365c28ec --- /dev/null +++ b/dev-libs/appstream/files/appstream-1.0.0-disable-Werror-flags.patch @@ -0,0 +1,47 @@ +--- a/meson.build ++++ b/meson.build +@@ -90,44 +90,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=empty-body', +- '-Werror=pointer-arith', +- '-Werror=init-self', +- '-Werror=missing-declarations', +- '-Werror=return-type', +- '-Werror=misleading-indentation', +- '-Werror=format-security', +- +- language: 'cpp' +-) +- + # Vendor extensions in system headers + if host_machine.system() != 'netbsd' + # on NetBSD, defining POSIX_C_SOURCE *removes* non-POSIX symbols from namespace, -- cgit v1.2.3