diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-07 18:53:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-07 18:53:56 +0000 |
commit | c577a55e80fbc5ba7f9f0124a354335a98e4bf4a (patch) | |
tree | 247ea00560bad9c5ae6e4706d41222629f40db0f /dev-util/umockdev | |
parent | 02814fd00146251691678aa18d9937665c677086 (diff) |
gentoo auto-resync : 07:01:2024 - 18:53:56
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r-- | dev-util/umockdev/Manifest | 3 | ||||
-rw-r--r-- | dev-util/umockdev/files/umockdev-0.17.18-vala-unused-variable-werror.patch | 22 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-0.17.18.ebuild | 6 |
3 files changed, 29 insertions, 2 deletions
diff --git a/dev-util/umockdev/Manifest b/dev-util/umockdev/Manifest index 68dc43199193..7867d0912688 100644 --- a/dev-util/umockdev/Manifest +++ b/dev-util/umockdev/Manifest @@ -1,4 +1,5 @@ +AUX umockdev-0.17.18-vala-unused-variable-werror.patch 934 BLAKE2B 32545fd1a895988316d1ca4de83d0a3a3cdbf4f78cc6a2803e8ecfa80a1ca1027b4c258dbef4110eaf147205093a2793e51ba3f7dd83db01ad6f33c86b37674e SHA512 dece48a56dad053877935f315a2646e04717e31868947906d2608f23877eb0a0002592fa25085190b288911a5a3ca365f4a9f2ca01944fe1583dbacca326706f DIST umockdev-0.17.18.tar.xz 491668 BLAKE2B 106efc5674475383abb7618f087b3536441ae1fa30d6a92b689c1119ff62e06a20a6a529968f2b978f8ed410fc2033c95b86e214d4d4a576cdb9e68ee09a1853 SHA512 3d8d2487b4350e4ce28a5c163cbb1b92da9f5a5317e74da46ccaa62a6b8e938a6758e241d0dd2e9f50fdee4aef24d36585a24cfec1ad99fb4799a01008d9987b -EBUILD umockdev-0.17.18.ebuild 1257 BLAKE2B 8ff7cbbeac9b6f69a37f13dfd7aec84a1464512eca8c099b94c905b4b40b84421c9e4aa7ce494e7aebbc166a201909e6b9787cd25086fccbc4cfc407db062d24 SHA512 651f8429482e049cd517881e276c93c267af80ad41aef93c615869d218323a83e04207fe5f74e4b5b25ae0799bcf58a82f8989838bd8815ac40e6d76d025e409 +EBUILD umockdev-0.17.18.ebuild 1333 BLAKE2B e8316b02535d509acd80dadd2a512f0727b587d80c2a55d301727d443b368068ea30aece776bce93c40197624cf170202f0601e3a8b00df89afba8094f4476a7 SHA512 a6daabeef6feac94a93da3bab18aaf2dca8306d37b89cf2f7db90c96cee738330e32736c91242d6ff7134404359071ffd871b10d19adc3049ba349358d58b65a EBUILD umockdev-9999.ebuild 1264 BLAKE2B f96be590ccd04044dc309bda77bf6b9317d0d138f3804a9510da15ed4ff411140089db6f25bac348ebbfd4d39167cdec852fcb2cc141e3a2a45dfcbc004afb8a SHA512 f19784777d10975841e18d8f4961d92f4bb15f63c61cd462ceb1b5bd51c84dd2843fb441b40bcaf6ed45c6d19b6658bed83fe8e90002bb34dc1a785c9ce3e4c6 MISC metadata.xml 389 BLAKE2B 83313795741d7a5ece22e39de4d8b138c484a7f298f64d7e87bf44a9c04b6733c80f407ca15eb2b4bd71205eaa51b6b814227f4df730ba77e3b54a27735e7484 SHA512 6aff7de0eb974f8ddc4a7190b06b8e3ad406a410f618935cb0b757fa2bc22b6a33ecf33510ae9fc2d4a03f676905faa5561d030fb5e5065f8dc3e7320820cda1 diff --git a/dev-util/umockdev/files/umockdev-0.17.18-vala-unused-variable-werror.patch b/dev-util/umockdev/files/umockdev-0.17.18-vala-unused-variable-werror.patch new file mode 100644 index 000000000000..69023f08e5e2 --- /dev/null +++ b/dev-util/umockdev/files/umockdev-0.17.18-vala-unused-variable-werror.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/919380 + +Exposed by a change in Meson to stop inhibiting Vala warnings, e.g. +``` +umockdev-record.p/src/umockdev-pcap.c: At top level: +umockdev-record.p/src/umockdev-pcap.c:101:20: error: ‘umockdev_ioctl_usb_pcap_handler_properties’ defined but not used [-Werror=unused-variable] + 101 | static GParamSpec* umockdev_ioctl_usb_pcap_handler_properties[UMOCKDEV_IOCTL_USB_PCAP_HANDLER_NUM_PROPERTIES]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +``` + +See https://github.com/mesonbuild/meson/commit/5f659af870011e74299d1455a65c2cd5f5ace51f. +--- a/meson.build ++++ b/meson.build +@@ -21,7 +21,7 @@ add_project_arguments( + '-Werror=format-security', + '-Werror=format=2', + #'-Werror=missing-include-dirs', +- '-Werror=unused-variable', ++ #'-Werror=unused-variable', + '-Werror=return-type', + '-Werror=uninitialized', + # experimental: first check this on all Debian architectures diff --git a/dev-util/umockdev/umockdev-0.17.18.ebuild b/dev-util/umockdev/umockdev-0.17.18.ebuild index d195c94f4c13..b627c3aa9f25 100644 --- a/dev-util/umockdev/umockdev-0.17.18.ebuild +++ b/dev-util/umockdev/umockdev-0.17.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -40,6 +40,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${PN}-0.17.18-vala-unused-variable-werror.patch +) + pkg_setup() { use test && python-any-r1_pkg_setup } |