diff options
author | nectar <nectar@FreeBSD.org> | 2000-03-31 04:40:56 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2000-03-31 04:40:56 +0800 |
commit | ad4b2359e17e17b94e66748dd998a635e14f9f88 (patch) | |
tree | da5e2faf7f384b7c5e38bc79464ca028295c3214 /devel | |
parent | 6ebe491727f064dc779534febb7849d3a91271f4 (diff) | |
download | freebsd-ports-gnome-ad4b2359e17e17b94e66748dd998a635e14f9f88.tar.gz freebsd-ports-gnome-ad4b2359e17e17b94e66748dd998a635e14f9f88.tar.zst freebsd-ports-gnome-ad4b2359e17e17b94e66748dd998a635e14f9f88.zip |
Unbreak.
Diffstat (limited to 'devel')
-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; + |