diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-04-17 22:12:06 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-04-17 22:12:06 +0000 |
commit | 9d069cbddd5afd0b14394b226499f993d9ec1c15 (patch) | |
tree | 0bc602ffd45ab016cfb91334f06d3174254d7b55 /sys-power | |
parent | Stable on sparc wrt security #172746 (diff) | |
download | gentoo-2-9d069cbddd5afd0b14394b226499f993d9ec1c15.tar.gz gentoo-2-9d069cbddd5afd0b14394b226499f993d9ec1c15.tar.bz2 gentoo-2-9d069cbddd5afd0b14394b226499f993d9ec1c15.zip |
Fix as-needed thanks to Peter Avramucz <muczy@easymail.hu> in bug 174557
(Portage version: 2.1.2.4)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/powersave/ChangeLog | 6 | ||||
-rw-r--r-- | sys-power/powersave/files/powersave-as-needed.patch | 24 | ||||
-rw-r--r-- | sys-power/powersave/powersave-0.15.11.ebuild | 3 |
3 files changed, 31 insertions, 2 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog index c632d50685eb..43b785f95097 100644 --- a/sys-power/powersave/ChangeLog +++ b/sys-power/powersave/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/powersave # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.17 2007/04/08 12:36:14 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.18 2007/04/17 22:12:06 genstef Exp $ + + 17 Apr 2007; Stefan Schweizer <genstef@gentoo.org> + +files/powersave-as-needed.patch, powersave-0.15.11.ebuild: + Fix as-needed thanks to Peter Avramucz <muczy@easymail.hu> in bug 174557 *powersave-0.15.11 (08 Apr 2007) diff --git a/sys-power/powersave/files/powersave-as-needed.patch b/sys-power/powersave/files/powersave-as-needed.patch new file mode 100644 index 000000000000..34038f50aa26 --- /dev/null +++ b/sys-power/powersave/files/powersave-as-needed.patch @@ -0,0 +1,24 @@ +diff -u powersave-0.15.11/libpower/Makefile.am.orig powersave-0.15.11/libpower/Makefile.am +--- powersave-0.15.11/libpower/Makefile.am.orig 2007-04-17 23:59:53.000000000 +0200 ++++ powersave-0.15.11/libpower/Makefile.am 2007-04-17 23:59:36.000000000 +0200 +@@ -17,7 +17,7 @@ + powerlib_local.h \ + debug.c + libpowersave_la_LDFLAGS = -version-info 11:0:0 +-libpowersave_la_LIBADD = -lm ++libpowersave_la_LIBADD = -lm $(LIBLAZY_LIBS) + + + pkgconfigdir = $(libdir)/pkgconfig +diff -u powersave-0.15.11/libpower/Makefile.in.orig powersave-0.15.11/libpower/Makefile.in +--- powersave-0.15.11/libpower/Makefile.in.orig 2007-04-18 00:00:04.000000000 +0200 ++++ powersave-0.15.11/libpower/Makefile.in 2007-04-18 00:01:42.000000000 +0200 +@@ -216,7 +216,7 @@ + debug.c + + libpowersave_la_LDFLAGS = -version-info 11:0:0 +-libpowersave_la_LIBADD = -lm ++libpowersave_la_LIBADD = -lm $(LIBLAZY_LIBS) + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = powersave.pc + all: all-am diff --git a/sys-power/powersave/powersave-0.15.11.ebuild b/sys-power/powersave/powersave-0.15.11.ebuild index 30a035eff4ba..e3c986c7a334 100644 --- a/sys-power/powersave/powersave-0.15.11.ebuild +++ b/sys-power/powersave/powersave-0.15.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.15.11.ebuild,v 1.2 2007/04/08 12:37:19 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.15.11.ebuild,v 1.3 2007/04/17 22:12:06 genstef Exp $ inherit eutils libtool kde-functions autotools @@ -35,6 +35,7 @@ pkg_setup() { src_unpack() { unpack ${A} cd ${S} + epatch ${FILESDIR}/powersave-as-needed.patch # Use pam_console or group plugdev to control access to powersave use pam_console || epatch ${FILESDIR}/plugdev_access.patch } |