summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2010-03-12 08:19:38 +0000
committermrg <mrg@pkgsrc.org>2010-03-12 08:19:38 +0000
commitede694eb061e9bedd30654923ec875908eb4f841 (patch)
tree8a3974f27c4a4f133bfcbf41688f60ad8e7d8807
parent65ae435efe98c2c0b66c337ed6c922470da2d096 (diff)
downloadpkgsrc-ede694eb061e9bedd30654923ec875908eb4f841.tar.gz
copy patch-au to apply to the almost same file elsewhere in the tree..
this lets qt4-libs build on sparc64. also tested on amd64.
-rw-r--r--x11/qt4-libs/distinfo3
-rw-r--r--x11/qt4-libs/patches/patch-az22
2 files changed, 24 insertions, 1 deletions
diff --git a/x11/qt4-libs/distinfo b/x11/qt4-libs/distinfo
index 801879a76ac..029f46414d9 100644
--- a/x11/qt4-libs/distinfo
+++ b/x11/qt4-libs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.41 2010/03/11 00:07:24 wiz Exp $
+$NetBSD: distinfo,v 1.42 2010/03/12 08:19:38 mrg Exp $
SHA1 (qt-everywhere-opensource-src-4.6.2.tar.gz) = 977c10b88a2230e96868edc78a9e3789c0fcbf70
RMD160 (qt-everywhere-opensource-src-4.6.2.tar.gz) = 5f3fea120f2dba274c4150b02162bba40b65a872
@@ -28,3 +28,4 @@ SHA1 (patch-av) = f716b571ef0f8b5c7684378a0e3772c1680c6dcf
SHA1 (patch-aw) = 1e716a1f39cb4aee4872184f700f3e4b455463b6
SHA1 (patch-ax) = 0c17ee0d865a39ed167b6134e73d12a57b9f84a9
SHA1 (patch-ay) = d1e903fd7d4bf0f84d5151303db941702f02e5dc
+SHA1 (patch-az) = 8c8cf4f77b28d092ce05ab2d4a8a87d1a22c61a1
diff --git a/x11/qt4-libs/patches/patch-az b/x11/qt4-libs/patches/patch-az
new file mode 100644
index 00000000000..fc1ea0428a4
--- /dev/null
+++ b/x11/qt4-libs/patches/patch-az
@@ -0,0 +1,22 @@
+$NetBSD: patch-az,v 1.3 2010/03/12 08:19:38 mrg Exp $
+
+--- ./src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.h.orig 2010-03-11 18:45:16.000000000 -0800
++++ ./src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.h 2010-03-11 18:45:31.000000000 -0800
+@@ -476,7 +476,7 @@
+ 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)
+@@ -485,7 +485,7 @@
+ 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