Date: Sun, 08 Mar 2015 21:23:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198436] Fix net/mediatomb build with clang 3.6.0 Message-ID: <bug-198436-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198436 Bug ID: 198436 Summary: Fix net/mediatomb build with clang 3.6.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: leo@mediatomb.cc Flags: maintainer-feedback?(leo@mediatomb.cc) CC: leo@mediatomb.cc Created attachment 154039 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154039&action=edit Move singleton specialization to before timer.h inclusion During the exp-run in bug 197395, it was found that net/mediatomb gives errors with clang 3.6.0: http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/mediatomb-0.12.1_12.log This error is because the timer.h header implicitly defines the Timer singleton already, and such a definition cannot be overridden later by a specialization. I propose to fix this by defining the singleton specialization *before* including the timer.h file, as in the attached patch. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198436-13>