svn commit: r456093 - head/net/yami4

Jan Beich jbeich at FreeBSD.org
Tue Dec 12 03:22:01 UTC 2017


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


More information about the svn-ports-head mailing list