summaryrefslogtreecommitdiff
path: root/java/jode/files
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-06-24 20:34:03 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-06-24 20:34:03 +0000
commit61c93d2ba20ece493bc383df526c212ed4b622d7 (patch)
tree190f3e82f5e710d7c9cb84f205d9ae0e3c5e082f /java/jode/files
parentUpdate FreeBSD Update to version 1.3 (diff)
DE is a java package containing a decompiler and an optimizer for
java. Can be used from command line or through the Swing-based GUI.
Notes
Notes: svn path=/head/; revision=83547
Diffstat (limited to 'java/jode/files')
-rw-r--r--java/jode/files/patch-bin-jode18
-rw-r--r--java/jode/files/patch-configure16
2 files changed, 34 insertions, 0 deletions
diff --git a/java/jode/files/patch-bin-jode b/java/jode/files/patch-bin-jode
new file mode 100644
index 000000000000..c77c812475d4
--- /dev/null
+++ b/java/jode/files/patch-bin-jode
@@ -0,0 +1,18 @@
+--- bin/jode.in Mon Oct 2 09:08:36 2000
++++ bin/jode.in Tue Jun 24 16:13:17 2003
+@@ -1,4 +1,3 @@
+ #!@SHELL@
+-prefix=@prefix@
+
+ case $1 in
+@@ -9,6 +8,7 @@
+ esac
+
++# This will only set CP if CLASSPATH is non-empty:
++CP=`echo $CLASSPATH | sed -e 's/:/,/g' -e 's/..*/--classpath &/'`
+
+-CP=`echo $CLASSPATH | sed s/:/,/`
+-CLASSPATH=@datadir@/jode-@VERSION@.jar:@CLASSPATH@ \
+-@JAVA@ $CLAZZ --classpath $CP $*
++exec javavm -cp @datadir@/jode-@VERSION@.jar:@datadir@/getopt.jar \
++ $CLAZZ $CP "$@"
diff --git a/java/jode/files/patch-configure b/java/jode/files/patch-configure
new file mode 100644
index 000000000000..eb4283bddc17
--- /dev/null
+++ b/java/jode/files/patch-configure
@@ -0,0 +1,16 @@
+--- configure Sun Aug 12 16:34:31 2001
++++ configure Tue Jun 24 13:33:58 2003
+@@ -1125,5 +1125,5 @@
+ withval="$with_java"
+
+- if test ${withval} != "" || test ${withval} != "yes" || test ${withval} != "no"; then
++ if test -n "${withval}" -a "${withval}" != "yes" -a "${withval}" != "no"; then
+ # set javac to user input value
+
+@@ -1730,5 +1730,5 @@
+ { echo "configure: error: You must only give one option --with-javac or --with-jikes" 1>&2; exit 1; }
+ fi
+- if test ${withval} != "" || test ${withval} != "yes" || test ${withval} != "no"; then
++ if test -n "${withval}" -a "${withval}" != "yes" -a "${withval}" != "no"; then
+ for ac_file in ${withval}
+ do