diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-06 04:53:33 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-06 04:53:33 +0000 |
commit | 7e0afc569539fa9b4b9213cc8b416050279b973a (patch) | |
tree | 5b0762a26e6ad4e57dc123f1ab8bf805e0ef3f6d /devel/cssc | |
parent | Unbreak the build with recent GCC. (diff) |
Unbreak on 5.X and -CURRENT.
Reported by: kris
Approved by: portmgr (krion), fjoe (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=118559
Diffstat (limited to 'devel/cssc')
-rw-r--r-- | devel/cssc/Makefile | 8 | ||||
-rw-r--r-- | devel/cssc/files/patch-sf-delta.cc | 14 | ||||
-rw-r--r-- | devel/cssc/files/patch-sf-prs.cc | 14 |
3 files changed, 29 insertions, 7 deletions
diff --git a/devel/cssc/Makefile b/devel/cssc/Makefile index 57cb1fd400ee..e4e8b3c86c8e 100644 --- a/devel/cssc/Makefile +++ b/devel/cssc/Makefile @@ -23,10 +23,4 @@ INFO= cssc WRKSRC= ${WRKDIR}/CSSC-0.15alpha.pl0 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/cssc/files/patch-sf-delta.cc b/devel/cssc/files/patch-sf-delta.cc new file mode 100644 index 000000000000..7e6c9b6bd13f --- /dev/null +++ b/devel/cssc/files/patch-sf-delta.cc @@ -0,0 +1,14 @@ +--- sf-delta.cc.orig Fri Oct 1 18:10:43 2004 ++++ sf-delta.cc Fri Oct 1 18:31:01 2004 +@@ -533,8 +533,10 @@ + return false; + } + FileDeleter another_cleaner(dname, false); ++ ++ delta d; + +- struct subst_parms parms(get_out, NULL, delta(), ++ struct subst_parms parms(get_out, NULL, d, + 0, sccs_date()); // XXX: was sccs_date(NULL) (bad!) + seq_state gsstate(sstate); + diff --git a/devel/cssc/files/patch-sf-prs.cc b/devel/cssc/files/patch-sf-prs.cc new file mode 100644 index 000000000000..30ec9e2a2d13 --- /dev/null +++ b/devel/cssc/files/patch-sf-prs.cc @@ -0,0 +1,14 @@ +--- sf-prs.cc.orig Fri Oct 1 18:32:28 2004 ++++ sf-prs.cc Fri Oct 1 18:32:50 2004 +@@ -43,8 +43,10 @@ + { + sid_list no_includes, no_excludes; + sccs_date no_cutoff; ++ ++ delta d; + +- struct subst_parms parms(out, NULL, delta(), 0, ++ struct subst_parms parms(out, NULL, d, 0, + sccs_date()); // XXX: was sccs_date(NULL) (bad!) + class seq_state state(highest_delta_seqno()); + |