diff options
author | joerg <joerg> | 2015-02-19 22:29:18 +0000 |
---|---|---|
committer | joerg <joerg> | 2015-02-19 22:29:18 +0000 |
commit | 95abfbc8a5133941a78299fde4f8995cd1d6bd91 (patch) | |
tree | 2a33f4acd5d34c0c044dd5937dcba421af4163fb /x11 | |
parent | e1d0dd236df99270711720b6c2253070629793e0 (diff) | |
download | pkgsrc-95abfbc8a5133941a78299fde4f8995cd1d6bd91.tar.gz |
Use __clear_cache as fallback for GCCish compilers.
Diffstat (limited to 'x11')
3 files changed, 29 insertions, 1 deletions
diff --git a/x11/qt5-qtdeclarative/distinfo b/x11/qt5-qtdeclarative/distinfo index 725e78f2404..6765f030801 100644 --- a/x11/qt5-qtdeclarative/distinfo +++ b/x11/qt5-qtdeclarative/distinfo @@ -1,9 +1,11 @@ -$NetBSD: distinfo,v 1.1 2014/12/30 17:23:46 adam Exp $ +$NetBSD: distinfo,v 1.2 2015/02/19 22:29:18 joerg Exp $ SHA1 (qtdeclarative-opensource-src-5.4.0.tar.xz) = 12c12d50c71cfb1f18c7fabfabe4ad4b364b09fe RMD160 (qtdeclarative-opensource-src-5.4.0.tar.xz) = b2c19c9bf472f375d78358b11042823964b42774 Size (qtdeclarative-opensource-src-5.4.0.tar.xz) = 18401844 bytes SHA1 (patch-examples_quick_customitems_painteditem_painteditem.pro) = a3881ee92daae30130fa665c8686f2e1572ecc1a +SHA1 (patch-src_3rdparty_masm_assembler_ARMAssembler.h) = fbcbe9e0fd3514d95f54a858223b20bb34f52bb2 +SHA1 (patch-src_3rdparty_masm_assembler_ARMv7Assembler.h) = 505b2a585a7ed98e63403a3cc44d839a4f80c01d SHA1 (patch-src_3rdparty_masm_wtf_MathExtras.h) = 4b86cfe54867a376ea6267e53566e457b577de7b SHA1 (patch-src_qml_jsruntime_qv4engine.cpp) = 05c365003ae8e83a34b3a51ecb3164f55b8e8809 SHA1 (patch-src_qml_jsruntime_qv4globalobject.cpp) = 814b0caf6356d687e96e7e4f1ffcc85e64c86348 diff --git a/x11/qt5-qtdeclarative/patches/patch-src_3rdparty_masm_assembler_ARMAssembler.h b/x11/qt5-qtdeclarative/patches/patch-src_3rdparty_masm_assembler_ARMAssembler.h new file mode 100644 index 00000000000..2f3ad8ad7e9 --- /dev/null +++ b/x11/qt5-qtdeclarative/patches/patch-src_3rdparty_masm_assembler_ARMAssembler.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_3rdparty_masm_assembler_ARMAssembler.h,v 1.1 2015/02/19 22:29:18 joerg Exp $ + +--- src/3rdparty/masm/assembler/ARMAssembler.h.orig 2015-02-19 16:29:13.000000000 +0000 ++++ src/3rdparty/masm/assembler/ARMAssembler.h +@@ -1069,6 +1069,8 @@ namespace JSC { + UNUSED_PARAM(size); + #elif OS(QNX) + msync(code, size, MS_INVALIDATE_ICACHE); ++#elif defined(__GNUC__) ++ __builtin___clear_cache(reinterpret_cast<char *>(code), reinterpret_cast<char *>(reinterpret_cast<uintptr_t>(code) + size)); + #else + #error "The cacheFlush support is missing on this platform." + #endif diff --git a/x11/qt5-qtdeclarative/patches/patch-src_3rdparty_masm_assembler_ARMv7Assembler.h b/x11/qt5-qtdeclarative/patches/patch-src_3rdparty_masm_assembler_ARMv7Assembler.h new file mode 100644 index 00000000000..05962909189 --- /dev/null +++ b/x11/qt5-qtdeclarative/patches/patch-src_3rdparty_masm_assembler_ARMv7Assembler.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_3rdparty_masm_assembler_ARMv7Assembler.h,v 1.1 2015/02/19 22:29:18 joerg Exp $ + +--- src/3rdparty/masm/assembler/ARMv7Assembler.h.orig 2015-02-19 16:26:13.000000000 +0000 ++++ src/3rdparty/masm/assembler/ARMv7Assembler.h +@@ -2311,6 +2311,8 @@ public: + UNUSED_PARAM(code); + UNUSED_PARAM(size); + #endif ++#elif defined(__GNUC__) ++ __builtin___clear_cache(reinterpret_cast<char *>(code), reinterpret_cast<char *>(reinterpret_cast<uintptr_t>(code) + size)); + #else + #error "The cacheFlush support is missing on this platform." + #endif |