From ff3284cf3f0fbee0ed27adbfa1e611558481f401 Mon Sep 17 00:00:00 2001 From: hrs Date: Fri, 20 Aug 2004 16:44:30 +0000 Subject: - Remove unnecessary CONFIGURE_ARGS. - Fix the build on 5.x[*]. [*]Reported by: kris --- japanese/dvi2dvi/Makefile | 1 - japanese/dvi2dvi/files/patch-defs.h | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 japanese/dvi2dvi/files/patch-defs.h diff --git a/japanese/dvi2dvi/Makefile b/japanese/dvi2dvi/Makefile index 05b967c7d9ad..53227e5c25c3 100644 --- a/japanese/dvi2dvi/Makefile +++ b/japanese/dvi2dvi/Makefile @@ -23,7 +23,6 @@ USE_GMAKE= yes MAKE_ENV+= kpathsea_parent=../${KPATHSEA_PARENT} GNU_CONFIGURE= yes CONFIGURE_WRKSRC= ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea -CONFIGURE_ARGS+= --prefix=${PREFIX} KPATHSEA_PARENT= web2c-7.2 diff --git a/japanese/dvi2dvi/files/patch-defs.h b/japanese/dvi2dvi/files/patch-defs.h new file mode 100644 index 000000000000..06e23b5dcad0 --- /dev/null +++ b/japanese/dvi2dvi/files/patch-defs.h @@ -0,0 +1,24 @@ +--- defs.h.orig Sat Aug 21 01:06:36 2004 ++++ defs.h Sat Aug 21 01:07:14 2004 +@@ -35,21 +35,11 @@ + char *realloc(); + char *calloc(); + int free(); +-#ifdef ANSI +-char *sprintf(char *, const char *, ...); +-#else +-char *sprintf(); +-#endif + #else + void *malloc(); + void *realloc(); + void *calloc(); + void free(); +-#ifdef ANSI +-int sprintf(char *, const char *, ...); +-#else +-int sprintf(); +-#endif + #endif + char *mktemp(); + char *getenv(); -- cgit