summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-03-18 03:01:45 +0000
committerminskim <minskim@pkgsrc.org>2006-03-18 03:01:45 +0000
commit22a21f4c1b7d9c7ff211c1eb2ae1bd25771519df (patch)
tree0afe8ab676dbdb97c19712379b91c9f87f777926 /x11
parentcf8dfa4c026a020d0b9e792dc2132485c4079116 (diff)
downloadpkgsrc-22a21f4c1b7d9c7ff211c1eb2ae1bd25771519df.tar.gz
Make this package build with gcc-4 by type-casting explicitly.
Diffstat (limited to 'x11')
-rw-r--r--x11/py-qt3-base/distinfo4
-rw-r--r--x11/py-qt3-base/patches/patch-ad13
-rw-r--r--x11/py-qt3-base/patches/patch-ae13
3 files changed, 29 insertions, 1 deletions
diff --git a/x11/py-qt3-base/distinfo b/x11/py-qt3-base/distinfo
index 25b3b78e496..e35d6dc456d 100644
--- a/x11/py-qt3-base/distinfo
+++ b/x11/py-qt3-base/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2006/03/03 16:33:51 reed Exp $
+$NetBSD: distinfo,v 1.12 2006/03/18 03:01:45 minskim Exp $
SHA1 (PyQt-mac-gpl-3.15.1.tar.gz) = 6e3afafd93b89e571da94401c4c16e0c09fe7431
RMD160 (PyQt-mac-gpl-3.15.1.tar.gz) = 663907b22fb245dc0472d7462e278b9d5564aa80
@@ -9,3 +9,5 @@ Size (PyQt-x11-gpl-3.15.1.tar.gz) = 790366 bytes
SHA1 (patch-aa) = 425ff917b8dd3c345bf86e49ccf7f91c5688e77a
SHA1 (patch-ab) = 46cf5b2eb3481a9f5a1264f11abc57421c4d47a0
SHA1 (patch-ac) = c3cd88ef6119f224920c0b8e6852b35052e6751a
+SHA1 (patch-ad) = 1f6b420cc3df3d02315d72387dcf4dee62ef57f6
+SHA1 (patch-ae) = beebdfe165b3a34fd0a394eb33806610d00ff6a6
diff --git a/x11/py-qt3-base/patches/patch-ad b/x11/py-qt3-base/patches/patch-ad
new file mode 100644
index 00000000000..23fb4ed9f82
--- /dev/null
+++ b/x11/py-qt3-base/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/03/18 03:01:45 minskim Exp $
+
+--- qt/sipqtQThread.cpp.orig 2006-03-17 14:51:33.000000000 -0800
++++ qt/sipqtQThread.cpp
+@@ -92,7 +92,7 @@ static PyObject *meth_QThread_currentThr
+ {
+ void *sipRes;
+
+- sipRes = QThread::currentThread();
++ sipRes = (void *)QThread::currentThread();
+
+ return sipConvertFromVoidPtr(sipRes);
+ }
diff --git a/x11/py-qt3-base/patches/patch-ae b/x11/py-qt3-base/patches/patch-ae
new file mode 100644
index 00000000000..7676f7729fa
--- /dev/null
+++ b/x11/py-qt3-base/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2006/03/18 03:01:45 minskim Exp $
+
+--- qt/sipqtQCursor.cpp.orig 2006-03-17 14:51:35.000000000 -0800
++++ qt/sipqtQCursor.cpp
+@@ -158,7 +158,7 @@ static PyObject *meth_QCursor_handle(PyO
+ {
+ void *sipRes;
+
+- sipRes = sipCpp -> QCursor::handle();
++ sipRes = (void *) sipCpp -> QCursor::handle();
+
+ return sipConvertFromVoidPtr(sipRes);
+ }