From owner-freebsd-current@freebsd.org Wed Sep 23 19:59:41 2015 Return-Path: Delivered-To: freebsd-current@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 4C723A08D37 for ; Wed, 23 Sep 2015 19:59:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2EB8B1569 for ; Wed, 23 Sep 2015 19:59:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2CFB1A08D36; Wed, 23 Sep 2015 19:59:41 +0000 (UTC) Delivered-To: current@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 2C8AAA08D35 for ; Wed, 23 Sep 2015 19:59:41 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1C011568 for ; Wed, 23 Sep 2015 19:59:40 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [10.192.0.157] (unknown [178.20.49.58]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 20BC71AE07; Wed, 23 Sep 2015 21:59:32 +0200 (CEST) Subject: Re: Port compilation fails on HEAD. works on 9 and 10 STABLE Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_3249A59A-3989-4EE9-8D29-F38D7B45E4DB"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5.1 From: Dimitry Andric In-Reply-To: Date: Wed, 23 Sep 2015 21:59:31 +0200 Cc: "current@freebsd.org" , leo@mediatomb.cc Message-Id: <2278F1AB-D2B6-4445-A352-D1D26B68CB64@FreeBSD.org> References: To: Kevin Oberman X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 19:59:41 -0000 --Apple-Mail=_3249A59A-3989-4EE9-8D29-F38D7B45E4DB Content-Type: multipart/mixed; boundary="Apple-Mail=_01297639-20CB-4660-A839-F204B4172D93" --Apple-Mail=_01297639-20CB-4660-A839-F204B4172D93 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 23 Sep 2015, at 21:57, Dimitry Andric wrote: > On 23 Sep 2015, at 17:38, Kevin Oberman wrote: >> >> met/mediatomb fails to compile with clang++36. Works fine with gcc++ and >> older versions of clang++. > > Try dropping the attached patch in net/mediatomb/files. I submitted it > in March, in PR198436: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198436 Eh, now with an actual patch. :) -Dimitry --Apple-Mail=_01297639-20CB-4660-A839-F204B4172D93 Content-Disposition: attachment; filename=patch-timer.cc Content-Type: application/octet-stream; name="patch-timer.cc" Content-Transfer-Encoding: 7bit --- src/timer.cc.orig 2010-03-25 15:58:11.000000000 +0100 +++ src/timer.cc 2015-03-08 22:18:05.760740000 +0100 @@ -33,12 +33,15 @@ #include "autoconfig.h" #endif +#include "singleton.h" + +class Timer; +SINGLETON_MUTEX(Timer, true); + #include "timer.h" using namespace zmm; -SINGLETON_MUTEX(Timer, true); - template <> Ref > > > Timer::getAppropriateSubscribers >() { --Apple-Mail=_01297639-20CB-4660-A839-F204B4172D93-- --Apple-Mail=_3249A59A-3989-4EE9-8D29-F38D7B45E4DB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 iEYEARECAAYFAlYDBKMACgkQsF6jCi4glqNzTQCfWFb+3JzSlTwew3R0NpmS2vUg E5QAn1+AQ57Z5yT52UxrSSyaLzGOpN4Z =I0fg -----END PGP SIGNATURE----- --Apple-Mail=_3249A59A-3989-4EE9-8D29-F38D7B45E4DB--