diff options
author | Rick Farina <zerochaos@gentoo.org> | 2013-10-03 04:44:26 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2013-10-03 04:44:26 +0000 |
commit | 5eafc7759d2603dedd9b047343e82631f88f3741 (patch) | |
tree | 3c7fecb4486ee9782860b39e8379577d1b48b2cf /sys-power | |
parent | Remove dev-games/neo* from package.mask, removed from tree. (diff) | |
download | gentoo-2-5eafc7759d2603dedd9b047343e82631f88f3741.tar.gz gentoo-2-5eafc7759d2603dedd9b047343e82631f88f3741.tar.bz2 gentoo-2-5eafc7759d2603dedd9b047343e82631f88f3741.zip |
fix for bug #486124 thanks to Jeroen
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/powertop/ChangeLog | 6 | ||||
-rw-r--r-- | sys-power/powertop/files/powertop-2.4-tinfo.patch | 11 | ||||
-rw-r--r-- | sys-power/powertop/powertop-2.4.ebuild | 3 | ||||
-rw-r--r-- | sys-power/powertop/powertop-9999.ebuild | 3 |
4 files changed, 20 insertions, 3 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog index 81a53ab31522..301121ca1eae 100644 --- a/sys-power/powertop/ChangeLog +++ b/sys-power/powertop/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/powertop # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.92 2013/09/06 15:54:15 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.93 2013/10/03 04:44:26 zerochaos Exp $ + + 03 Oct 2013; Rick Farina <zerochaos@gentoo.org> + +files/powertop-2.4-tinfo.patch, powertop-2.4.ebuild, powertop-9999.ebuild: + fix for bug #486124 thanks to Jeroen 06 Sep 2013; Markus Meier <maekke@gentoo.org> powertop-2.4.ebuild: arm stable, bug #445214 diff --git a/sys-power/powertop/files/powertop-2.4-tinfo.patch b/sys-power/powertop/files/powertop-2.4-tinfo.patch new file mode 100644 index 000000000000..b965d8e06a59 --- /dev/null +++ b/sys-power/powertop/files/powertop-2.4-tinfo.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -46,7 +46,7 @@ + AC_FUNC_STRTOD + AC_CHECK_FUNCS([fdatasync getpagesize gettimeofday memmove memset mkdir munmap pow realpath regcomp select setlocale socket sqrt strcasecmp strchr strdup strerror strncasecmp strstr strtoul strtoull]) + +-AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], AC_MSG_ERROR([ncurses is required but was not found]), []) ++PKG_CHECK_MODULES(ncurses, ncurses, [LIBS="$LIBS $ncurses_LIBS"], AC_MSG_ERROR([ncurses is required but was not found])) + + has_libpci=0 + PKG_CHECK_MODULES([PCIUTILS], [libpci],[has_libpci=1],[ diff --git a/sys-power/powertop/powertop-2.4.ebuild b/sys-power/powertop/powertop-2.4.ebuild index c95504709401..0cb035be9dc0 100644 --- a/sys-power/powertop/powertop-2.4.ebuild +++ b/sys-power/powertop/powertop-2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.4.ebuild,v 1.7 2013/09/06 15:54:15 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.4.ebuild,v 1.8 2013/10/03 04:44:26 zerochaos Exp $ EAPI="5" @@ -88,6 +88,7 @@ pkg_setup() { } src_prepare() { + epatch "${FILESDIR}"/powertop-2.4-tinfo.patch if [[ ${PV} == "9999" ]] ; then eautoreconf fi diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild index 972b7f61a9df..d7f50e7acf33 100644 --- a/sys-power/powertop/powertop-9999.ebuild +++ b/sys-power/powertop/powertop-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.24 2013/09/03 18:22:31 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.25 2013/10/03 04:44:26 zerochaos Exp $ EAPI="5" @@ -88,6 +88,7 @@ pkg_setup() { } src_prepare() { + epatch "${FILESDIR}"/powertop-2.4-tinfo.patch if [[ ${PV} == "9999" ]] ; then eautoreconf fi |