summaryrefslogtreecommitdiff
path: root/bootstrap/jamvm-1.5.1/jamvm-1.5.1-classes-location.patch
diff options
context:
space:
mode:
authorHorst Burkhardt <horst@adelielinux.org>2024-09-07 17:59:25 +1000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-05 19:54:33 -0600
commit1a7157ee36d36873d16452e2c630a8f09cfc9951 (patch)
treec365c3cf75ae4bea9bfcad34e7f49cfcc7f5d5ef /bootstrap/jamvm-1.5.1/jamvm-1.5.1-classes-location.patch
parente705c24daa06659092a8ee28458751a262bbfed3 (diff)
downloadpackages-1a7157ee36d36873d16452e2c630a8f09cfc9951.tar.gz
packages-1a7157ee36d36873d16452e2c630a8f09cfc9951.tar.bz2
packages-1a7157ee36d36873d16452e2c630a8f09cfc9951.tar.xz
packages-1a7157ee36d36873d16452e2c630a8f09cfc9951.zip
bootstrap/jamvm-1.5.1: new package
Signed-off-by: Horst Burkhardt <horst@adelielinux.org>
Diffstat (limited to 'bootstrap/jamvm-1.5.1/jamvm-1.5.1-classes-location.patch')
-rw-r--r--bootstrap/jamvm-1.5.1/jamvm-1.5.1-classes-location.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/bootstrap/jamvm-1.5.1/jamvm-1.5.1-classes-location.patch b/bootstrap/jamvm-1.5.1/jamvm-1.5.1-classes-location.patch
new file mode 100644
index 000000000..57d046a81
--- /dev/null
+++ b/bootstrap/jamvm-1.5.1/jamvm-1.5.1-classes-location.patch
@@ -0,0 +1,27 @@
+diff -ur jamvm-1.5.0.old/configure.ac jamvm-1.5.0/configure.ac
+--- jamvm-1.5.0.old/configure.ac 2008-03-03 17:31:46.000000000 +0200
++++ jamvm-1.5.0/configure.ac 2008-03-03 17:36:14.000000000 +0200
+@@ -208,6 +208,7 @@
+ install_dir=$prefix
+ fi
+ AC_DEFINE_UNQUOTED(INSTALL_DIR, "$install_dir", [Installation directory (prefix)])
++AC_DEFINE_UNQUOTED(PKGDATADIR, "$datadir/$PACKAGE", [Package data directory (pkgdatadir)])
+
+ AC_ARG_ENABLE(zip,
+ [AS_HELP_STRING(--disable-zip,turn-off zip support in the bootstrap loader)],,)
+diff -ur jamvm-1.5.0.old/src/class.h jamvm-1.5.0/src/class.h
+--- jamvm-1.5.0.old/src/class.h 2008-03-03 17:31:46.000000000 +0200
++++ jamvm-1.5.0/src/class.h 2008-03-03 17:36:51.000000000 +0200
+@@ -39,10 +39,10 @@
+ separate class files in a directory structure */
+
+ #ifdef USE_ZIP
+-#define JAMVM_CLASSES INSTALL_DIR"/share/jamvm/classes.zip"
++#define JAMVM_CLASSES PKGDATADIR"/classes.zip"
+ #define CLASSPATH_CLASSES CLASSPATH_INSTALL_DIR"/share/classpath/glibj.zip"
+ #else
+-#define JAMVM_CLASSES INSTALL_DIR"/share/jamvm/classes"
++#define JAMVM_CLASSES PKGDATADIR"/classes"
+ #define CLASSPATH_CLASSES CLASSPATH_INSTALL_DIR"/share/classpath"
+ #endif
+