Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 03:21:59 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456093 - head/net/yami4
Message-ID:  <201712120321.vBC3LxXe013388@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Dec 12 03:21:59 2017
New Revision: 456093
URL: https://svnweb.freebsd.org/changeset/ports/456093

Log:
  net/yami4: unbreak with GCC < 6
  
  posix/io_error_handler.cpp: In function 'void yami::details::handle_io_error_with_code(const char*, int, void (*)(void*, int, const char*), void*)':
  posix/io_error_handler.cpp:45: error: 'snprintf' is not a member of 'std'
  
  Reported by:	pkg-fallout (mips64)

Modified:
  head/net/yami4/Makefile   (contents, props changed)

Modified: head/net/yami4/Makefile
==============================================================================
--- head/net/yami4/Makefile	Tue Dec 12 03:21:20 2017	(r456092)
+++ head/net/yami4/Makefile	Tue Dec 12 03:21:59 2017	(r456093)
@@ -13,10 +13,8 @@ COMMENT=	Messaging library for distributed systems
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/gpl-3.0.txt
 
-BROKEN_powerpc64=	Does not build: error: snprintf is not a member of std
-
-# USES=		compiler:c++11-lib
 MAKE_ARGS=	OPTIONS="${CXXFLAGS}"
+CXXFLAGS+=	-D_GLIBCXX_USE_C99 # XXX ports/193528
 
 do-build :
 	${DO_MAKE_BUILD} -C ${WRKSRC}/src/core



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712120321.vBC3LxXe013388>