Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 21:59:31 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        "current@freebsd.org" <current@freebsd.org>, leo@mediatomb.cc
Subject:   Re: Port compilation fails on HEAD. works on 9 and 10 STABLE
Message-ID:  <2278F1AB-D2B6-4445-A352-D1D26B68CB64@FreeBSD.org>
In-Reply-To: <E87929B0-AE11-4539-92A8-52DD3958C118@FreeBSD.org>
References:  <CAN6yY1tcmg8w4TX5icHPnvX_ZBT==hSJw2BMQX_Trp21wTPV0g@mail.gmail.com> <E87929B0-AE11-4539-92A8-52DD3958C118@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <dim@FreeBSD.org> wrote:
> On 23 Sep 2015, at 17:38, Kevin Oberman <rkoberman@gmail.com> 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<Array<Timer::TimerSubscriberElement<TimerSubscriberSingleton<Object> > > > Timer::getAppropriateSubscribers<TimerSubscriberSingleton<Object> >()
 {

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2278F1AB-D2B6-4445-A352-D1D26B68CB64>