summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2005-01-24 10:37:47 +0000
committerMichael Januszewski <spock@gentoo.org>2005-01-24 10:37:47 +0000
commit01283614188151a0e336425a5ef5a5778fcdbe50 (patch)
tree9b34bf318dfbba6ce03ab56425afa1e7b19d35b7 /sys-apps/memtest86+/memtest86+-1.50.ebuild
parentFixed DEPEND and added bugfix for PaX (rsbac bugfix-5) (Manifest recommit) (diff)
downloadgentoo-2-01283614188151a0e336425a5ef5a5778fcdbe50.tar.gz
gentoo-2-01283614188151a0e336425a5ef5a5778fcdbe50.tar.bz2
gentoo-2-01283614188151a0e336425a5ef5a5778fcdbe50.zip
Added a patch that fixes compilation on hardened systems. Closes bug #73383.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'sys-apps/memtest86+/memtest86+-1.50.ebuild')
-rw-r--r--sys-apps/memtest86+/memtest86+-1.50.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/memtest86+/memtest86+-1.50.ebuild b/sys-apps/memtest86+/memtest86+-1.50.ebuild
index 58607154df7d..f33b4adb77e7 100644
--- a/sys-apps/memtest86+/memtest86+-1.50.ebuild
+++ b/sys-apps/memtest86+/memtest86+-1.50.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/memtest86+-1.50.ebuild,v 1.1 2005/01/22 15:16:13 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/memtest86+-1.50.ebuild,v 1.2 2005/01/24 10:37:47 spock Exp $
-inherit mount-boot
+inherit mount-boot eutils
DESCRIPTION="Memory tester based on memtest86"
HOMEPAGE="http://www.memtest.org/"
@@ -17,6 +17,9 @@ src_unpack() {
unpack ${A}
cd ${S}
+ # send the DOS newlines where they belong - /dev/null ;>
+ sed -e 's/\x0d//g' -i Makefile
+ epatch "${FILESDIR}"/${P}-hardened.patch
if use serial ; then
sed -e 's/#define SERIAL_CONSOLE_DEFAULT 0/#define SERIAL_CONSOLE_DEFAULT 1/' -i config.h
fi