From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- dev-libs/libgudev/Manifest | 3 ++- dev-libs/libgudev/files/libgudev-test-double.patch | 30 ++++++++++++++++++++++ dev-libs/libgudev/libgudev-237.ebuild | 5 ++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 dev-libs/libgudev/files/libgudev-test-double.patch (limited to 'dev-libs/libgudev') diff --git a/dev-libs/libgudev/Manifest b/dev-libs/libgudev/Manifest index 58dc2fb88057..0431746700ce 100644 --- a/dev-libs/libgudev/Manifest +++ b/dev-libs/libgudev/Manifest @@ -1,8 +1,9 @@ +AUX libgudev-test-double.patch 923 BLAKE2B e8351510cd918befad8c9059dde42f5ceb6df66028ca38ea7e24db8d357658a1fea00ca66f459731ec8087aeae77092086daa79eb78b6ada62cede12149a7e47 SHA512 4decaa02142dc0c952d1eb8a2d7bd963fc71aa9dcd97e267f464ea64cd9791e64d67507aa1cc0edf3fc30cc40e300dc479a445e2f3af764cf2cc89abff55c64f DIST libgudev-234.tar.xz 273244 BLAKE2B c0556988e37d5a5c48ba906b121d3c7a16c6a8ee4d05eb0e51913b9cde51bdc10966dcf8ceeccf62021dd8e47b004c85ed3412942d9d2bd5176d604931745f50 SHA512 cb01906d532b05cf8f69acdf80a8f05fbd4863fd98e88928b491e3657e60844f7ae6ca903ddd773fbea37268ff85d12719de47fd92a2f18b98fa2dbfe85e8151 DIST libgudev-236.tar.xz 28428 BLAKE2B cee5098f851183131db88812c8a985a3617fec7a2257f3c05ae0f06e423f15efa89801ef0c75cbb6e5ea9fb7a9db3c4d9215a3689e5d1ddb4832ef17442753cf SHA512 b00c30a7d57de8cca92a22f4c4da878c7cce448b1177858cc9ee0b99c5bc4fd0fbd01d8f4f9a9b9ef073af8f51c26533f2e7896c01ed9fed0a2bcfa6b2cfcbc2 DIST libgudev-237.tar.xz 29060 BLAKE2B 5d39d4d26d8c8b3fa877319c294036294dbda96b340d2d04d7a35449d91b58de876b96b5e3d9423cdf3e1d3e2a94f5a861b1ac1e74a610637e0fc66248c68309 SHA512 2d68981e3ba5c58ee080b6ed5cd5152c1c352b2bdb3ecb5eaf2b91f6800d3369121222a7fe4f82630aabd164069ee7276c52082b2fc2ff5f318481b85b25abc6 EBUILD libgudev-234.ebuild 1088 BLAKE2B fe5aab5e9c54d398446439680fbe90c11e1d8a4372effb36351b7b756c770591ac2c7526fe1007fb885dd461e761590c02d6c2ee9742ce1defd980d2ae88d3b2 SHA512 4e471b21732297933f8b6e48b658135a5b13f05d866059d0585c6d1b064c9f4a817c4d1c6429900f3191fb98f8ed192405281784c64b907ae36a825881fc88d8 EBUILD libgudev-236-r1.ebuild 1350 BLAKE2B 6bb2b4de35e799024a415c3dfb2980c2143ec93728b1edce249c5cc697d233896081ea944b965e54af38bc06316c68732676fc0a0287ed2fbe86c058478f5d16 SHA512 a27044187ef37e470922d2ab72015e5bf228bf80ad518973b74607660dca815e4c0959c03f23dfa94502b54c7f4824386dc4ec9fae6760d57308cd37c907905a EBUILD libgudev-236.ebuild 1163 BLAKE2B 0ebc090e946fa572c444ec9890155010d417d85027596bda006711dad0cd4afaee9e82bc9737106639ef5f601b1907efa64378538976a2ca58e9fd051ebaa723 SHA512 6830ecc3ef4f78536db37044dd54f8bfe28734fa5fe2f505a0860a52664a8bca87401a6d61e4fc090ee01c0fa36bf29eefd4bf5c2a2b82bbbf611c7cb9bb6778 -EBUILD libgudev-237.ebuild 1201 BLAKE2B ec404724db11e37fcf7a49e03e17d14b1015819064a62ad47c6c998813fc1cb922de24988e44eb17b95987fb66b8b845a5e1c254a964b324605e6cee92651d41 SHA512 a15928a8838f5c802c4f5a16b12f9ad55dd3b7381c7785d86550ec6295083e724f384696a6d6753c77d535d4afbc616cd096e557a0bfe62c421d4a66804f6b49 +EBUILD libgudev-237.ebuild 1319 BLAKE2B 46b7b8f7f8219cc4be52125f755fee00beb8ced80d5981a5faf103c522fe13b2b6f5b060321f0f1c3f177e2a8ae6322e11696e34a5448b103d6e8e3d768fc4c9 SHA512 011f6e8e97cf10ae3a88ae3659776f8b89a8db4cd8b1e8cae74216fcf36e943cac3800c4daa28a6fcf6f88384e40f9534fdf6830aa8f4191b5ac3c4d4dc5e505 MISC metadata.xml 333 BLAKE2B d9c5a793dcae13a9f6bf016d45306cc7402b897be56e13e0839f1bf93fa49a5cdea3401d2608f7faf432ba735bfd8f43504a875700da8d65ddd5b50d7c2a428d SHA512 d7ecba75c60812ce8456539aa7d50bd38dec20564ef9b51603743143b3cf64d93a997b27fcde8bf9562a1c0e0bf565639db9f82471ad3f75bcfbe7c12d43929b diff --git a/dev-libs/libgudev/files/libgudev-test-double.patch b/dev-libs/libgudev/files/libgudev-test-double.patch new file mode 100644 index 000000000000..5d0eb3dab18d --- /dev/null +++ b/dev-libs/libgudev/files/libgudev-test-double.patch @@ -0,0 +1,30 @@ +From 6f0503b1930a0776ef45fa7bc87a87e9dc69dacf Mon Sep 17 00:00:00 2001 +From: Mike Gilbert +Date: Sat, 21 Aug 2021 15:09:58 -0400 +Subject: [PATCH] Skip test-double if the fr_FR.UTF-8 locale is not available + +Bug: https://bugs.gentoo.org/809359 +--- + tests/test-double.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/tests/test-double.c b/tests/test-double.c +index 0092d8b..7ba3abe 100644 +--- a/tests/test-double.c ++++ b/tests/test-double.c +@@ -54,7 +54,11 @@ test_double (void) + int main(int argc, char **argv) + { + setlocale (LC_ALL, NULL); +- setlocale (LC_NUMERIC, "fr_FR.UTF-8"); ++ if (!setlocale (LC_NUMERIC, "fr_FR.UTF-8")) ++ /* Skip the test if fr_FR.UTF-8 is not available */ ++ /* https://mesonbuild.com/Unit-tests.html#skipped-tests-and-hard-errors */ ++ return 77; ++ + g_test_init (&argc, &argv, NULL); + + g_test_add_func ("/gudev/double", test_double); +-- +2.33.0 + diff --git a/dev-libs/libgudev/libgudev-237.ebuild b/dev-libs/libgudev/libgudev-237.ebuild index 6f131f3140bd..ceaf1ef5e86c 100644 --- a/dev-libs/libgudev/libgudev-237.ebuild +++ b/dev-libs/libgudev/libgudev-237.ebuild @@ -28,6 +28,11 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + # https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/19 + "${FILESDIR}/libgudev-test-double.patch" +) + multilib_src_configure() { local emesonargs=( $(meson_native_use_feature introspection) -- cgit v1.2.3