summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-12 02:05:14 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-12 02:05:14 +0000
commita6c76df813f540ab63433addca69d7f777dcfd4c (patch)
tree8f8199e7014d89614b7e0c083fd987bac86af45e /sys-apps
parenttesting profile for amd64/uclibc (diff)
downloadgentoo-2-a6c76df813f540ab63433addca69d7f777dcfd4c.tar.gz
gentoo-2-a6c76df813f540ab63433addca69d7f777dcfd4c.tar.bz2
gentoo-2-a6c76df813f540ab63433addca69d7f777dcfd4c.zip
dont use __mempcpy
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/grep/grep-2.5.1-r9.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/grep/grep-2.5.1-r9.ebuild b/sys-apps/grep/grep-2.5.1-r9.ebuild
index 5983f6aa3aff..c1ea8f5597bd 100644
--- a/sys-apps/grep/grep-2.5.1-r9.ebuild
+++ b/sys-apps/grep/grep-2.5.1-r9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.5.1-r9.ebuild,v 1.5 2006/01/06 01:08:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.5.1-r9.ebuild,v 1.6 2006/01/12 02:05:14 vapier Exp $
inherit flag-o-matic eutils
@@ -37,6 +37,9 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-libintl.patch #92586
epatch "${FILESDIR}"/${P}-fix-devices-skip.patch #113640
+ # retarded
+ sed -i 's:__mempcpy:mempcpy:g' lib/*.c || die
+
# uclibc does not suffer from this glibc bug.
use elibc_uclibc || epatch "${FILESDIR}"/${PV}-tests.patch
}