summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-05-29 11:47:07 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-05-29 11:47:07 +0000
commite18ac7e3255a32887819bac2bc6164f56e1288fa (patch)
tree77f004fd94f51ddcf6d7b369a245fdd9ee33ac71 /games-strategy/scorched3d/scorched3d-41.3-r1.ebuild
parentvirtual/motif is not a proper virtual since LessTif has a different API. (diff)
downloadgentoo-2-e18ac7e3255a32887819bac2bc6164f56e1288fa.tar.gz
gentoo-2-e18ac7e3255a32887819bac2bc6164f56e1288fa.tar.bz2
gentoo-2-e18ac7e3255a32887819bac2bc6164f56e1288fa.zip
Fix compilation with wxGTK USE=odbc by Arttu Valo, bug #213872
(Portage version: 2.2_pre7/cvs/Linux 2.6.25.4 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz)
Diffstat (limited to 'games-strategy/scorched3d/scorched3d-41.3-r1.ebuild')
-rw-r--r--games-strategy/scorched3d/scorched3d-41.3-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild b/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild
index 92a18a52acd8..1bd114dfac31 100644
--- a/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild
+++ b/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild,v 1.3 2008/05/27 17:35:08 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-41.3-r1.ebuild,v 1.4 2008/05/29 11:47:07 nyhm Exp $
inherit eutils wxwidgets games
@@ -43,6 +43,10 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc43.patch
+ sed -i \
+ -e '/HWND/d' \
+ src/porting/windows.h \
+ || die "sed failed" #213872
}
src_compile() {