diff -ru xv-3.10a/Makefile xv-3.10a-patched/Makefile --- xv-3.10a/Makefile Mon Jan 23 12:20:54 1995 +++ xv-3.10a-patched/Makefile Sat Oct 27 01:18:51 2001 @@ -14,7 +14,7 @@ # -Wuninitialized -Wparentheses -CCOPTS = -O +CCOPTS = -O -no-cpp-precomp -L/usr/X11R6/lib -I/usr/X11R6/include ### NOTE: Sun running OpenWindows: @@ -27,11 +27,11 @@ ### '-I' options on the CCOPTS line to tell the compiler where said files are. -### Installation locations -BINDIR = /usr/local/bin -MANDIR = /usr/local/man/man1 +###Installation locations +BINDIR = FINKINSTALLPREFIX/bin +MANDIR = FINKINSTALLPREFIX/share/man/man1 MANSUF = 1 -LIBDIR = /usr/local/lib +LIBDIR = FINKINSTALLPREFIX/lib buildit: all @@ -237,6 +237,9 @@ install: all + mkdir -p $(BINDIR) + mkdir -p $(MANDIR) + mkdir -p $(LIBDIR) cp xv bggen vdcomp xcmap xvpictoppm $(BINDIR) cp docs/xv.man $(MANDIR)/xv.$(MANSUF) cp docs/bggen.man $(MANDIR)/bggen.$(MANSUF) diff -ru xv-3.10a/vdcomp.c xv-3.10a-patched/vdcomp.c --- xv-3.10a/vdcomp.c Thu Dec 22 14:34:47 1994 +++ xv-3.10a-patched/vdcomp.c Wed Oct 24 14:51:57 2001 @@ -96,6 +96,8 @@ #include #include +#define NeXT + /* include a malloc.h, of some sort... */ #ifndef VMS /* VMS hates multi-line '#if's */ # if !defined(ibm032) && \ diff -ru xv-3.10a/xv.h xv-3.10a-patched/xv.h --- xv-3.10a/xv.h Mon Jan 23 12:22:23 1995 +++ xv-3.10a-patched/xv.h Wed Oct 24 14:36:41 2001 @@ -11,6 +11,9 @@ #define REVDATE "Version 3.10a Rev: 12/29/94" #define VERSTR "3.10a" +#define __NetBSD__ +#define NeXT + /* * uncomment the following, and modify for your site, but only if you've * actually registered your copy of XV...