summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-09-15 19:03:48 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-09-15 19:03:48 +0000
commit86379c92c3cac37ae8cfefa91b070ff16db8c65b (patch)
treeecbeadea3df589e1c7f7297b88d6194a45c0529c /media-sound/jmax
parentChanged init script to after instead of use for bug #59635. (Manifest recommit) (diff)
downloadgentoo-2-86379c92c3cac37ae8cfefa91b070ff16db8c65b.tar.gz
gentoo-2-86379c92c3cac37ae8cfefa91b070ff16db8c65b.tar.bz2
gentoo-2-86379c92c3cac37ae8cfefa91b070ff16db8c65b.zip
Fix java detection in executeable.
Diffstat (limited to 'media-sound/jmax')
-rw-r--r--media-sound/jmax/ChangeLog6
-rw-r--r--media-sound/jmax/files/jmax-4.1.0-fix-java-check.patch11
2 files changed, 16 insertions, 1 deletions
diff --git a/media-sound/jmax/ChangeLog b/media-sound/jmax/ChangeLog
index f4818a30bb77..f5f41c90ef57 100644
--- a/media-sound/jmax/ChangeLog
+++ b/media-sound/jmax/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/jmax
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jmax/ChangeLog,v 1.8 2004/07/22 15:07:01 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jmax/ChangeLog,v 1.9 2004/09/15 19:03:48 eradicator Exp $
+
+ 15 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ files/jmax-4.1.0-fix-java-check.patch:
+ Fix java detection in executeable.
22 Jul 2004; Thomas Matthijs <axxo@gentoo.org>
+files/jmax-4.1.0-fix-java-check.patch, jmax-4.1.0.ebuild:
diff --git a/media-sound/jmax/files/jmax-4.1.0-fix-java-check.patch b/media-sound/jmax/files/jmax-4.1.0-fix-java-check.patch
index 7d0d1f96d589..a63af7dcf704 100644
--- a/media-sound/jmax/files/jmax-4.1.0-fix-java-check.patch
+++ b/media-sound/jmax/files/jmax-4.1.0-fix-java-check.patch
@@ -9,3 +9,14 @@
java_major_version=`echo $java_version | sed 's/\([[0-9]][[0-9]]*\)\..*/\1/'`
java_minor_version=`echo $java_version | sed 's/[[0-9]][[0-9]]*\.\([[0-9]][[0-9]]*\)\(\.[[0-9]][[0-9]]*\)*/\1/' | sed 's/_.*//g'`
+--- bin/jmax.in.orig 2004-09-15 11:59:41.575144987 -0700
++++ bin/jmax.in 2004-09-15 12:02:31.142218132 -0700
+@@ -208,7 +208,7 @@
+ check_java_version ()
+ {
+ java_to_test="$1"
+- java_version=`$java_to_test -version 2>&1 | grep "version" | sed 's/java version//' | sed 's/\"//g' `
++ java_version=`$java_to_test -version 2>&1 | grep "version" | sed 's/java version//' | sed 's/\"//g' | sed 's/-.*//' `
+ if test -z $java_version; then
+ # domething bad with java version
+ return 1