diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-27 21:58:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-27 21:58:13 +0100 |
commit | 62082029157d2ef97a43e34ce34a55877afa8a58 (patch) | |
tree | 7ae84333ee590b9c0a99459888f508b3727849fe /sys-fs/lvm2 | |
parent | 3cafd803b6d89f6e823358a8d7f4a97e6d0629e1 (diff) |
gentoo auto-resync : 27:10:2022 - 21:58:13
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r-- | sys-fs/lvm2/Manifest | 3 | ||||
-rw-r--r-- | sys-fs/lvm2/files/lvm2-2.03.16-readelf.patch | 25 | ||||
-rw-r--r-- | sys-fs/lvm2/lvm2-2.03.16.ebuild | 3 |
3 files changed, 30 insertions, 1 deletions
diff --git a/sys-fs/lvm2/Manifest b/sys-fs/lvm2/Manifest index 435936ad24da..aab9e30e7d9f 100644 --- a/sys-fs/lvm2/Manifest +++ b/sys-fs/lvm2/Manifest @@ -23,11 +23,12 @@ AUX lvm2-2.03.14-r1-fopen-to-freopen.patch 1306 BLAKE2B bba58efc587529f30e187c35 AUX lvm2-2.03.14-r1-mallinfo.patch 665 BLAKE2B 2fdec28a0f889fe8f64b4c134c0b4a86a55a7d2a0dce90f7ed5e314dc89c4b94ec17764aea9307d5b45b89b700e5a89bf905ebdb4b7480d50610b26504cd7c32 SHA512 09ef2e8b3c6019d87e59dce2dcc00bcf243402c92559b38966e800a38ff24028962fcb96bbb1cb22228deb1a2c95ecfc079b1387523799daf477641f43669fec AUX lvm2-2.03.14-static-pkgconfig-libs.patch 4600 BLAKE2B 18fb5d69fb77625189539a64d4189b8ec5bc783ddb10e6e38033633b9a7049203264f0cd7b6c4b6c999c9767130f5da3526a805ffdb187c7aff98de592c11b35 SHA512 c2bc3b7b92bdfed028703a5bb57873c976978a6c84a409098828b96258b0fa349715bd2f140d6d41cbbacbfc34fc7c7901428e21716e04bfbf2d58847653c34e AUX lvm2-2.03.16-dm_lvm_rules_no_systemd.patch 780 BLAKE2B 8340f71fdf0c934dd8f6192628a58b9b2da5c27c5de48119dda7ce20c5ab9e4d3896e3412177f5e01a47a0db4bf58fc8fec5cfa7011690906bb749e989c268d4 SHA512 84f2612d17aa03ebbae55b7227a0ac934e94ad67341fee177ed3737c7a5e2e2a441773f4c3d7d8917c4a48bfac3ff385616c9eeaebfcca15d5c8d3fdb3b1899d +AUX lvm2-2.03.16-readelf.patch 921 BLAKE2B 2d7d6f69d40ded9825b11cae265b5afada6124fbe8826afb4cacaa2a49b999f60a2ddb39fc86e238cda3a4dfba739b92f5e0fbf79dc154a44ee6158f3c8ec268 SHA512 6e20b4e438cc08f4027878feb011fcfc4c78391eeda56d0e93d056736378c824f4220910be70b83e4b69cf517c58ef3b078892cb5a82110e9e16bc7d5c68131d AUX lvmetad.initd-2.02.116-r3 345 BLAKE2B d458efd01fa08debe0857072c880adf951477445dd619a052f50cab9da39d8a38c9d480fc2d20fe899e01dcbcdaea0696d5c3e65af128652feea3186857d206e SHA512 f3143c6e1d00893009c68141f5ffd7e1e6bcf5b7ef0ff8505bc6c7049d83b2f9ddd2dc5a3cfdc2641a20603830b5dba07d73740cc5ce82e6b1b602a9b737a241 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.14.tgz 2639538 BLAKE2B 806f5e9cb76a05febef6f8ce8cfc42c92927b9538f62a21029c5ffc426a4fd7c3f32709be08dbd8028b53891b1075d1d13cb3b0d7b1815071ee8eb927d8f3ed3 SHA512 6a93bed1d5cf36f0f48d4d413d028b0e480cd4fc20e25d173770a892f265d2a0cc68d01a720b1513469953649e989532cd0c45f9538f92a4190eb3dc4555857d DIST LVM2.2.03.16.tgz 2658805 BLAKE2B 05c6089adff0c61ff1281a05a917f75480ad4acc28cb0214a42589d206a61168f68de07891b9af9814ed7998f16aff6f29ba29b85b23de36f38bf3b5f27802c1 SHA512 084ba4080537359458db936637fc7f83bb9bfcf2de9f3660882551b5c31c7e9900c7d381b238ce1bb7629942c740c121f0dea5e404c302d31ed028b5c65efaa5 EBUILD lvm2-2.03.14-r3.ebuild 9996 BLAKE2B 6b362736c095df126b9b6ebcea21cec474f0b194cf186b7af2568820cfb2521accdaa5f4247cb5a205190c741ca866bfc409cede0b814ac12a3c1e1003df60fd SHA512 a5931ee69d8a3fb9d32ad7e8fe91c9a9d07224f4b220e1b5a6dce290ea73c87eeb125ddc0c466c7bd4aa854f8c98af4a0e7d878f6a0be101dda6288f3f63760e -EBUILD lvm2-2.03.16.ebuild 9875 BLAKE2B cc65d8be2c66b54df3ce8c51f891556c5dcb553d676e34ffec85e73b1c02759846effb97ad31a7d075ab9f6e1ef85e93035235fd1d799e8a5ded90d397f37de5 SHA512 8a2a242615f9a26ff8e4e22e84fe61e366d64ec58ee9237c8422ddd76b6bb6920c698be82f00bfda4526bc79db8b8bdb1a9408a660e27f1e5de5f2700a332e45 +EBUILD lvm2-2.03.16.ebuild 9976 BLAKE2B 294ebc6d761ecd23a6f7f01c3ab782f8788b5a005a681d40c5cd294e109e2b850479acc62db04191e61c20f7c4cd44a9812071e8502b7294df87e3b1299fc256 SHA512 91fee7f723b24d1886db8f29b762a77e1eb5e67d2cb53f199b82b5a86624bf5511fdde1901363096b1a3f52921aa4742a636dc7959df07d5ee5aa640bfe35a24 MISC metadata.xml 924 BLAKE2B f8999a0d015771eab5a4f84adac00267d7bd04b5890838e155e75208eb4ba0d8440db090b6fd877c34528fd89fd25bc68051f127a43c75af978f2fedcc9d787a SHA512 670cc840de3818ee976269902fc4ef8e7b57c38960475f702e9340c9e847a2121f92fcd58ea506e2907e4939b5596cdf72207a3a276dcfa1374be14530268c00 diff --git a/sys-fs/lvm2/files/lvm2-2.03.16-readelf.patch b/sys-fs/lvm2/files/lvm2-2.03.16-readelf.patch new file mode 100644 index 000000000000..b4d60c5825db --- /dev/null +++ b/sys-fs/lvm2/files/lvm2-2.03.16-readelf.patch @@ -0,0 +1,25 @@ +diff -Nuar LVM2.2.03.16.orig/libdm/Makefile.in LVM2.2.03.16/libdm/Makefile.in +--- LVM2.2.03.16.orig/libdm/Makefile.in 2022-05-18 09:24:20.000000000 -0700 ++++ LVM2.2.03.16/libdm/Makefile.in 2022-10-27 10:09:29.283631020 -0700 +@@ -59,6 +59,10 @@ + + PROGS_CFLAGS = $(UDEV_CFLAGS) + ++ifeq ($(strip $(READELF)),) ++READELF := readelf ++endif ++ + device-mapper: $(TARGETS) + + dm-tools.device-mapper: device-mapper +@@ -71,8 +75,8 @@ + # also the older symbol is built-in + .symver_check: $(LIB_SHARED) + @echo " [CHECK] $<" +- $(Q) if readelf -Ws $< | grep -q dm_stats_create_region@@; then \ +- SYM=$$(readelf -Ws $< | grep dm_stats_create_region@DM_1_02_106); \ ++ $(Q) if $(READELF) -Ws $< | grep -q dm_stats_create_region@@; then \ ++ SYM=$$( $(READELF) -Ws $< | grep dm_stats_create_region@DM_1_02_106); \ + if test -n "$$SYM"; then touch $@; \ + else echo >&2 "Missing versioned symbols in $<"; false; fi; \ + else touch $@; fi diff --git a/sys-fs/lvm2/lvm2-2.03.16.ebuild b/sys-fs/lvm2/lvm2-2.03.16.ebuild index 30a41a0a959c..d3922e5152cf 100644 --- a/sys-fs/lvm2/lvm2-2.03.16.ebuild +++ b/sys-fs/lvm2/lvm2-2.03.16.ebuild @@ -69,6 +69,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.03.14-r1-fopen-to-freopen.patch "${FILESDIR}"/${PN}-2.03.14-r1-mallinfo.patch "${FILESDIR}"/${PN}-2.03.14-freopen_n2.patch + "${FILESDIR}"/${PN}-2.03.16-readelf.patch ) pkg_setup() { @@ -162,6 +163,7 @@ src_configure() { myeconfargs+=( --with-thin=none --with-cache=none ) fi + export READELF="$(tc-getREADELF)" myeconfargs+=( $(use_enable readline) $(use_enable selinux) @@ -184,6 +186,7 @@ src_configure() { $(use_enable systemd notify-dbus) --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" CLDFLAGS="${LDFLAGS}" + READELF="${READELF}" ) # Hard-wire this to bash as some shells (dash) don't know # "-o pipefail" #682404 |