Boost C++ Libraries: Ticket #2084: Boost trunk will not build on a NetBSD machine. https://svn.boost.org/trac10/ticket/2084 <p> There are at least two problems with boost-trunk that prevent it from building on a NetBSD machine. One (libdl need not be linked against) is already documented in ticket <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/2029"><span class="icon">​</span>#2029</a>, which still applies to the trunk. A patch for the other is attached. Like modern FreeBSD, NetBSD has support for wide characters. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2084 Trac 1.4.3 brook@… Mon, 07 Jul 2008 23:19:23 GMT attachment set https://svn.boost.org/trac10/ticket/2084 https://svn.boost.org/trac10/ticket/2084 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch</span> </li> </ul> <p> patch boost/config/platform/bsd.hpp for NetBSD wchar support </p> Ticket René Rivera Mon, 07 Jul 2008 23:47:20 GMT owner, component changed https://svn.boost.org/trac10/ticket/2084#comment:1 https://svn.boost.org/trac10/ticket/2084#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Vladimir Prus</span> to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">build</span> → <span class="trac-field-new">config</span> </li> </ul> Ticket John Maddock Fri, 11 Jul 2008 17:10:53 GMT status changed https://svn.boost.org/trac10/ticket/2084#comment:2 https://svn.boost.org/trac10/ticket/2084#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Hi there, do you know which NetBSD version introduced wide character support - in particular from which value of <span class="underline">NetBSD</span> does the change apply? </p> <p> Thanks, John Maddock. </p> Ticket anonymous Fri, 25 Jul 2008 18:02:58 GMT attachment set https://svn.boost.org/trac10/ticket/2084 https://svn.boost.org/trac10/ticket/2084 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch.2</span> </li> </ul> <p> Correct patch for bsd.hpp to account for the NetBSD version of gcc and a necessary (for now) macro definition. </p> Ticket brook@… Fri, 25 Jul 2008 18:15:34 GMT <link>https://svn.boost.org/trac10/ticket/2084#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2084#comment:3</guid> <description> <p> I have added a new patch that works at least on a NetBSD/i386 system, but should work on others as well. The value of <span class="underline">NetBSD</span> is simply a boolean flag and is 1 for any NetBSD system. Thus, it cannot be used to detect the version of NetBSD. In this case, the issue is not about the version of NetBSD, but about the version of gcc. As far as I can tell from the gnu website, gcc 2.95.3 (which is the earliest one they describe) has wide character support, so I have chosen that as the condition. That version was imported into NetBSD many years ago, so it probably doesn't matter in practice that the conditional is more specific than just <span class="underline">NetBSD</span>. </p> <p> More importantly, the boolean expression in the original patch was mistaken and this one adds a critical macro definition that unfortunately is not provided by the NetBSD version of gcc but is required to provide a std::swprintf declaration (required by Boost). </p> <p> I believe this to be ready to commit, together with <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2029" title="#2029: Patches: FreeBSD specific patches to boost 1.34.0 (closed: fixed)">ticket:2029</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Mon, 28 Jul 2008 15:23:25 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2084#comment:4 https://svn.boost.org/trac10/ticket/2084#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/47853" title="Fixes #2084.">[47853]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2084" title="#2084: Bugs: Boost trunk will not build on a NetBSD machine. (closed: fixed)">#2084</a>. </p> Ticket