Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2013 13:45:03 +0000 (UTC)
From:      Alberto Villa <avilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320096 - head/net/kdenetwork4/files
Message-ID:  <201306061345.r56Dj3nT062504@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avilla
Date: Thu Jun  6 13:45:03 2013
New Revision: 320096
URL: http://svnweb.freebsd.org/changeset/ports/320096

Log:
  - Add another upstream patch to fix build with Clang.
  
  Submitted by:	rakuco via upstream and area51 commit

Added:
  head/net/kdenetwork4/files/patch-r1356348   (contents, props changed)

Added: head/net/kdenetwork4/files/patch-r1356348
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/kdenetwork4/files/patch-r1356348	Thu Jun  6 13:45:03 2013	(r320096)
@@ -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);
+
+------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306061345.r56Dj3nT062504>