diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2000-03-30 20:40:56 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2000-03-30 20:40:56 +0000 |
commit | 26f75633037ac278115d832b788f8030d78f4ce3 (patch) | |
tree | bd1b955a672acd3b354980dfc7d180770eceb7a7 /devel/cccc | |
parent | 5ccbcfb9299582f48c7bbd9128a730a659a629a0 (diff) | |
download | ports-26f75633037ac278115d832b788f8030d78f4ce3.tar.gz ports-26f75633037ac278115d832b788f8030d78f4ce3.zip |
Notes
Diffstat (limited to 'devel/cccc')
-rw-r--r-- | devel/cccc/Makefile | 2 | ||||
-rw-r--r-- | devel/cccc/files/patch-ac | 12 | ||||
-rw-r--r-- | devel/cccc/files/patch-ad | 11 |
3 files changed, 23 insertions, 2 deletions
diff --git a/devel/cccc/Makefile b/devel/cccc/Makefile index d50e19372cb6..ee1df0a9db44 100644 --- a/devel/cccc/Makefile +++ b/devel/cccc/Makefile @@ -17,8 +17,6 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= antlr:${PORTSDIR}/devel/pccts \ dlg:${PORTSDIR}/devel/pccts -BROKEN= pccts upgrade - WRKSRC= ${WRKDIR}/usr/local/src/cccc-2.1.1 USE_GMAKE= yes MAKEFILE= makefile diff --git a/devel/cccc/files/patch-ac b/devel/cccc/files/patch-ac new file mode 100644 index 000000000000..5042ca223dc6 --- /dev/null +++ b/devel/cccc/files/patch-ac @@ -0,0 +1,12 @@ +--- cccc_utl.cc.orig Thu Mar 30 12:22:38 2000 ++++ cccc_utl.cc Thu Mar 30 12:25:29 2000 +@@ -212,7 +212,8 @@ + for(i=0;i<pssLAST; i++) { + CCCC_String sep; + if(i==pssMODULE) { sep="::"; } else { sep=" "; } +- if(string[i]!="") { os << string[i] << sep; } ++ if(static_cast<const char*>(string[i])!="") ++ os << string[i] << sep; + } + os << " Attributes: "; + for(i=0; i<psfLAST; i++) { diff --git a/devel/cccc/files/patch-ad b/devel/cccc/files/patch-ad new file mode 100644 index 000000000000..8273415f149a --- /dev/null +++ b/devel/cccc/files/patch-ad @@ -0,0 +1,11 @@ +--- cccc_ast.h.orig Thu Mar 30 12:12:38 2000 ++++ cccc_ast.h Thu Mar 30 12:13:01 2000 +@@ -72,7 +72,7 @@ + int nEndLine(); + + // access function for counts accumulated from tokens included in the AST +- getCount(TokenCount tc); ++ int getCount(TokenCount tc); + + char *filename, *classname, *membername; + |