summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2000-10-27 22:05:06 +0000
committerDaniel Robbins <drobbins@gentoo.org>2000-10-27 22:05:06 +0000
commit14301df753fbd20018747db8fca7c75161fcfe80 (patch)
tree73e3538c34cc0d1df9c1b673080fabb132c5fd1f /sys-apps/hdparm
parentremoving einfo from certain places (diff)
downloadgentoo-2-14301df753fbd20018747db8fca7c75161fcfe80.tar.gz
gentoo-2-14301df753fbd20018747db8fca7c75161fcfe80.tar.bz2
gentoo-2-14301df753fbd20018747db8fca7c75161fcfe80.zip
fix
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/hdparm-3.9-r2.ebuild (renamed from sys-apps/hdparm/hdparm-3.9-r1.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-apps/hdparm/hdparm-3.9-r1.ebuild b/sys-apps/hdparm/hdparm-3.9-r2.ebuild
index 4e59b3ad116e..4336517e61f8 100644
--- a/sys-apps/hdparm/hdparm-3.9-r1.ebuild
+++ b/sys-apps/hdparm/hdparm-3.9-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-3.9-r1.ebuild,v 1.4 2000/09/15 20:09:19 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-3.9-r2.ebuild,v 1.1 2000/10/27 22:05:06 drobbins Exp $
P=hdparm-3.9
A=${P}.tar.gz
@@ -19,6 +19,8 @@ src_unpack() {
mv Makefile Makefile.orig
sed -e "s/-O2/${CFLAGS}/" \
Makefile.orig > Makefile
+ mv hdparm.c hdparm.c.orig
+ sed -e "/^#include <string.h>/d" hdparm.c.orig > hdparm.c
}
src_install() {