[openjfx] 03/03: Disabled assembler in WebKit on unsupported architectures

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Sep 19 12:58:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository openjfx.

commit e061bf9faac1cb0d2133d7f8bfbfc4b3cfbdefb4
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Sep 19 14:55:37 2014 +0200

    Disabled assembler in WebKit on unsupported architectures
---
 debian/changelog                                       |  1 +
 .../07-disable-assembler-on-unsupported-archs.patch    | 18 ++++++++++++++++++
 debian/patches/series                                  |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4e41b50..d7f375c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ openjfx (8u20-b26-3) UNRELEASED; urgency=medium
     for processing the ANTLR grammar.
   * Disabled the architecture verification in build.gradle to attempt building
     on more archs than i386 and amd64
+  * Disabled assembler in WebKit on unsupported architectures
 
  -- Emmanuel Bourg <ebourg at apache.org>  Fri, 19 Sep 2014 13:47:51 +0200
 
diff --git a/debian/patches/07-disable-assembler-on-unsupported-archs.patch b/debian/patches/07-disable-assembler-on-unsupported-archs.patch
new file mode 100644
index 0000000..aad1718
--- /dev/null
+++ b/debian/patches/07-disable-assembler-on-unsupported-archs.patch
@@ -0,0 +1,18 @@
+Description: Disable assembler in WebKit on unsupported architectures
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/modules/web/src/main/native/Source/WTF/wtf/Platform.h
++++ b/modules/web/src/main/native/Source/WTF/wtf/Platform.h
+@@ -330,6 +330,12 @@
+ #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
+ #endif
+ 
++#if !CPU(ARM_THUMB2) && !CPU(ARM_TRADITIONAL) && !CPU(MIPS) && !CPU(X86) && !CPU(X86_64) && !CPU(SH4)
++#define ENABLE_ASSEMBLER 0
++#define ENABLE_JIT 0
++#define ENABLE_YARR_JIT 0
++#endif
++
+ /* ==== OS() - underlying operating system; only to be used for mandated low-level services like
+    virtual memory, not to choose a GUI toolkit ==== */
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 5fef846..75215e4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 04-libav-compatibility.patch
 05-set-antlr-timeout.patch
 06-disable-architecture-verification.patch
+07-disable-assembler-on-unsupported-archs.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjfx.git



More information about the pkg-java-commits mailing list