From aa620d8457ceeb2ec6543dde65f75190a8375153 Mon Sep 17 00:00:00 2001 From: mita Date: Mon, 17 Feb 2003 13:50:08 +0000 Subject: Maintainer's update: unbreak japanese/dvi2ps for 5-current --- japanese/dvi2ps/Makefile | 6 +----- japanese/dvi2ps/files/patch-ad | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 japanese/dvi2ps/files/patch-ad (limited to 'japanese/dvi2ps') 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 -.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); -- cgit v1.1