From owner-svn-ports-all@FreeBSD.ORG Tue Jun 4 22:32:07 2013 Return-Path: Delivered-To: svn-ports-all@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 98080F18; Tue, 4 Jun 2013 22:32:07 +0000 (UTC) (envelope-from rakuco@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 885511FBD; Tue, 4 Jun 2013 22:32:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r54MW7OB004162; Tue, 4 Jun 2013 22:32:07 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r54MW7a8004161; Tue, 4 Jun 2013 22:32:07 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201306042232.r54MW7a8004161@svn.freebsd.org> From: Raphael Kubo da Costa Date: Tue, 4 Jun 2013 22:32:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319934 - head/net-im/kopete-kde4/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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 22:32:07 -0000 Author: rakuco Date: Tue Jun 4 22:32:07 2013 New Revision: 319934 URL: http://svnweb.freebsd.org/changeset/ports/319934 Log: Add upstream patch that should fix the build with at least clang 3.3. Kudos to swills@ for his 10-CURRENT tinderbox :-) Added: head/net-im/kopete-kde4/files/patch-kopete__protocols__gadu__gadueditcontact.h (contents, props changed) Added: head/net-im/kopete-kde4/files/patch-kopete__protocols__gadu__gadueditcontact.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/kopete-kde4/files/patch-kopete__protocols__gadu__gadueditcontact.h Tue Jun 4 22:32:07 2013 (r319934) @@ -0,0 +1,35 @@ +------------------------------------------------------------------------ +r1356912 | rkcosta | 2013-06-05 01:18:59 +0300 (Wed, 05 Jun 2013) | 8 lines + +Forward-declaring a nested class is not valid C++. + +Fix the build with at least clang 3.3 by actually including +gaducontactlist.h. While just removing the forward declaration also works +since all places which include gadueditcontact.h include gaducontactlist.h +first), it's better to be on the safe side and not rely on that. + + + +Index: kopete/protocols/gadu/gadueditcontact.h +=================================================================== +--- kopete/protocols/gadu/gadueditcontact.h (revision 1356911) ++++ kopete/protocols/gadu/gadueditcontact.h (revision 1356912) +@@ -23,6 +23,8 @@ + #ifndef GADUEDITCONTACT_H + #define GADUEDITCONTACT_H + ++#include "gaducontactlist.h" ++ + #include + //Added by qt3to4: + #include +@@ -32,7 +34,6 @@ + class QLabel; + class QWidget; + class GaduContact; +-class GaduContactsList::ContactLine; + class Q3ListViewItem; + + class GaduEditContact : public KDialog + +------------------------------------------------------------------------