On Mon, Oct 08, 2018 at 11:51:35PM +0200, Rafael Sadowski wrote: > On Sun Oct 07, 2018 at 04:05:30PM -0600, lan...@openbsd.org wrote: > > http://build-failures.rhaalovely.net//sparc64/2018-09-30/security/hashdeep.log > > I can reproduce the compiler error. hashdeep needs a C++11 compiler. > Tested with ports-gcc and base-clang on amd64 but should build on > sparc64 too.
Confirmed (and tested on amd64). OK feinerer@ > Index: Makefile > =================================================================== > RCS file: /cvs/ports/security/hashdeep/Makefile,v > retrieving revision 1.2 > diff -u -p -u -p -r1.2 Makefile > --- Makefile 6 Jul 2018 19:01:21 -0000 1.2 > +++ Makefile 8 Oct 2018 21:48:29 -0000 > @@ -5,6 +5,7 @@ COMMENT = tools to compute hashes recur > GH_ACCOUNT = jessek > GH_PROJECT = hashdeep > GH_TAGNAME = v4.4 > +REVISION = 0 > > CATEGORIES = security > > @@ -15,6 +16,9 @@ PERMIT_PACKAGE_CDROM = Yes > > WANTLIB += ${COMPILER_LIBCXX} c m > > +# C++11 nullptr > +COMPILER = base-clang ports-clang ports-gcc > + > BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \ > ${MODGNU_AUTOMAKE_DEPENDS} > > @@ -25,6 +29,8 @@ AUTOCONF_VERSION = 2.69 > AUTOMAKE_VERSION = 1.15 > > NO_TEST = Yes > + > +CXXFLAGS = -std=c++11 > > pre-configure: > cd ${WRKSRC} && \