From 3844cbd3fe7dfcd207a203fc12b3a0d208bc3b7b Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 19 May 2015 20:03:07 +0200 Subject: [PATCH] tgt: use for __WORDSIZE. --- srcpkgs/tgt/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/tgt/template b/srcpkgs/tgt/template index ca84619781a..d2ea6ba9c2a 100644 --- a/srcpkgs/tgt/template +++ b/srcpkgs/tgt/template @@ -1,7 +1,7 @@ # Template file for 'tgt' pkgname=tgt version=1.0.58 -revision=3 +revision=4 build_style=gnu-makefile make_install_args="sbindir=/usr/bin" conf_files="/etc/tgt/targets.conf" @@ -17,7 +17,7 @@ checksum=3ae59c7374c68b3ef5abf472895d81dd1b036d0301b4111f272de154dbb082a9 post_extract() { sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS)/g' usr/Makefile - sed -i '1i#include ' usr/tgtd.h usr/util.h + sed -i '1i#include ' usr/tgtd.h usr/util.h sed -i '1i#include ' usr/libssc.c sed -i 's/__always_inline/inline/g' usr/util.h