On Sat, 22 Jun 2013 00:27:53 +0200 Dimitry Andric <d...@freebsd.org> wrote:
> > No, db5 does not build because it is redefining a C++11 standard > > library identifier, atomic_init(). It should probably prefix all > > its internal defines with 'db_', to avoid collisions. The > > db-5.3.21/src/dbinc/atomic.h file is already patched by our port to > > avoid one such collision, but it is probably necessary to do this > > again for any other identifiers that are used either by C++, or are > > compiler builtins. > > Attached is a diff to fix the db5 port, so it correctly builds with > CXXFLAGS?=-std=c++11 -stdlib=libc++. Matthias, could you please have > a look at it? > > After db5 (compiled with libc++) was installed, Hi Matthias, I just tested building databases/db5 on 9.2-BETA1 (which ships with clang 3.3) using c++11 and libc++ and ran into the same problem. Dimitry's patch applied cleanly and resolved the issue. Do you think you could commit his patch to db5? Cheers, Michael -- Michael Gmelin _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"