aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/prn
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-01-20 11:34:05 +0800
committermaho <maho@FreeBSD.org>2005-01-20 11:34:05 +0800
commitca48ed3c34fa957ad819d135045da9f718c9833a (patch)
treec63ed9ab2315f20fa4f5c4703a6ee36c7c4b676d /japanese/prn
parent4b88f78df580868c898c0ad80c32c39fcc521d93 (diff)
downloadfreebsd-ports-gnome-ca48ed3c34fa957ad819d135045da9f718c9833a.tar.gz
freebsd-ports-gnome-ca48ed3c34fa957ad819d135045da9f718c9833a.tar.zst
freebsd-ports-gnome-ca48ed3c34fa957ad819d135045da9f718c9833a.zip
Fix build for 5.x
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