summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-12-24 19:07:08 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-12-24 19:07:08 +0000
commit212cc181959faf2319f78ba113f4e06016c93c0c (patch)
tree7fa7d33e0cb48f69d639731321bc1c981eb5380e /x11-wm/treewm/treewm-0.4.5.ebuild
parentadd portuguese (pt) longdescription (diff)
downloadgentoo-2-212cc181959faf2319f78ba113f4e06016c93c0c.tar.gz
gentoo-2-212cc181959faf2319f78ba113f4e06016c93c0c.tar.bz2
gentoo-2-212cc181959faf2319f78ba113f4e06016c93c0c.zip
Add compilation fix from bug 86453
(Portage version: 2.1_pre1)
Diffstat (limited to 'x11-wm/treewm/treewm-0.4.5.ebuild')
-rw-r--r--x11-wm/treewm/treewm-0.4.5.ebuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/x11-wm/treewm/treewm-0.4.5.ebuild b/x11-wm/treewm/treewm-0.4.5.ebuild
index 7a856affd112..2d0c97938fe2 100644
--- a/x11-wm/treewm/treewm-0.4.5.ebuild
+++ b/x11-wm/treewm/treewm-0.4.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/treewm/treewm-0.4.5.ebuild,v 1.8 2005/07/13 15:20:13 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/treewm/treewm-0.4.5.ebuild,v 1.9 2005/12/24 19:07:08 vanquirius Exp $
DESCRIPTION="WindowManager that arranges the windows in a tree (not in a list)"
SRC_URI="mirror://sourceforge/treewm/${PN}-${PV}.tar.bz2"
@@ -11,10 +11,17 @@ KEYWORDS="x86 sparc ppc"
IUSE=""
DEPEND="virtual/libc
- virtual/x11"
+ virtual/x11
+ >=sys-apps/sed-4"
RDEPEND="virtual/libc
- virtual/x11"
+ virtual/x11"
+
+src_unpack() {
+ unpack ${A}
+ # bug 86453
+ sed -i -e "s:malloc:Malloc:g" "${S}"/xprop/dsimple.c
+}
src_compile() {
emake PREFIX="/usr" ROOT="${D}" || die