1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/devel/breakpad/Makefile
Jan Beich 8534e7d77a devel/breakpad: require C++11 toolchain (on powerpc*, mips*, sparc*)
checking whether /nxb-bin/usr/bin/c++ supports C++11 features by default... no
checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -std=c++11... no
checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -std=c++0x... no
checking whether /nxb-bin/usr/bin/c++ supports C++11 features with +std=c++11... no
checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -h std=c++11... no
configure: error: *** A compiler with support for C++11 language features is required.

In file included from src/processor/basic_code_modules.cc:46:
./src/processor/range_map-inl.h:132:14: error: no matching member function for call to 'erase'
        map_.erase(iterator_high);
        ~~~~~^~~~~
./src/processor/range_map-inl.h:64:10: note: in instantiation of member function
      'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::StoreRangeInternal' requested here
  return StoreRangeInternal(base, 0 /* delta */, size, entry);
         ^
src/processor/basic_code_modules.cc:71:15: note: in instantiation of member function
      'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::StoreRange' requested here
    if (!map_.StoreRange(module->base_address(), module->size(), module)) {
              ^
/usr/include/c++/4.2/bits/stl_map.h:453:7: note: candidate function not viable: no known conversion
      from 'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::MapConstIterator' (aka '_Rb_tree_const_iterator<std::pair<const
      unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::Range> >') to 'std::map<unsigned long,
      google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::Range, std::less<unsigned long>, std::allocator<std::pair<const
      unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::Range> > >::iterator' (aka '_Rb_tree_iterator<std::pair<const
      unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::Range> >') for 1st argument
      erase(iterator __position)
      ^
/usr/include/c++/4.2/bits/stl_map.h:468:7: note: candidate function not viable: no known conversion
      from 'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::MapConstIterator' (aka '_Rb_tree_const_iterator<std::pair<const
      unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::Range> >') to 'const std::map<unsigned long,
      google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::Range, std::less<unsigned long>, std::allocator<std::pair<const
      unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
      google_breakpad::CodeModule> >::Range> > >::key_type' (aka 'const unsigned long') for 1st
      argument
      erase(const key_type& __x)
      ^
/usr/include/c++/4.2/bits/stl_map.h:483:7: note: candidate function not viable: requires 2 arguments,
      but 1 was provided
      erase(iterator __first, iterator __last)
      ^
1 error generated.

Reported by:	pkg-fallout (mips64)
2017-12-12 02:22:10 +00:00

26 lines
572 B
Makefile

# Created by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
# $FreeBSD$
PORTNAME= breakpad
DISTVERSION= g20170811
CATEGORIES= devel
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= Client/server based crash-reporting system
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= autoreconf compiler:c++11-lib
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= google
GH_TAGNAME= 38cbbfed71efcb28931b5e4a83e3c0d4661f1548
post-extract:
@${MKDIR} ${WRKSRC}/src/third_party/lss
@${CP} ${FILESDIR}/linux_syscall_support.h ${WRKSRC}/src/third_party/lss
.include <bsd.port.mk>