diff options
Diffstat (limited to 'x11/qt4-libs/patches/patch-au')
-rw-r--r-- | x11/qt4-libs/patches/patch-au | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/qt4-libs/patches/patch-au b/x11/qt4-libs/patches/patch-au new file mode 100644 index 00000000000..96fa4fa9b09 --- /dev/null +++ b/x11/qt4-libs/patches/patch-au @@ -0,0 +1,22 @@ +$NetBSD: patch-au,v 1.4 2010/01/29 18:19:09 adam Exp $ + +--- src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h.orig 2010-01-28 07:10:17.000000000 +0000 ++++ src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h +@@ -468,7 +468,7 @@ namespace JSC { + u.asBits.tag = CellTag; + else + u.asBits.tag = EmptyValueTag; +- u.asBits.payload = reinterpret_cast<int32_t>(ptr); ++ u.asBits.payload = reinterpret_cast<intptr_t>(ptr); + } + + inline JSValue::JSValue(const JSCell* ptr) +@@ -477,7 +477,7 @@ namespace JSC { + u.asBits.tag = CellTag; + else + u.asBits.tag = EmptyValueTag; +- u.asBits.payload = reinterpret_cast<int32_t>(const_cast<JSCell*>(ptr)); ++ u.asBits.payload = reinterpret_cast<intptr_t>(const_cast<JSCell*>(ptr)); + } + + inline JSValue::operator bool() const |