diff options
author | Vlastimil Babka <caster@gentoo.org> | 2010-05-05 14:37:29 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2010-05-05 14:37:29 +0000 |
commit | a7daef7ccb4398a071990c31db635e5073b06218 (patch) | |
tree | 1cad8336608d4ce57c2dbc754cf2bfe4af03ae3e /media-sound/protux | |
parent | [profiles] Drop mask for KDE SC 4.4.3 since its already released (diff) | |
download | gentoo-2-a7daef7ccb4398a071990c31db635e5073b06218.tar.gz gentoo-2-a7daef7ccb4398a071990c31db635e5073b06218.tar.bz2 gentoo-2-a7daef7ccb4398a071990c31db635e5073b06218.zip |
Fix compilation with non-sun JDK's, bug #318589.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/protux')
-rw-r--r-- | media-sound/protux/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/protux/protux-0.50.100.ebuild | 11 |
2 files changed, 14 insertions, 4 deletions
diff --git a/media-sound/protux/ChangeLog b/media-sound/protux/ChangeLog index 9d2c1bfe51fa..aba765df1fdf 100644 --- a/media-sound/protux/ChangeLog +++ b/media-sound/protux/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/protux -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/protux/ChangeLog,v 1.28 2008/01/26 11:27:04 opfer Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/protux/ChangeLog,v 1.29 2010/05/05 14:37:29 caster Exp $ + + 05 May 2010; Vlastimil Babka <caster@gentoo.org> protux-0.50.100.ebuild: + Fix compilation with non-sun JDK's, bug #318589. 26 Jan 2008; Christian Faulhammer <opfer@gentoo.org> protux-0.50.100.ebuild: diff --git a/media-sound/protux/protux-0.50.100.ebuild b/media-sound/protux/protux-0.50.100.ebuild index a92b280d1730..67d3b4e25b9a 100644 --- a/media-sound/protux/protux-0.50.100.ebuild +++ b/media-sound/protux/protux-0.50.100.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/protux/protux-0.50.100.ebuild,v 1.3 2008/01/26 11:27:04 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/protux/protux-0.50.100.ebuild,v 1.4 2010/05/05 14:37:29 caster Exp $ inherit java-pkg-2 @@ -18,6 +18,13 @@ DEPEND=">=virtual/jdk-1.5 S="${WORKDIR}/${PN}" +src_unpack() { + unpack ${A} + + # bug #318589 + sed -i '/com.sun.jmx.snmp.Enumerated/d' "${S}/src/org/protux/core/GlobalProperties.java" || die +} + src_compile() { cd src ejavac -encoding latin1 $(find . -name "*.java") |