From faeed621beaed11a2f943f8612315ef94eb2d71e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 5 Nov 2018 13:04:12 +0100 Subject: [PATCH] tgt: update to 1.0.74. --- srcpkgs/tgt/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/tgt/template b/srcpkgs/tgt/template index c839c2c22d3..f5294b3c7d7 100644 --- a/srcpkgs/tgt/template +++ b/srcpkgs/tgt/template @@ -1,6 +1,6 @@ # Template file for 'tgt' pkgname=tgt -version=1.0.73 +version=1.0.74 revision=1 build_style=gnu-makefile make_install_args="sbindir=/usr/bin" @@ -10,13 +10,13 @@ hostmakedepends="libxslt docbook-xsl" depends="perl-Config-General" short_desc="Linux SCSI target framework" maintainer="Leah Neukirchen " -license="GPL-3" +license="GPL-2.0-only" homepage="http://stgt.sourceforge.net/" distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz" -checksum=2e3899a2235386a68df8cbf0eccb6a44e221a3e9e6bd9215c903c3fc9ed34bbf +checksum=bfc202790d5326d7a18bd3928b4bb204ffb0acf443a5ec5c16a1a0fbc53be99f post_extract() { - sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS)/g' usr/Makefile + sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile sed -i '/^LDFLAGS/d; /CC.*-o/s/$/ $(LDFLAGS)/' usr/Makefile sed -i '1i#include ' usr/tgtd.h usr/util.h sed -i '1i#include ' usr/libssc.c