From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 15 03:50:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 715051065675 for ; Sun, 15 Jul 2012 03:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 489DC8FC17 for ; Sun, 15 Jul 2012 03:50:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6F3oBNF016774 for ; Sun, 15 Jul 2012 03:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6F3oBeT016772; Sun, 15 Jul 2012 03:50:11 GMT (envelope-from gnats) Resent-Date: Sun, 15 Jul 2012 03:50:11 GMT Resent-Message-Id: <201207150350.q6F3oBeT016772@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64AF81065670 for ; Sun, 15 Jul 2012 03:41:28 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from server2.allsitecontrol.com (server2.allsitecontrol.com [63.143.36.210]) by mx1.freebsd.org (Postfix) with ESMTP id 239168FC1C for ; Sun, 15 Jul 2012 03:41:28 +0000 (UTC) Received: from politkovskaja.torservers.net ([77.247.181.165]:14337 helo=internal.tormail.org) by server2.allsitecontrol.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.77) (envelope-from ) id 1Spx2y-003TtM-Vj for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Jul 2012 03:45:51 -0400 Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1Spx1w-000HqO-8q for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Jul 2012 07:44:45 +0000 Message-Id: <1Spx1w-000HqO-8q@internal.tormail.org> Date: Fri, 13 Jul 2012 20:23:24 -1100 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/169871: [patch] devel/qt4-corelib, devel/dbus-qt4, x11/qt4-opengl: unbreak with libc++ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2012 03:50:11 -0000 >Number: 169871 >Category: ports >Synopsis: [patch] devel/qt4-corelib, devel/dbus-qt4, x11/qt4-opengl: unbreak with libc++ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 15 03:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: WITH_LIBCPLUSPLUS= # see src.conf(5) CXX = clang++ CXXFLAGS += -stdlib=libc++ LDFLAGS += -stdlib=libc++ >Description: No clue why some ports don't use qiterator.h from LOCALBASE. In file included from concurrent/qtconcurrentiteratekernel.cpp:42: concurrent/qtconcurrentiteratekernel.h:154:60: error: variable has incomplete type 'std::bidirectional_iterator_tag' inline bool selectIteration(std::bidirectional_iterator_tag) ^ ../../include/QtCore/../../src/corelib/tools/qiterator.h:50:12: note: forward declaration of 'std::bidirectional_iterator_tag' struct bidirectional_iterator_tag; ^ In file included from concurrent/qtconcurrentiteratekernel.cpp:42: concurrent/qtconcurrentiteratekernel.h:164:60: error: variable has incomplete type 'std::random_access_iterator_tag' inline bool selectIteration(std::random_access_iterator_tag) ^ ../../include/QtCore/../../src/corelib/tools/qiterator.h:51:12: note: forward declaration of 'std::random_access_iterator_tag' struct random_access_iterator_tag; ^ 2 errors generated. >How-To-Repeat: >Fix: --- libcplusplus.diff begins here --- --- src/corelib/tools/qiterator.h~ +++ src/corelib/tools/qiterator.h @@ -46,10 +46,12 @@ QT_BEGIN_HEADER +#ifdef QT_NO_STL namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; } +#endif QT_BEGIN_NAMESPACE --- libcplusplus.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: