tgt: update to 1.0.81.

This commit is contained in:
Leah Neukirchen 2021-12-13 19:49:40 +01:00
parent 0952ff0603
commit 9cc092a01f

View file

@ -1,6 +1,6 @@
# Template file for 'tgt' # Template file for 'tgt'
pkgname=tgt pkgname=tgt
version=1.0.80 version=1.0.81
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_install_args="sbindir=/usr/bin" make_install_args="sbindir=/usr/bin"
@ -11,9 +11,9 @@ depends="perl-Config-General"
short_desc="Linux SCSI target framework" short_desc="Linux SCSI target framework"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only" license="GPL-2.0-only"
homepage="http://stgt.sourceforge.net/" homepage="https://github.com/fujita/tgt"
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz" distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
checksum=e2255482f1a2797c115a6d545c37428b10a4ba6276a2af787da5378fa4e34e75 checksum=f8a285549456f13fecf628131a73934ffcbb701bacb7d5802acee7b515ab5452
post_extract() { post_extract() {
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile