Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 22:37:23 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347331 - head/math/libneural
Message-ID:  <201403062237.s26MbNrV039618@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Mar  6 22:37:22 2014
New Revision: 347331
URL: http://svnweb.freebsd.org/changeset/ports/347331
QAT: https://qat.redports.org/buildarchive/r347331/

Log:
  - Fix build on 10.x

Modified:
  head/math/libneural/Makefile

Modified: head/math/libneural/Makefile
==============================================================================
--- head/math/libneural/Makefile	Thu Mar  6 22:29:15 2014	(r347330)
+++ head/math/libneural/Makefile	Thu Mar  6 22:37:22 2014	(r347331)
@@ -17,5 +17,8 @@ USE_LDCONFIG=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
 		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|iostream.h|iostream|; s|fstream.h|fstream|; s|iomanip.h|iomanip|; \
+		s|endl|std::&|g; s|cerr|std::&|g; s|cout|std::&|g; s|cin|std::&|g; s|[oi]fstream |std::&|g' \
+		${WRKSRC}/lib/neuron.cc ${WRKSRC}/lib/nnwork.cc ${WRKSRC}/examples/*.cc
 
 .include <bsd.port.mk>



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