summaryrefslogtreecommitdiff
path: root/x11-toolkits/swt-devel/files/patch-OS.java
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/swt-devel/files/patch-OS.java')
-rw-r--r--x11-toolkits/swt-devel/files/patch-OS.java26
1 files changed, 0 insertions, 26 deletions
diff --git a/x11-toolkits/swt-devel/files/patch-OS.java b/x11-toolkits/swt-devel/files/patch-OS.java
deleted file mode 100644
index 04dd3008d213..000000000000
--- a/x11-toolkits/swt-devel/files/patch-OS.java
+++ /dev/null
@@ -1,26 +0,0 @@
---- ./org/eclipse/swt/internal/gtk/OS.java.orig Thu Dec 15 15:19:38 2005
-+++ ./org/eclipse/swt/internal/gtk/OS.java Mon Jan 23 23:51:20 2006
-@@ -20,18 +20,20 @@
- }
-
- /** OS Constants */
-- public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX;
-+ public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, IsFreeBSD;
- static {
-
- /* Initialize the OS flags and locale constants */
-+ /* make bootstrap compatible with `uname -s` for FreeBSD */
- String osName = System.getProperty ("os.name");
-- boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false;
-+ boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false, isFreeBSD = false;
- if (osName.equals ("Linux")) isLinux = true;
-+ if (osName.equals ("FreeBSD")) isFreeBSD = true;
- if (osName.equals ("AIX")) isAIX = true;
- if (osName.equals ("Solaris")) isSunOS = true;
- if (osName.equals ("SunOS")) isSunOS = true;
- if (osName.equals ("HP-UX")) isHPUX = true;
-- IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX;
-+ IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsFreeBSD = isFreeBSD; IsHPUX = isHPUX;
- }
-
- /** Constants */