Diff accel-ppp-1.12.0 with a accel-ppp-9999

/usr/portage/net-dialup/accel-ppp/accel-ppp-9999.ebuild 2019-10-09 16:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
inherit cmake-utils flag-o-matic linux-info linux-mod
6
EGIT_REPO_URI="https://git.code.sf.net/p/accel-ppp/code"
7
inherit cmake-utils flag-o-matic git-r3 linux-info linux-mod
7 8

  
8 9
DESCRIPTION="High performance PPTP, PPPoE and L2TP server"
9 10
HOMEPAGE="https://sourceforge.net/projects/accel-ppp/"
10
SRC_URI="https://download.sourceforge.net/accel-ppp/${P}.tar.bz2 -> ${P}.tar"
11
SRC_URI=""
11 12

  
12 13
LICENSE="GPL-2"
13 14
SLOT="0"
14
KEYWORDS="~amd64 ~x86"
15
KEYWORDS=""
15 16
IUSE="debug doc ipoe lua postgres radius shaper snmp valgrind"
16 17

  
17 18
RDEPEND="lua? ( dev-lang/lua:0 )
......
29 30

  
30 31
REQUIRED_USE="valgrind? ( debug )"
31 32

  
32
PATCHES=(
33
	"${FILESDIR}/${PN}-1.11.1-socklen.patch"
34
)
35

  
36 33
pkg_setup() {
37 34
	if use ipoe; then
38 35
		linux-mod_pkg_setup
......
51 48
		drivers/ipoe/CMakeLists.txt \
52 49
		drivers/vlan_mon/CMakeLists.txt || die
53 50

  
54
	# Fix version
55
	sed -i -e "s/1.11/${PV}/" drivers/ipoe/ipoe.c || die
56
	sed -i -e "s/1.11/${PV}/" drivers/vlan_mon/vlan_mon.c || die
57

  
58 51
	# Bug #549918
59 52
	append-ldflags -Wl,-z,lazy
60 53

  
Thank you!