diff options
Diffstat (limited to 'dev-java/java-service-wrapper/files/java-service-wrapper-3.5.14-gentoo-wrapper-defaults.patch')
| -rw-r--r-- | dev-java/java-service-wrapper/files/java-service-wrapper-3.5.14-gentoo-wrapper-defaults.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-java/java-service-wrapper/files/java-service-wrapper-3.5.14-gentoo-wrapper-defaults.patch b/dev-java/java-service-wrapper/files/java-service-wrapper-3.5.14-gentoo-wrapper-defaults.patch new file mode 100644 index 000000000000..b69927384dd2 --- /dev/null +++ b/dev-java/java-service-wrapper/files/java-service-wrapper-3.5.14-gentoo-wrapper-defaults.patch @@ -0,0 +1,22 @@ +Author: Ralph Sennhauser <sera@gentoo.org> + +Added in 3.5.4, make false default for Gentoo + +* Add a new wrapper.java.command.resolve property to control whether or not the + Wrapper tries to resolve any symbolic links in the Java command, specified + with the wrapper.java.command property. Historically, it has always done so, + but some jvm started applications like run-java-tool on Gentoo will fail if + it is run directly as they have a check to make sure it is launched via a + symbolic link. + +--- a/src/c/wrapper.c ++++ b/src/c/wrapper.c +@@ -4664,7 +4664,7 @@ void checkIfRegularExe(TCHAR** para) { + if (!path) { + log_printf(WRAPPER_SOURCE_WRAPPER, LEVEL_WARN, TEXT("The configured wrapper.java.command could not be found, attempting to launch anyway: %s"), *para); + } else { +- replacePath = getBooleanProperty(properties, TEXT("wrapper.java.command.resolve"), TRUE, TRUE); ++ replacePath = getBooleanProperty(properties, TEXT("wrapper.java.command.resolve"), FALSE, TRUE); + if (replacePath == TRUE) { + free(*para); + *para = malloc((_tcslen(path) + 1) * sizeof(TCHAR)); |
