svn commit: r457856 - head/devel/py-pykde4/files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Tue Jan 2 14:10:51 UTC 2018
Author: rakuco
Date: Tue Jan 2 14:10:50 2018
New Revision: 457856
URL: https://svnweb.freebsd.org/changeset/ports/457856
Log:
Add a Debian patch to finish fixing the build with SIP 4.19.6.
The upstream patch from r457852 is necessary but not enough.
PR: 224739
Obtained from: https://anonscm.debian.org/cgit/pkg-kde/kde-sc/pykde4.git/commit/debian/patches?id=9de587a159f47d30068c84127c06917594eaf2e0
Added:
head/devel/py-pykde4/files/patch-sip-4.19.6 (contents, props changed)
Added: head/devel/py-pykde4/files/patch-sip-4.19.6
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pykde4/files/patch-sip-4.19.6 Tue Jan 2 14:10:50 2018 (r457856)
@@ -0,0 +1,26 @@
+Fixes a build failure with SIP 4.19.6 (possibly other versions > 4.19.2):
+ sip: ::KFontChooser ctor argument 5 has an unsupported type for a Python signature - provide a valid type, %MethodCode and a C++ signature
+
+Obtained from: https://anonscm.debian.org/cgit/pkg-kde/kde-sc/pykde4.git/commit/debian/patches?id=9de587a159f47d30068c84127c06917594eaf2e0
+--- sip/kdeui/kfontchooser.sip
++++ sip/kdeui/kfontchooser.sip
+@@ -59,7 +59,7 @@ public:
+
+ typedef QFlags<KFontChooser::DisplayFlag> DisplayFlags;
+
+- explicit KFontChooser (QWidget* parent /TransferThis/ = 0, const KFontChooser::DisplayFlags& flags = KFontChooser::DisplayFrame, const QStringList& fontList = QStringList(), int visibleListSize = 8, Qt::CheckState* sizeIsRelativeState = 0) [(QWidget* = 0, const KFontChooser::DisplayFlags& = KFontChooser::DisplayFrame, const QStringList& = QStringList(), int = 8, Qt::CheckState* = 0)];
++ explicit KFontChooser (QWidget* parent /TransferThis/ = 0, const KFontChooser::DisplayFlags& flags = KFontChooser::DisplayFrame, const QStringList& fontList = QStringList(), int visibleListSize = 8, Qt::CheckState sizeIsRelativeState = Qt::Unchecked) [(QWidget* = 0, const KFontChooser::DisplayFlags& = KFontChooser::DisplayFrame, const QStringList& = QStringList(), int = 8, Qt::CheckState* = 0)];
+ %MethodCode
+ Py_BEGIN_ALLOW_THREADS
+ sipCpp = new sipKFontChooser (a0, *a1, *a2, a3, &a4);
+--- sip/kdeui/kfontdialog.sip
++++ sip/kdeui/kfontdialog.sip
+@@ -28,7 +28,7 @@ class KFontDialog : KDialog
+
+
+ public:
+- explicit KFontDialog (QWidget* parent /TransferThis/ = 0, const KFontChooser::DisplayFlags& flags = KFontChooser::NoDisplayFlags, const QStringList& fontlist = QStringList(), Qt::CheckState* sizeIsRelativeState = 0) [(QWidget* = 0, const KFontChooser::DisplayFlags& = KFontChooser::NoDisplayFlags, const QStringList& = QStringList(), Qt::CheckState* = 0)];
++ explicit KFontDialog (QWidget* parent /TransferThis/ = 0, const KFontChooser::DisplayFlags& flags = KFontChooser::NoDisplayFlags, const QStringList& fontlist = QStringList(), Qt::CheckState sizeIsRelativeState = Qt::Unchecked) [(QWidget* = 0, const KFontChooser::DisplayFlags& = KFontChooser::NoDisplayFlags, const QStringList& = QStringList(), Qt::CheckState* = 0)];
+ %MethodCode
+ Py_BEGIN_ALLOW_THREADS
+ sipCpp= new sipKFontDialog (a0, *a1, *a2, &a3);
More information about the svn-ports-all
mailing list