From 9263c1c908dc4e4c225717b05debc7541c566a8a Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 18 Mar 2006 03:01:45 +0000 Subject: Make this package build with gcc-4 by type-casting explicitly. --- x11/py-qt3-base/patches/patch-ad | 13 +++++++++++++ x11/py-qt3-base/patches/patch-ae | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 x11/py-qt3-base/patches/patch-ad create mode 100644 x11/py-qt3-base/patches/patch-ae (limited to 'x11/py-qt3-base/patches') 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); + } -- cgit v1.2.3