Diff wcd-5.2.7 with a wcd-5.3.4

/usr/portage/app-misc/wcd/wcd-5.3.4.ebuild 2017-02-28 22:50:00.000000000 +0300
1
# Copyright 1999-2015 Gentoo Foundation
1
# Copyright 1999-2017 Gentoo Foundation
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
4
EAPI=6
5 5

  
6 6
inherit eutils toolchain-funcs
7 7

  
......
11 11

  
12 12
SLOT="0"
13 13
LICENSE="GPL-2"
14
KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
14
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
15 15
IUSE="nls unicode"
16 16

  
17 17
CDEPEND="
18
	sys-libs/ncurses[unicode?]
18
	sys-libs/ncurses:0=[unicode?]
19 19
	unicode? ( dev-libs/libunistring )"
20 20
DEPEND="${CDEPEND}
21 21
	app-text/ghostscript-gpl"
......
23 23

  
24 24
S="${WORKDIR}"/${P}/src
25 25

  
26
PATCHES=(
27
	"${FILESDIR}"/${PN}-5.3.4-gentoo.patch
28
)
29

  
26 30
src_prepare() {
27
	epatch \
28
		"${FILESDIR}"/${PN}-5.2.5-gentoo.patch
31
	# Required for stupid eapply function
32
	pushd .. &>/dev/null || die
33
	default
34
	popd &>/dev/null || die
29 35
	tc-export CC
30 36
}
31 37

  
......
38 44
}
39 45

  
40 46
src_install() {
41
	local DOCS="../README.txt"
47
	local DOCS=( ../README.txt )
42 48
	default
43 49
	emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
44 50
}
Thank you!