diff options
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r-- | sys-fs/lvm2/Manifest | 4 | ||||
-rw-r--r-- | sys-fs/lvm2/files/lvm2-2.03.18-freopen-musl.patch | 15 | ||||
-rw-r--r-- | sys-fs/lvm2/lvm2-2.03.18-r1.ebuild (renamed from sys-fs/lvm2/lvm2-2.03.18.ebuild) | 0 |
3 files changed, 11 insertions, 8 deletions
diff --git a/sys-fs/lvm2/Manifest b/sys-fs/lvm2/Manifest index 77946003132a..7834717e7818 100644 --- a/sys-fs/lvm2/Manifest +++ b/sys-fs/lvm2/Manifest @@ -21,11 +21,11 @@ AUX lvm2-2.03.17-locale-muck.patch 398 BLAKE2B adb1c2bcd216acb413733d9f3f3618cad AUX lvm2-2.03.17-musl-LOCK_EX.patch 537 BLAKE2B ab2045b3b13e71b8857fa122708ecd55a3341b8feceb6d9f8d16bb3b03f6b9b3519a158ecd4764c070a78b911d06b9dc15117a8aa450bcdbcfd0e96bb86b6647 SHA512 aa1dd5f6b88a2e358d381b6b31d19853f63bf3cae3d54c224aa096194fa07c6917f6a26d686d3ca52d6e83435135d88649afc76d73c586c65d7d19321ae4b9ec AUX lvm2-2.03.17-pthread-pkgconfig.patch 732 BLAKE2B 1c179420d8cc3efaff24f03a5356469222da360c407445e30c51cde3d055de0245bd2387e934ca6bbd8518d6cc4110fccecbf430d3ba580159ac300c8570e34a SHA512 d0a800017c00cc954567900331436f9ddf30f48c7eb14d1c5e181ec9e8485702d76ebb5e981b519b97bc91ac2f5ff182e4e9ad04363c20f759b6f221c8911486 AUX lvm2-2.03.17-readelf.patch 1804 BLAKE2B 559eea74823b3d333e68ac9fddd1046617148fbf525afa03b587d242065fc441b0447ea49479b62906c1111d5a9b0ef0e0150c1d24f7ef96bb64892544dff668 SHA512 f3fdb9b54c41354c7144795a357ba898c65540f09ef974d441ffd6d84d6725bbf9293fab048a3b1155b8961af140335c0023a9085a7a4717f070270491a62f17 -AUX lvm2-2.03.18-freopen-musl.patch 1838 BLAKE2B 424dab306335d3b2df74e1366a7d7a15299848020dbe2030a88483f27e522e66d061e582e9841a162163cf8043e5472c1dda0beeab1cab5824abc46a070d7cb6 SHA512 78b04c8f15b09ed545df082b47d96d23cc13b863892134d18a506699ebd033657505de1d0ae8597b5a3bb264007c4db1b72183d7b4d7902647f444111e57aa11 +AUX lvm2-2.03.18-freopen-musl.patch 1874 BLAKE2B 1b0043442776d48b658849ee6864b57532265ead2635f2fc06ee2279a277d35a98dd5daeb7a6fecb19dae8d44cb327cf431253fed08c5cf922f5aa6447390559 SHA512 a2363666927a17c66078b6ec7449bfb6e83ee0611e2c0c2dc144de530f1960b76789bca543d724486a2c23afa8353507de8db39d374c3fdc3e90a8108629dca3 AUX lvmlockd.initd-2.02.166-r1 390 BLAKE2B aebfa2a654eca784da24fd4e4d46b3e6c97256a42b725e015a13c9673e79c0d1a10213d1eecb6c75d4ce1ebd99e6200010f19c36d758018bdef303ea08ee5549 SHA512 6359b3cbff1fa05944fb69582234220cac593b2c8f8317162a728bac72ced4f8b492ce11e6ced6d848a7654fa4a506c1e658f546cff302344a739646479a62dc AUX lvmpolld.initd-2.02.183 348 BLAKE2B cba0419add6591320dc60ef7616b66706e042b566284a4ec42002fbb5331a7173fc8b4b39be7198426fe4bbdcd3ad94b69fc3d8950705b6331c5f3f4cda4ad66 SHA512 b9b8376cbc8b6703868afab18e5baa4ef5354569e57f0596d38a8005fa725299f6858ac86b39fcca10e5a0f1adbd3a4cfa6cc6b62405e78916cc1287d8b36d0d DIST LVM2.2.03.17.tgz 2726793 BLAKE2B 425e52fe2d7832f8440203d2b6ffc3a097903abea8be07bbbf4864001d5f55083954e561a92b0fe4fc467533e465af3958b25cf33d2693f50f077dc3d9b74bd2 SHA512 ce9f4c10a7e89b397fa021098976117c062227da4f25996296dd3678c0aeb826edf9b7e4f5d3992f42156865ae47cb98671ec37a26868710174a473b42cc70a9 DIST LVM2.2.03.18.tgz 2728113 BLAKE2B 59df1a6ece11473d3f15a8b81701faa363be556f7668a34d2cbbf9221a014f268c230f08d3bd873bbebee89480c787a6f358b2edf8777c990c62e7c6a36aecad SHA512 58043bdcad882065f15d772401d29fc7fb2d0a6b6b75063915dc38bb11cd847517dd18ae7e2acb3935e6c32ef620a275c2b2b9c307434f7457ea3203b87254c1 EBUILD lvm2-2.03.17-r2.ebuild 9952 BLAKE2B 875bc183ee4e0e9f81c57e3b5faab740dd71ae421713f15497e94fb249d09200be653c8121ecd7c80e9c15a7ad1492ce33538b3b083c19c5164d8867f303e829 SHA512 4891ac05e9f3418b3f5c11f8a9d75d33842316e1be980a9cf6cb42222e34199541b6c6c929c213fa9c4c4f6b89a2b5c9c53dbb586f55c09ec8105902289fa944 -EBUILD lvm2-2.03.18.ebuild 9772 BLAKE2B 78995e2b773cf0135ace59ff866346eb58c4c1212d1ac00304a91110f09e387511672fac4556ed0b74cd9697666ded3fe3e95629ea6789731fd594979b58da31 SHA512 30493e60de36c45c648d3e85835cc29b939960666a58245700d468d34bc21662955ee4b9973efdac0850fff7e05befc6b9ced56829fddee5252ca3d1736f2bc8 +EBUILD lvm2-2.03.18-r1.ebuild 9772 BLAKE2B 78995e2b773cf0135ace59ff866346eb58c4c1212d1ac00304a91110f09e387511672fac4556ed0b74cd9697666ded3fe3e95629ea6789731fd594979b58da31 SHA512 30493e60de36c45c648d3e85835cc29b939960666a58245700d468d34bc21662955ee4b9973efdac0850fff7e05befc6b9ced56829fddee5252ca3d1736f2bc8 MISC metadata.xml 922 BLAKE2B 8688e31c04a110d0e522a13724896a2a7c22a9ce33d8d4384a7fbfb54e3c42c231d3b5791ceda976453d54062c5a8318cd514979fcad177ab1ff2a01b791ca65 SHA512 423e499010daffc24141021bc5328b83f9e39e1534bb30fdbbf6839f4ed426897d764d0ca6d0e96267bc67986d3a2cfa9cc5ec3f0e3b2e7aa5ef34095de95a61 diff --git a/sys-fs/lvm2/files/lvm2-2.03.18-freopen-musl.patch b/sys-fs/lvm2/files/lvm2-2.03.18-freopen-musl.patch index 13afb81796ac..94fb99e04025 100644 --- a/sys-fs/lvm2/files/lvm2-2.03.18-freopen-musl.patch +++ b/sys-fs/lvm2/files/lvm2-2.03.18-freopen-musl.patch @@ -1,4 +1,4 @@ -From c2817ff30c4ad1e1a171ee0e914dbecdd486e3cf Mon Sep 17 00:00:00 2001 +From a2b9c9d2fe4d3f3869e8748dd44da44b67ba5a66 Mon Sep 17 00:00:00 2001 From: David Seifert <soap@gentoo.org> Date: Sat, 28 Jan 2023 14:22:42 +0100 Subject: [PATCH] Use `freopen()` on {stdin,stdout,stderr} @@ -7,20 +7,23 @@ Subject: [PATCH] Use `freopen()` on {stdin,stdout,stderr} lvalues. Glibc even calls out this behaviour as non-portable: https://www.gnu.org/software/libc/manual/html_node/Standard-Streams.html --- - lib/log/log.c | 2 +- + lib/log/log.c | 4 ++++ tools/lvmcmdline.c | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/log/log.c b/lib/log/log.c -index 118a3ba42..aecc72611 100644 +index 118a3ba42..a94016d81 100644 --- a/lib/log/log.c +++ b/lib/log/log.c -@@ -208,7 +208,7 @@ int reopen_standard_stream(FILE **stream, const char *mode) +@@ -208,7 +208,11 @@ int reopen_standard_stream(FILE **stream, const char *mode) _check_and_replace_standard_log_streams(old_stream, new_stream); -- *stream = new_stream; ++#ifdef __GLIBC__ + *stream = new_stream; ++#else + freopen(NULL, mode, *stream); ++#endif return 1; } diff --git a/sys-fs/lvm2/lvm2-2.03.18.ebuild b/sys-fs/lvm2/lvm2-2.03.18-r1.ebuild index b93eea6a507f..b93eea6a507f 100644 --- a/sys-fs/lvm2/lvm2-2.03.18.ebuild +++ b/sys-fs/lvm2/lvm2-2.03.18-r1.ebuild |