Diff powertop-2.11 with a powertop-9999

/usr/portage/sys-power/powertop/powertop-9999.ebuild 2020-07-13 01:09:00.000000000 +0300
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
30 30

  
31 31
BDEPEND="
32 32
	virtual/pkgconfig
33
	sys-devel/gettext
33
	sys-devel/autoconf-archive
34
	>=sys-devel/gettext-0.20.2
34 35
"
35 36
RDEPEND="
36 37
	${DEPEND}
......
38 39
	virtual/libintl
39 40
"
40 41

  
41
PATCHES=(
42
	"${FILESDIR}"/${PN}-2.8-ncurses_tinfo.patch
43
)
44

  
45 42
pkg_setup() {
46 43
	CONFIG_CHECK="
47 44
		~X86_MSR
......
104 101
	default
105 102

  
106 103
	# Bug 599114
107
	sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die
108

  
109
	echo "\"${PV}\"" > version-short
110
	echo "${PV}" > version-long
104
	sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])|' configure.ac || die
111 105

  
112 106
	eautoreconf
113 107
}
Thank you!