I received an e-mail this morning from pkg-fallout because the print/ansiprint port I maintain is now failing to build on 10-CURRENT (http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s/logs/ansiprint-1.0.log) ===> Building for ansiprint-1.0 cd /wrkdirs/usr/ports/print/ansiprint/work/ansiprint-1.0 && c++ -O2 -pipe -fno-strict-aliasing -Wno-deprecated -o ansiprint ansiprint.cc ansiprint.cc:39:10: fatal error: 'iostream.h' file not found #include <iostream.h> ^ 1 error generated. *** Error code 1 I assume it's because this old program includes <iostream.h> instead of <iostream>. Can you try changing that to see if it builds again? The port still builds on my 9.1-RELEASE machine.
Responsible Changed From-To: freebsd-ports-bugs->pawel I'll take it.
Author: pawel Date: Tue Feb 4 19:10:51 2014 New Revision: 342590 URL: http://svnweb.freebsd.org/changeset/ports/342590 QAT: https://qat.redports.org/buildarchive/r342590/ Log: - Fix build with clang [1] - Support stage PR: ports/182043 [1] Submitted by: maintainer MFH: 2014Q1 Added: head/print/ansiprint/files/ head/print/ansiprint/files/patch-ansiprint.cc (contents, props changed) Modified: head/print/ansiprint/Makefile Modified: head/print/ansiprint/Makefile ============================================================================== --- head/print/ansiprint/Makefile Tue Feb 4 19:04:17 2014 (r342589) +++ head/print/ansiprint/Makefile Tue Feb 4 19:10:51 2014 (r342590) @@ -14,7 +14,6 @@ PLIST_FILES= bin/${PORTNAME} CXXFLAGS+= -Wno-deprecated -NO_STAGE= yes post-extract: @${RM} ${WRKSRC}/Makefile @@ -22,6 +21,6 @@ do-build: cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} ansiprint.cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> Added: head/print/ansiprint/files/patch-ansiprint.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/ansiprint/files/patch-ansiprint.cc Tue Feb 4 19:10:51 2014 (r342590) @@ -0,0 +1,18 @@ +--- ./ansiprint.cc.orig 2014-02-04 20:01:43.741062023 +0100 ++++ ./ansiprint.cc 2014-02-04 20:02:11.131060123 +0100 +@@ -36,13 +36,14 @@ + #undef NOPRINT + + // INCLUDES +-#include <iostream.h> ++#include <iostream> + #include <string.h> // Check to be sure we need this + #include <stdlib.h> + // below are the includes for raw I/O + #include <fcntl.h> + #include <unistd.h> + ++using namespace std; + + /***** GLOBAL VARIABLE DECLARATIONS *****/ + _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
Author: pawel Date: Tue Feb 4 19:37:12 2014 New Revision: 342598 URL: http://svnweb.freebsd.org/changeset/ports/342598 QAT: https://qat.redports.org/buildarchive/r342598/ Log: MFH: r342590 - Fix build with clang [1] - Support stage PR: ports/182043 [1] Submitted by: maintainer Approved by: portmgr (erwin) Added: branches/2014Q1/print/ansiprint/files/ - copied from r342590, head/print/ansiprint/files/ Modified: branches/2014Q1/print/ansiprint/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/print/ansiprint/Makefile ============================================================================== --- branches/2014Q1/print/ansiprint/Makefile Tue Feb 4 19:34:34 2014 (r342597) +++ branches/2014Q1/print/ansiprint/Makefile Tue Feb 4 19:37:12 2014 (r342598) @@ -14,7 +14,6 @@ PLIST_FILES= bin/${PORTNAME} CXXFLAGS+= -Wno-deprecated -NO_STAGE= yes post-extract: @${RM} ${WRKSRC}/Makefile @@ -22,6 +21,6 @@ do-build: cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} ansiprint.cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"