diff options
Diffstat (limited to 'unmaintained/openjfx12/disable-architecture-verification.patch')
-rw-r--r-- | unmaintained/openjfx12/disable-architecture-verification.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/unmaintained/openjfx12/disable-architecture-verification.patch b/unmaintained/openjfx12/disable-architecture-verification.patch new file mode 100644 index 0000000000..456598adf1 --- /dev/null +++ b/unmaintained/openjfx12/disable-architecture-verification.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Description: Disable the architecture verification which is limited to i386 and amd64 | ||
2 | Author: Emmanuel Bourg <ebourg@apache.org> | ||
3 | Forwarded: no | ||
4 | Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/06-disable-architecture-verification.patch | ||
5 | --- a/build.gradle | ||
6 | +++ b/build.gradle | ||
7 | @@ -302,6 +302,7 @@ | ||
8 | // at present building on PI is not supported, but we would only need to make | ||
9 | // some changes on assumptions on what should be built (like SWT / Swing) and | ||
10 | // such and we could probably make it work. | ||
11 | +/* | ||
12 | if (!IS_MAC && !IS_WINDOWS && !IS_LINUX) fail("Unsupported build OS ${OS_NAME}") | ||
13 | if (IS_WINDOWS && OS_ARCH != "x86" && OS_ARCH != "amd64") { | ||
14 | fail("Unknown and unsupported build architecture: $OS_ARCH") | ||
15 | @@ -310,6 +311,7 @@ | ||
16 | } else if (IS_LINUX && OS_ARCH != "i386" && OS_ARCH != "amd64") { | ||
17 | fail("Unknown and unsupported build architecture: $OS_ARCH") | ||
18 | } | ||
19 | +*/ | ||
20 | |||
21 | |||
22 | // Get the JDK_HOME automatically based on the version of Java used to execute gradle. Or, if specified, | ||
23 | |||