From owner-svn-ports-head@FreeBSD.ORG Thu Jun 6 13:45:04 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 362AFFD2; Thu, 6 Jun 2013 13:45:04 +0000 (UTC) (envelope-from avilla@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0EACE127C; Thu, 6 Jun 2013 13:45:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r56Dj3x5062505; Thu, 6 Jun 2013 13:45:03 GMT (envelope-from avilla@svn.freebsd.org) Received: (from avilla@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r56Dj3nT062504; Thu, 6 Jun 2013 13:45:03 GMT (envelope-from avilla@svn.freebsd.org) Message-Id: <201306061345.r56Dj3nT062504@svn.freebsd.org> From: Alberto Villa Date: Thu, 6 Jun 2013 13:45:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320096 - head/net/kdenetwork4/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 13:45:04 -0000 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); + +------------------------------------------------------------------------