Diff hunt-1.5-r1 with a hunt-1.5-r3

/usr/portage/net-analyzer/hunt/hunt-1.5-r3.ebuild 2017-02-28 22:50:00.000000000 +0300
3 3

  
4 4
EAPI=5
5 5

  
6
inherit toolchain-funcs
6
inherit eutils flag-o-matic toolchain-funcs
7 7

  
8 8
DESCRIPTION="tool for checking well known weaknesses in the TCP/IP protocol"
9 9
HOMEPAGE="http://lin.fsid.cvut.cz/~kra/index.html"
......
11 11

  
12 12
LICENSE="GPL-2"
13 13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc x86"
14
KEYWORDS="~amd64 ~ppc ~x86"
15 15

  
16 16
src_prepare() {
17
	sed -i Makefile \
18
		-e 's:^CFLAGS=:CFLAGS += -I. :g' \
19
		-e '/^LDFLAGS=/d' \
20
		-e 's:${LDFLAGS}:$(LDFLAGS):g' \
21
		-e 's:-O2 -g::' \
22
		|| die
17
	epatch \
18
		"${FILESDIR}"/${P}-exit.patch \
19
		"${FILESDIR}"/${P}-flags.patch \
20
		"${FILESDIR}"/${P}-log2.patch
23 21
}
24 22

  
25 23
src_compile() {
24
	append-cflags -std=gnu89
26 25
	emake CC=$(tc-getCC)
27 26
}
28 27

  
Thank you!