summaryrefslogtreecommitdiffstats
path: root/japanese/dvi2ps
diff options
context:
space:
mode:
authormita <mita@FreeBSD.org>2003-02-17 13:50:08 +0000
committermita <mita@FreeBSD.org>2003-02-17 13:50:08 +0000
commitaa620d8457ceeb2ec6543dde65f75190a8375153 (patch)
tree77df9afd6cd6be48d0a0b0debb397ada6816def6 /japanese/dvi2ps
parent4aa6769e25a7f2c571c8f8944dedc7769a3cfa2c (diff)
downloadFreeBSD-ports-aa620d8457ceeb2ec6543dde65f75190a8375153.zip
FreeBSD-ports-aa620d8457ceeb2ec6543dde65f75190a8375153.tar.gz
Maintainer's update: unbreak japanese/dvi2ps for 5-current
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 933e10c..9feaecb 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 0000000..bcc0e14
--- /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);
OpenPOWER on IntegriCloud