svn commit: r342590 - in head/print/ansiprint: . files
Pawel Pekala
pawel at FreeBSD.org
Tue Feb 4 19:10:52 UTC 2014
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 *****/
+
More information about the svn-ports-all
mailing list