summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-14 09:00:57 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-14 09:00:57 +0000
commit323ec0e7d1b8b3e4427b8744279f4cea34a8fc6c (patch)
tree08c5e0624f9e091ce00d57b0f7e017379708e777 /sys-power/acpid/acpid-1.0.6-r1.ebuild
parentStable on ppc wrt bug 222167 (diff)
downloadgentoo-2-323ec0e7d1b8b3e4427b8744279f4cea34a8fc6c.tar.gz
gentoo-2-323ec0e7d1b8b3e4427b8744279f4cea34a8fc6c.tar.bz2
gentoo-2-323ec0e7d1b8b3e4427b8744279f4cea34a8fc6c.zip
Enable GNU sources for glibc 2.8 (bug #225417).
(Portage version: 2.1.5.5)
Diffstat (limited to 'sys-power/acpid/acpid-1.0.6-r1.ebuild')
-rw-r--r--sys-power/acpid/acpid-1.0.6-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-power/acpid/acpid-1.0.6-r1.ebuild b/sys-power/acpid/acpid-1.0.6-r1.ebuild
index 94bcdc872f83..4cc211b1b344 100644
--- a/sys-power/acpid/acpid-1.0.6-r1.ebuild
+++ b/sys-power/acpid/acpid-1.0.6-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-1.0.6-r1.ebuild,v 1.4 2007/11/14 22:50:56 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-1.0.6-r1.ebuild,v 1.5 2008/06/14 09:00:57 flameeyes Exp $
-inherit eutils toolchain-funcs
+inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
HOMEPAGE="http://acpid.sourceforge.net"
@@ -25,6 +25,8 @@ src_unpack() {
}
src_compile() {
+ append-flags -D_GNU_SOURCE
+
# DO NOT COMPILE WITH OPTIMISATIONS (bug #22365)
# That is a note to the devs. IF you are a user, go ahead and optimise
# if you want, but we won't support bugs associated with that.