lvm2: fix build with readline>=6.3.
This commit is contained in:
parent
a418e7ab3c
commit
e6a588ae64
|
@ -26,6 +26,11 @@ license="GPL-2, LGPL-2.1"
|
|||
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
|
||||
checksum=d0700c7000ff6375c1c36cb2a89b97b9ae6757f4219fa9ec65f313d13d71e51e
|
||||
|
||||
pre_build() {
|
||||
# Fix for readline>=6.3
|
||||
sed -e 's,(CPPFunction \*),,' -i tools/lvm.c
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/lvm2.tmpfiles 644 usr/lib/tmpfiles.d lvm2.conf
|
||||
vinstall ${FILESDIR}/lvm-monitoring.service 644 usr/lib/systemd/system
|
||||
|
|
Loading…
Reference in New Issue