Fix as-needed thanks to Peter Avramucz <muczy@easymail.hu> in bug 174557
authorStefan Schweizer <genstef@gentoo.org>
Tue, 17 Apr 2007 22:12:06 +0000 (22:12 +0000)
committerStefan Schweizer <genstef@gentoo.org>
Tue, 17 Apr 2007 22:12:06 +0000 (22:12 +0000)
Package-Manager: portage-2.1.2.4

sys-power/powersave/ChangeLog
sys-power/powersave/Manifest
sys-power/powersave/files/powersave-as-needed.patch [new file with mode: 0644]
sys-power/powersave/powersave-0.15.11.ebuild

index c632d50685eb7526daed1f85b2b184005de1a6dc..43b785f950972c87505c757ed343e4f81518a415 100644 (file)
@@ -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)
 
index c7b8a7e5293460ff79cb9ebea40900bce0e6e741..13aab35393e83bd3946cfc15ed7bb768ecaa7282 100644 (file)
@@ -2,6 +2,10 @@ AUX plugdev_access.patch 1021 RMD160 4f2faf85dea8130f4b602f7654b17d0c186e236b SH
 MD5 fb7d7f283d4c99b6e3d7e8ef978fbe54 files/plugdev_access.patch 1021
 RMD160 4f2faf85dea8130f4b602f7654b17d0c186e236b files/plugdev_access.patch 1021
 SHA256 c0b0dc9cda00d9c7111f0318337626915d83c5b0b4bf814fe8b19feec257d631 files/plugdev_access.patch 1021
+AUX powersave-as-needed.patch 972 RMD160 c588e4f41a81c1f4dec302f136f3765e38cf568a SHA1 93e67f6ac6bf515c8e542e53c3f0c20259bea2a7 SHA256 a9afd3361b976c6d7659a9b597937e00d6455a0b95b2756c37cfb9eceb895214
+MD5 d6b4d0029e97ce4996cf605d877a706d files/powersave-as-needed.patch 972
+RMD160 c588e4f41a81c1f4dec302f136f3765e38cf568a files/powersave-as-needed.patch 972
+SHA256 a9afd3361b976c6d7659a9b597937e00d6455a0b95b2756c37cfb9eceb895214 files/powersave-as-needed.patch 972
 AUX powersaved.rc 614 RMD160 e10ddf8c4a3cc92e027624181b4eb9096ed34fb3 SHA1 a2918842f55a5bfc77c054921274754aac8bed61 SHA256 ccc2e587ffef7bee33d70bd198f5d75b49d6002ab7decf966a59af921f5292e5
 MD5 6f5cb69e10662f6ac0ee1938f1a06aea files/powersaved.rc 614
 RMD160 e10ddf8c4a3cc92e027624181b4eb9096ed34fb3 files/powersaved.rc 614
@@ -12,14 +16,14 @@ EBUILD powersave-0.14.0.ebuild 1636 RMD160 4be72aaafa00ad00a07c2475d0fd8e9aa9465
 MD5 f9d0e1de0abeb70f300979ee21ad94f6 powersave-0.14.0.ebuild 1636
 RMD160 4be72aaafa00ad00a07c2475d0fd8e9aa9465396 powersave-0.14.0.ebuild 1636
 SHA256 28aac5139ecb83d3b80d7620de7f35cc69338431a535ed2e63f6505771fb7535 powersave-0.14.0.ebuild 1636
-EBUILD powersave-0.15.11.ebuild 1657 RMD160 351cf5eedad511d543f7e5d3894da56da5de9a88 SHA1 ef92502d8488d492be6cbad6c7fd5c2f5a5464d7 SHA256 2290d90ac19b67a999aff6f8291eeeb9e44caa053415e22751c4e27ee6d2cb05
-MD5 e818924292a8b11c3316b9b9fbae9d03 powersave-0.15.11.ebuild 1657
-RMD160 351cf5eedad511d543f7e5d3894da56da5de9a88 powersave-0.15.11.ebuild 1657
-SHA256 2290d90ac19b67a999aff6f8291eeeb9e44caa053415e22751c4e27ee6d2cb05 powersave-0.15.11.ebuild 1657
-MISC ChangeLog 3369 RMD160 526a55bf7a306444b2972bf7d60b5a16bbfa5490 SHA1 24da451cec5dd04ffd9dcbf78fb22039a36d6bf7 SHA256 2aba1b3dc9048c71c324a3e4fd0aadec84c4a264c3f4ca7c4fb2580771a46e33
-MD5 c34cd0b609abe2ef0b2bc805a2eeaf8f ChangeLog 3369
-RMD160 526a55bf7a306444b2972bf7d60b5a16bbfa5490 ChangeLog 3369
-SHA256 2aba1b3dc9048c71c324a3e4fd0aadec84c4a264c3f4ca7c4fb2580771a46e33 ChangeLog 3369
+EBUILD powersave-0.15.11.ebuild 1703 RMD160 e9397f6874e9b2f3bab78e97607e131ef8249a36 SHA1 68288bdf6d8f52d894ea2bd9f0da151fb353d3f0 SHA256 b6b38fb0905a20625371ea5db275aba24346828d9edc6efd808e70fcf46af37d
+MD5 e652663c87658a6736b4ad1c008f9062 powersave-0.15.11.ebuild 1703
+RMD160 e9397f6874e9b2f3bab78e97607e131ef8249a36 powersave-0.15.11.ebuild 1703
+SHA256 b6b38fb0905a20625371ea5db275aba24346828d9edc6efd808e70fcf46af37d powersave-0.15.11.ebuild 1703
+MISC ChangeLog 3560 RMD160 3a08c66a6caf0e8447952d0cd882ee11dbed99de SHA1 8ef65e1bed56254fa12e921e215780c2b09947e5 SHA256 d663afc5bff2cd6bc4f8012a7941b516cbddcc506a1a5f677d2431dce060526c
+MD5 43f93a09619355cb893290eee926ac51 ChangeLog 3560
+RMD160 3a08c66a6caf0e8447952d0cd882ee11dbed99de ChangeLog 3560
+SHA256 d663afc5bff2cd6bc4f8012a7941b516cbddcc506a1a5f677d2431dce060526c ChangeLog 3560
 MISC metadata.xml 264 RMD160 f0a7ffecb77c58db347daaf1c348b12ab0526429 SHA1 943b8b424ee3872f0f4ac2d99b5e620ae4c82ca5 SHA256 b97f69b9acc177e7c613f542e17461256be508ac97086f4538f31e65df3647bf
 MD5 f17c483cfcc1efe580afd0b737d3f2c3 metadata.xml 264
 RMD160 f0a7ffecb77c58db347daaf1c348b12ab0526429 metadata.xml 264
diff --git a/sys-power/powersave/files/powersave-as-needed.patch b/sys-power/powersave/files/powersave-as-needed.patch
new file mode 100644 (file)
index 0000000..34038f5
--- /dev/null
@@ -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
index 30a035eff4ba2c72852df95b5db303b19c2d86c7..e3c986c7a33493ebe8b6ee53fadc4b3cf7837a8c 100644 (file)
@@ -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
 }