diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-11-05 12:32:05 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-11-05 12:32:05 +0000 |
commit | 2694094a42d404b5415f9fe34f60d8b27c506dc5 (patch) | |
tree | ca5f90f58c3772fc1a4faaff08c0b79eaab5c580 /sysutils/anteater | |
parent | e328c1d81528c517d53325f844db69bfdc32707e (diff) | |
download | ports-2694094a42d404b5415f9fe34f60d8b27c506dc5.tar.gz ports-2694094a42d404b5415f9fe34f60d8b27c506dc5.zip |
Notes
Diffstat (limited to 'sysutils/anteater')
-rw-r--r-- | sysutils/anteater/Makefile | 9 | ||||
-rw-r--r-- | sysutils/anteater/files/patch-anteater_asciireport.cpp | 31 | ||||
-rw-r--r-- | sysutils/anteater/files/patch-anteater_clp.cpp | 14 | ||||
-rw-r--r-- | sysutils/anteater/files/patch-anteater_htmlreport.cpp | 14 | ||||
-rw-r--r-- | sysutils/anteater/files/patch-anteater_report.cpp | 14 |
5 files changed, 81 insertions, 1 deletions
diff --git a/sysutils/anteater/Makefile b/sysutils/anteater/Makefile index 74e0c9776eb0..6530ead9be41 100644 --- a/sysutils/anteater/Makefile +++ b/sysutils/anteater/Makefile @@ -14,6 +14,13 @@ MASTER_SITES= ftp://ftp.profzone.ch/drzoom/anteater/ MAINTAINER= ports@FreeBSD.org GNU_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +# You will still get configure errors on -STABLE +# if you set CXX to a GCC3 incarnation! +.if ${OSVERSION} < 500035 CONFIGURE_ARGS= --enable-strstream +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/sysutils/anteater/files/patch-anteater_asciireport.cpp b/sysutils/anteater/files/patch-anteater_asciireport.cpp new file mode 100644 index 000000000000..861baf9845df --- /dev/null +++ b/sysutils/anteater/files/patch-anteater_asciireport.cpp @@ -0,0 +1,31 @@ + +$FreeBSD$ + +--- anteater/asciireport.cpp.orig Thu May 24 19:35:02 2001 ++++ anteater/asciireport.cpp Tue Nov 5 13:20:12 2002 +@@ -297,7 +297,7 @@ + if( !nextField() ) printSpace(); + } + +-void asciiReport::skipField( const bool realline = true ) ++void asciiReport::skipField( const bool realline) + { + if( col_list.size() == 0 ) return; // Fehler. + if( realline ) checkAutoField(); +@@ -366,14 +366,14 @@ + } + + /** Gibt width anzahl spaces aus. */ +-void asciiReport::printSpace( const int width = 1 ) ++void asciiReport::printSpace( const int width) + { + int i; + for( i = 0; i < width; i++ ) (*os).put( ' ' ); + } + + /** Zeichnet eine Linie über die gesammte Breite mit zeichen ch. */ +-void asciiReport::printLine( const char ch = '-', const int size = -1 ) ++void asciiReport::printLine( const char ch, const int size) + { + int i; + for( i = 0; i < ( size == -1 ? ScreenWidth : size ) ; i++ ) (*os).put( ch ); diff --git a/sysutils/anteater/files/patch-anteater_clp.cpp b/sysutils/anteater/files/patch-anteater_clp.cpp new file mode 100644 index 000000000000..4dada436efcf --- /dev/null +++ b/sysutils/anteater/files/patch-anteater_clp.cpp @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- anteater/clp.cpp.orig Thu May 24 19:28:50 2001 ++++ anteater/clp.cpp Tue Nov 5 13:20:12 2002 +@@ -502,7 +502,7 @@ + return true; + }; + +-bool clp::parseError( const std::string &wrong, const long line = 0 ) ++bool clp::parseError( const std::string &wrong, const long line) + { + std::cerr << "Ooops! I don't understand your parameter \"" << wrong << "\"..." << std::endl; + std::cerr << "Please check the syntax or read the manual." << std::endl << std::endl; diff --git a/sysutils/anteater/files/patch-anteater_htmlreport.cpp b/sysutils/anteater/files/patch-anteater_htmlreport.cpp new file mode 100644 index 000000000000..395295321adb --- /dev/null +++ b/sysutils/anteater/files/patch-anteater_htmlreport.cpp @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- anteater/htmlreport.cpp.orig Thu May 24 19:14:00 2001 ++++ anteater/htmlreport.cpp Tue Nov 5 13:20:12 2002 +@@ -244,7 +244,7 @@ + nextField(); + } + +-void htmlReport::skipField( const bool realline = true ) ++void htmlReport::skipField( const bool realline) + { + if( col_list.size() == 0 ) return; // Fehler. + if( realline ) checkAutoField(); diff --git a/sysutils/anteater/files/patch-anteater_report.cpp b/sysutils/anteater/files/patch-anteater_report.cpp new file mode 100644 index 000000000000..b9190241d14b --- /dev/null +++ b/sysutils/anteater/files/patch-anteater_report.cpp @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- anteater/report.cpp.orig Thu May 24 19:43:41 2001 ++++ anteater/report.cpp Tue Nov 5 13:20:12 2002 +@@ -132,7 +132,7 @@ + } + + void Report::addCol( const int colSize, const colTyp_e colTyp, const colAlign_e colAlign, +- const std::string &colTitle, const colStyle_e colStyle, const unsigned long colFlags = 0 ) ++ const std::string &colTitle, const colStyle_e colStyle, const unsigned long colFlags) + { + if( Type == TABLE ) + { |