Fix: --- libc++.diff begins here --- How-To-Repeat: $ make [...] /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -pipe -stdlib=libc++ -MT message.lo -MD -MP -MF .deps/message.Tpo -c -o message.lo `test -f 'google/protobuf/message.cc' || echo './'`google/protobuf/message.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -pipe -stdlib=libc++ -MT message.lo -MD -MP -MF .deps/message.Tpo -c google/protobuf/message.cc -fPIC -DPIC -o .libs/message.o google/protobuf/message.cc:130:60: error: implicit instantiation of undefined template 'std::__1::basic_istream<char, std::__1::char_traits<char> >' return ParseFromZeroCopyStream(&zero_copy_input) && input->eof(); ^ /usr/include/c++/v1/iosfwd:108:27: note: template is declared here class _LIBCPP_VISIBLE basic_istream; ^ google/protobuf/message.cc:135:67: error: implicit instantiation of undefined template 'std::__1::basic_istream<char, std::__1::char_traits<char> >' return ParsePartialFromZeroCopyStream(&zero_copy_input) && input->eof(); ^ /usr/include/c++/v1/iosfwd:108:27: note: template is declared here class _LIBCPP_VISIBLE basic_istream; ^ google/protobuf/message.cc:175:16: error: implicit instantiation of undefined template 'std::__1::basic_ostream<char, std::__1::char_traits<char> >' return output->good(); ^ /usr/include/c++/v1/iosfwd:110:27: note: template is declared here class _LIBCPP_VISIBLE basic_ostream; ^ 3 errors generated. gmake[2]: *** [message.lo] Error 1
Responsible Changed From-To: freebsd-ports-bugs->vanilla Over to maintainer (via the GNATS Auto Assign Tool)
vanilla 2012-03-14 15:18:38 UTC FreeBSD ports repository Added files: devel/protobuf/files patch-src-google-protobuf-message.cc Log: Fix compile with libc++. PR: ports/166011 Submitted by: Jan Beich <jbeich at tormail.net> Feature safe: yes Revision Changes Path 1.1 +10 -0 ports/devel/protobuf/files/patch-src-google-protobuf-message.cc (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks.