aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/prn
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/prn')
-rw-r--r--japanese/prn/Makefile8
-rw-r--r--japanese/prn/files/patch-reg.y12
2 files changed, 13 insertions, 7 deletions
diff --git a/japanese/prn/Makefile b/japanese/prn/Makefile
index 7a24166f9a62..1d96200a36ca 100644
--- a/japanese/prn/Makefile
+++ b/japanese/prn/Makefile
@@ -21,10 +21,4 @@ MANLANG= ja
MAN1= prn.1 cprn.1 cmt.1 psconv.1
MAN5= cmtdefs.5
-.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/japanese/prn/files/patch-reg.y b/japanese/prn/files/patch-reg.y
new file mode 100644
index 000000000000..0fc5d19866b5
--- /dev/null
+++ b/japanese/prn/files/patch-reg.y
@@ -0,0 +1,12 @@
+--- reg.y.org Mon Nov 29 18:43:56 1993
++++ reg.y Thu Jan 20 12:29:44 2005
+@@ -286,7 +286,7 @@
+ * Node Creation Functions *
+ * *
+ **********************************************************************/
+-extern void error();
++extern void error(char *, ...);
+
+
+ /*---------------------------------------------------------------------
+ NAME