diff options
author | minskim <minskim@pkgsrc.org> | 2006-03-18 03:01:45 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-03-18 03:01:45 +0000 |
commit | 9263c1c908dc4e4c225717b05debc7541c566a8a (patch) | |
tree | 0afe8ab676dbdb97c19712379b91c9f87f777926 /x11/py-qt3-base/patches | |
parent | bb6cc10bb0fe7208a6c6f02defad6a175af8b03f (diff) | |
download | pkgsrc-9263c1c908dc4e4c225717b05debc7541c566a8a.tar.gz |
Make this package build with gcc-4 by type-casting explicitly.
Diffstat (limited to 'x11/py-qt3-base/patches')
-rw-r--r-- | x11/py-qt3-base/patches/patch-ad | 13 | ||||
-rw-r--r-- | x11/py-qt3-base/patches/patch-ae | 13 |
2 files changed, 26 insertions, 0 deletions
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); + } |