aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-10-06 12:53:33 +0800
committerdanfe <danfe@FreeBSD.org>2004-10-06 12:53:33 +0800
commit28478251aee213f4aa752de4c19b75fad9337a10 (patch)
tree5b7cfeb7c998f78fa22efecb8fd37a1917e3749d /devel
parent939d1cbff7dc9fcfc3cff6d3f2899294555d3f38 (diff)
downloadfreebsd-ports-graphics-28478251aee213f4aa752de4c19b75fad9337a10.tar.gz
freebsd-ports-graphics-28478251aee213f4aa752de4c19b75fad9337a10.tar.zst
freebsd-ports-graphics-28478251aee213f4aa752de4c19b75fad9337a10.zip
Unbreak on 5.X and -CURRENT.
Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit)
Diffstat (limited to 'devel')
-rw-r--r--devel/cssc/Makefile8
-rw-r--r--devel/cssc/files/patch-sf-delta.cc14
-rw-r--r--devel/cssc/files/patch-sf-prs.cc14
3 files changed, 29 insertions, 7 deletions
diff --git a/devel/cssc/Makefile b/devel/cssc/Makefile
index 57cb1fd400e..e4e8b3c86c8 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 00000000000..7e6c9b6bd13
--- /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 00000000000..30ec9e2a2d1
--- /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());
+