diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-11-21 10:27:09 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-11-21 10:27:09 +0300 |
commit | 9ccbb8b53bffc27420ad8b360c581668bb8837bd (patch) | |
tree | b7d67963d3a25cb4d4854572a82d70c66af01fa1 /debian/patches/05_sparc_unaligned_access.diff | |
parent | 4d58bc068bed0c9c6a976c4641ec799dd91e153b (diff) | |
parent | e03edf7c770d2531e731bcc69663d985c12185dd (diff) | |
download | qt5webkit-9ccbb8b53bffc27420ad8b360c581668bb8837bd.tar.gz |
Merge branch 'master' of https://anonscm.debian.org/git/pkg-kde/qt/qt5webkit
Diffstat (limited to 'debian/patches/05_sparc_unaligned_access.diff')
-rw-r--r-- | debian/patches/05_sparc_unaligned_access.diff | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/debian/patches/05_sparc_unaligned_access.diff b/debian/patches/05_sparc_unaligned_access.diff deleted file mode 100644 index f875008..0000000 --- a/debian/patches/05_sparc_unaligned_access.diff +++ /dev/null @@ -1,41 +0,0 @@ -Description: fix some alignment problems on sparc. -Author: Mike Hommey <glandium@debian.org> -Author: Timo Jyrinki <timo@debian.org> -Last-Update: 2013-12-17 - ---- - Source/JavaScriptCore/wtf/ListHashSet.h | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - ---- a/Source/WTF/wtf/ListHashSet.h -+++ b/Source/WTF/wtf/ListHashSet.h -@@ -173,7 +173,7 @@ namespace WTF { - : m_freeList(pool()) - , m_isDoneWithInitialFreeList(false) - { -- memset(m_pool.pool, 0, sizeof(m_pool.pool)); -+ memset(m_pool, 0, sizeof(m_pool)); - } - - Node* allocate() -@@ -217,7 +217,7 @@ namespace WTF { - } - - private: -- Node* pool() { return reinterpret_cast_ptr<Node*>(m_pool.pool); } -+ Node* pool() { return reinterpret_cast_ptr<Node*>(m_pool); } - Node* pastPool() { return pool() + m_poolSize; } - bool inPool(Node* node) - { -@@ -227,10 +227,7 @@ namespace WTF { - Node* m_freeList; - bool m_isDoneWithInitialFreeList; - static const size_t m_poolSize = inlineCapacity; -- union { -- char pool[sizeof(Node) * m_poolSize]; -- double forAlignment; -- } m_pool; -+ uint32_t m_pool[(sizeof(Node) * m_poolSize + sizeof(uint32_t) - 1) / sizeof(uint32_t)]; - }; - - template<typename ValueArg, size_t inlineCapacity> struct ListHashSetNode { |