aboutsummaryrefslogtreecommitdiff
path: root/java/eclipse/files/patch-eclipse.platform.runtime
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-04-14 09:14:32 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-04-14 09:14:32 +0000
commit765525b60a7094d21911f9cf3bca389d03aca79f (patch)
treefed51259f984e2e19a3483723393a0b30bdace58 /java/eclipse/files/patch-eclipse.platform.runtime
parent05149e0be53fc65adc1b47f494e650820568a71d (diff)
Notes
Diffstat (limited to 'java/eclipse/files/patch-eclipse.platform.runtime')
-rw-r--r--java/eclipse/files/patch-eclipse.platform.runtime24
1 files changed, 24 insertions, 0 deletions
diff --git a/java/eclipse/files/patch-eclipse.platform.runtime b/java/eclipse/files/patch-eclipse.platform.runtime
new file mode 100644
index 000000000000..8b2b3961ca78
--- /dev/null
+++ b/java/eclipse/files/patch-eclipse.platform.runtime
@@ -0,0 +1,24 @@
+diff -ru eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
+--- eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java 0000-00-00 00:00:00.000000000 +0000
+@@ -59,7 +59,7 @@
+ //XXX This is not synchronized
+ private Map<Bundle,Log> logs = new HashMap<>(5);
+
+- private static final String[] OS_LIST = { Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
++ private static final String[] OS_LIST = { Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
+ private String password = ""; //$NON-NLS-1$
+ private static final String PASSWORD = "-password"; //$NON-NLS-1$
+
+diff -ru eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
+--- eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 0000-00-00 00:00:00.000000000 +0000
+@@ -207,6 +207,8 @@
+ */
+ public static final String OS_LINUX = "linux";//$NON-NLS-1$
+
++ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$
++
+ /**
+ * Constant string (value "aix") indicating the platform is running on an
+ * AIX-based operating system.