From owner-svn-ports-head@freebsd.org Fri Mar 25 16:29:18 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6321FADDEEC; Fri, 25 Mar 2016 16:29:18 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33851165C; Fri, 25 Mar 2016 16:29:18 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2PGTHEw009724; Fri, 25 Mar 2016 16:29:17 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2PGTHEF009723; Fri, 25 Mar 2016 16:29:17 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201603251629.u2PGTHEF009723@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Fri, 25 Mar 2016 16:29:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411863 - head/graphics/digikam-kde4 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.21 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: Fri, 25 Mar 2016 16:29:18 -0000 Author: rakuco Date: Fri Mar 25 16:29:17 2016 New Revision: 411863 URL: https://svnweb.freebsd.org/changeset/ports/411863 Log: Add USES=compiler:c++11-lang. This fixes digikam-kde4's build on 9.3 after the graphics/lensfun update in r411373. lensfun.h includes C++ code (class and template declarations) inside an extern "C" block that causes base GCC to fail: /usr/local/include/lensfun/lensfun.h:2506: error: template with C linkage /usr/local/include/lensfun/lensfun.h:2508: error: template with C linkage Modified: head/graphics/digikam-kde4/Makefile Modified: head/graphics/digikam-kde4/Makefile ============================================================================== --- head/graphics/digikam-kde4/Makefile Fri Mar 25 16:29:06 2016 (r411862) +++ head/graphics/digikam-kde4/Makefile Fri Mar 25 16:29:17 2016 (r411863) @@ -24,7 +24,9 @@ LIB_DEPENDS= libtiff.so:${PORTSDIR}/grap libkgeomap.so:${PORTSDIR}/astro/libkgeomap \ libboost_graph.so:${PORTSDIR}/devel/boost-libs -USES+= pkgconfig shebangfix +# compiler:c++11-lang is necessary because graphics/lensfun's lensfun.h +# contains C++ code inside an extern "C" block that base GCC cannot handle. +USES+= compiler:c++11-lang pkgconfig shebangfix USE_KDE4+= libkdcraw libkexiv2 libkipi USE_QT4+= sql-sqlite3_run USE_LDCONFIG= yes