summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-16 00:48:18 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-16 00:48:18 +0000
commit6e7a2633fd7b09ccb63326fc0c2bd3565f3495ba (patch)
tree3b6fc1e3d6a1fcc75c46590fa5d81631cdb83117 /games-strategy/triplea
parentFix last commit (diff)
downloadgentoo-2-6e7a2633fd7b09ccb63326fc0c2bd3565f3495ba.tar.gz
gentoo-2-6e7a2633fd7b09ccb63326fc0c2bd3565f3495ba.tar.bz2
gentoo-2-6e7a2633fd7b09ccb63326fc0c2bd3565f3495ba.zip
Fix from Arttu Valo for jdk-1.6, bug #164553
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-strategy/triplea')
-rw-r--r--games-strategy/triplea/ChangeLog5
-rw-r--r--games-strategy/triplea/triplea-0.9.0.2.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/games-strategy/triplea/ChangeLog b/games-strategy/triplea/ChangeLog
index 68d89b2084c9..28a8fd2a1ced 100644
--- a/games-strategy/triplea/ChangeLog
+++ b/games-strategy/triplea/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/triplea
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.28 2007/01/30 00:57:05 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.29 2007/02/16 00:48:18 nyhm Exp $
+
+ 16 Feb 2007; Tristan Heaven <nyhm@gentoo.org> triplea-0.9.0.2.ebuild:
+ Fix from Arttu Valo for jdk-1.6, bug #164553
30 Jan 2007; Vlastimil Babka <caster@gentoo.org> triplea-0.9.0.2.ebuild:
Put java-ant-2 after java-pkg-2 in inherit.
diff --git a/games-strategy/triplea/triplea-0.9.0.2.ebuild b/games-strategy/triplea/triplea-0.9.0.2.ebuild
index cdc6e5722ffa..bf1635ab98b5 100644
--- a/games-strategy/triplea/triplea-0.9.0.2.ebuild
+++ b/games-strategy/triplea/triplea-0.9.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.9.0.2.ebuild,v 1.2 2007/01/30 00:57:05 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.9.0.2.ebuild,v 1.3 2007/02/16 00:48:18 nyhm Exp $
inherit eutils java-pkg-2 java-ant-2 versionator games
@@ -32,9 +32,14 @@ src_unpack() {
cd "${S}"
sed -i \
+ -e 's/getWindows/getMyWindows/' \
+ src/games/strategy/debug/Console.java \
+ || die "sed Console.java failed"
+
+ sed -i \
-e 's:/triplea/:/.triplea/:' \
src/games/strategy/engine/framework/ui/SaveGameFileChooser.java \
- || die "sed failed"
+ || die "sed SaveGameFileChooser.java failed"
rm -f lib/{junit.jar,derby_10_1_2.jar}
java-pkg_jar-from jgoodies-looks-2.0 looks.jar lib/looks-2.0.4.jar