aboutsummaryrefslogtreecommitdiffstats
path: root/net/kdenetwork4
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2013-06-06 21:45:03 +0800
committeravilla <avilla@FreeBSD.org>2013-06-06 21:45:03 +0800
commit8a432fc77bf5ae9e4c0088d7ca867cb816aed160 (patch)
tree462219a8ef89ef0a561f9c4722f9b2571d3900de /net/kdenetwork4
parentbe59cf55da29433f139f0a221ee280333d8a8191 (diff)
downloadfreebsd-ports-gnome-8a432fc77bf5ae9e4c0088d7ca867cb816aed160.tar.gz
freebsd-ports-gnome-8a432fc77bf5ae9e4c0088d7ca867cb816aed160.tar.zst
freebsd-ports-gnome-8a432fc77bf5ae9e4c0088d7ca867cb816aed160.zip
- Add another upstream patch to fix build with Clang.
Submitted by: rakuco via upstream and area51 commit
Diffstat (limited to 'net/kdenetwork4')
-rw-r--r--net/kdenetwork4/files/patch-r135634843
1 files changed, 43 insertions, 0 deletions
diff --git a/net/kdenetwork4/files/patch-r1356348 b/net/kdenetwork4/files/patch-r1356348
new file mode 100644
index 000000000000..3f12ce4ef9de
--- /dev/null
+++ b/net/kdenetwork4/files/patch-r1356348
@@ -0,0 +1,43 @@
+------------------------------------------------------------------------
+r1356348 | rkcosta | 2013-05-28 11:36:38 +0300 (Tue, 28 May 2013) | 11 lines
+
+Merge r1356347 from trunk.
+
+------------------------------------------------------------------------
+r1356347 | rkcosta | 2013-05-28 11:32:26 +0300 (Tue, 28 May 2013) | 4 lines
+
+Default arguments should be in the method's declaration.
+
+Not only is this correct C++, but it also fixes the build with clang 3.3.
+
+------------------------------------------------------------------------
+
+
+Index: kget/transfer-plugins/bittorrent/btsettingswidget.h
+===================================================================
+--- kget/transfer-plugins/bittorrent/btsettingswidget.h (revision 1356347)
++++ kget/transfer-plugins/bittorrent/btsettingswidget.h (revision 1356348)
+@@ -19,7 +19,7 @@
+ {
+ Q_OBJECT
+ public:
+- BTSettingsWidget(QWidget * parent, const QVariantList &args);
++ BTSettingsWidget(QWidget * parent = 0, const QVariantList &args = QVariantList());
+
+ public slots:
+ virtual void load();
+Index: kget/transfer-plugins/bittorrent/btsettingswidget.cpp
+===================================================================
+--- kget/transfer-plugins/bittorrent/btsettingswidget.cpp (revision 1356347)
++++ kget/transfer-plugins/bittorrent/btsettingswidget.cpp (revision 1356348)
+@@ -17,7 +17,7 @@
+
+ KGET_EXPORT_PLUGIN_CONFIG(BTSettingsWidget)
+
+-BTSettingsWidget::BTSettingsWidget(QWidget * parent = 0, const QVariantList &args = QVariantList())
++BTSettingsWidget::BTSettingsWidget(QWidget * parent, const QVariantList &args)
+ : KCModule(KGetFactory::componentData(), parent, args)
+ {
+ setupUi(this);
+
+------------------------------------------------------------------------