aboutsummaryrefslogtreecommitdiff
path: root/japanese/dvi2ps
diff options
context:
space:
mode:
authorYoshio MITA <mita@FreeBSD.org>2003-02-17 13:50:08 +0000
committerYoshio MITA <mita@FreeBSD.org>2003-02-17 13:50:08 +0000
commitcb42a4163d44c042fa60a98236048958b8ab90a5 (patch)
treecf625987a3606983fee537b4810136254722ea13 /japanese/dvi2ps
parent52a978dcf35b0b0c491153b2e868742798af972b (diff)
downloadports-cb42a4163d44c042fa60a98236048958b8ab90a5.tar.gz
ports-cb42a4163d44c042fa60a98236048958b8ab90a5.zip
Maintainer's update: unbreak japanese/dvi2ps for 5-current
Notes
Notes: svn path=/head/; revision=75700
Diffstat (limited to 'japanese/dvi2ps')
-rw-r--r--japanese/dvi2ps/Makefile6
-rw-r--r--japanese/dvi2ps/files/patch-ad20
2 files changed, 21 insertions, 5 deletions
diff --git a/japanese/dvi2ps/Makefile b/japanese/dvi2ps/Makefile
index 933e10c3da0a..9feaecb8b39b 100644
--- a/japanese/dvi2ps/Makefile
+++ b/japanese/dvi2ps/Makefile
@@ -21,17 +21,13 @@ MANLANG= "" ja
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 500000
-BROKEN= "Does not compile"
-.endif
-
post-patch:
@(cd ${WRKSRC}; make newlib)
post-build:
@(cd ${WRKSRC}/tools; \
cc -O -o nup nup.c; \
- cc -O -traditional -o texfix texfix.c\
+ cc -O -o texfix texfix.c\
)
post-install:
@(cd ${WRKSRC}; \
diff --git a/japanese/dvi2ps/files/patch-ad b/japanese/dvi2ps/files/patch-ad
new file mode 100644
index 000000000000..bcc0e14f162d
--- /dev/null
+++ b/japanese/dvi2ps/files/patch-ad
@@ -0,0 +1,20 @@
+--- tools/texfix.c.orig Fri Sep 25 12:35:18 1992
++++ tools/texfix.c Sat Feb 15 01:00:24 2003
+@@ -35,7 +35,7 @@
+ char line[BUFSIZ], line2[BUFSIZ];
+ char tmpstr[] = "/tmp/tfXXXXXX";
+ char *tmpfn;
+-int cleanup();
++void cleanup();
+
+ main()
+ {
+@@ -111,7 +111,7 @@
+ return 1;
+ }
+
+-cleanup()
++void cleanup()
+ {
+ unlink(tmpfn);
+ exit(0);