In article <1rlhhkINNg62@skeena.ucs.ubc.ca>, lindholm@ucs.ubc.ca (George Lindholm) writes: > In article <123645@netnews.upenn.edu> bradley@grip.cis.upenn.edu (John Bradley) writes: > >No, not another false alarm, not a "It'll certainly be done by *next* week" > >message...  No, this is the real thing.  I repeat, this is *not* a drill! > > > >Batten down the hatches, hide the women, and lock up the cows, XV 3.00 has > >finally escaped.  I was cleaning its cage this morning when it overpowered > >me, broke down the office door, and fled the lab.  It was last seen heading > >in the general direction of export.lcs.mit.edu at nearly 30k per second... > > > >If found, it answers to the name of 'contrib/xv-3.00.tar.Z'. > > > >Have a blast.  I'm off to the vacation capital of the U.S.:  Waco, Texas. >  > And here is the first patch :-) The following fixes some problems with the > Imakefile files and makes it possible to compile xv-3.00 under Solaris without  > having to use the ucb stuff:  Oops, I didn't get the signal processing right (thats what I get from doing the work on an ascii terminal). Here is the fixed patch:  *** 1.1	1993/04/28 06:05:03 --- Imakefile	1993/04/28 08:20:35 *************** *** 209,215 ****   OBJS4=	xcmap.o      PROGRAMS= xv bggen vdcomp xcmap !       #if defined(HaveJpeg) || defined(HaveTiff)   #  ifdef HaveJpeg --- 209,218 ----   OBJS4=	xcmap.o      PROGRAMS= xv bggen vdcomp xcmap ! all:: ! 	@echo "" ! 	@echo "  Did you remember to 'make depend' first?" ! 	@echo ""      #if defined(HaveJpeg) || defined(HaveTiff)   #  ifdef HaveJpeg *************** *** 222,238 ****        SUBDIRS = tiff   #  endif   #  define PassCDebugFlags      MakeSubdirs($(SUBDIRS)) -    DependSubdirs($(DUBDIRS))   #endif         all:: - 	@echo "" - 	@echo "  Did you remember to 'make depend' first?" - 	@echo "" -  - all::   	@echo "  building xv ..."   	@echo ""    --- 225,236 ----        SUBDIRS = tiff   #  endif   #  define PassCDebugFlags + #  define IHaveSubdirs      MakeSubdirs($(SUBDIRS))   #endif         all::   	@echo "  building xv ..."   	@echo ""    *************** *** 259,267 ****         SRCS = $(SRCS1) $(SRCS2) $(SRCS3) $(SRCS4) - DependTarget()        AllTarget($(PROGRAMS))      NormalProgramTarget(xv,$(OBJS1),$(DEPLIBS),$(LOCAL_LIBRARIES),)   NormalProgramTarget(bggen,$(OBJS2),$(DEPLIBS),$(LOCAL_LIBRARIES),) --- 257,269 ----         SRCS = $(SRCS1) $(SRCS2) $(SRCS3) $(SRCS4)      +    AllTarget($(PROGRAMS)) + DependTarget() + #ifdef IHaveSubdirs +    DependSubdirs($(SUBDIRS)) + #endif      NormalProgramTarget(xv,$(OBJS1),$(DEPLIBS),$(LOCAL_LIBRARIES),)   NormalProgramTarget(bggen,$(OBJS2),$(DEPLIBS),$(LOCAL_LIBRARIES),) *** 1.1	1993/04/28 06:09:50 --- xcmap.c	1993/04/28 07:09:03 *************** *** 9,15 **** --- 9,19 ----      /* include files */   #include <stdio.h> + #if defined(sun) && defined(SYSV) + #include <string.h> + #else   #include <strings.h> + #endif   #include <ctype.h>      #include <X11/Xos.h> *** 1.1	1993/04/28 08:33:13 --- xv.h	1993/04/28 17:47:38 *************** *** 284,292 **** --- 284,298 ----         /* signal macros */ + #if defined(sun) && defined(SYSV) + #define HOLD_SIG         sighold(SIGALRM) + #define RELEASE_SIG      sigrelse(SIGALRM) + #define PAUSE_SIG        sigpause(SIGALRM) + #else   #define HOLD_SIG         sigblock(sigmask(SIGALRM))   #define RELEASE_SIG      sigblock(0)   #define PAUSE_SIG        sigpause(0) + #endif         /* default for most folks */ *************** *** 318,323 **** --- 324,333 ----   #define random  rand   #define srandom srand   #endif + #if defined(sun) && defined(SYSV) + #define random() rand() + #define srandom(x) srand(x) + #endif          *** 1.1	1993/04/28 06:17:41 --- tiff/Imakefile	1993/04/28 08:53:34 *************** *** 49,59 **** --- 49,69 ----      tif_compress.o: Imakefile    + #if HasGcc   g3states.h: mkg3states.c t4.h           -${RM} g3states.h + 	${CC} -traditional -o mkg3states ${CFLAGS} mkg3states.c +         ./mkg3states > g3states.h || rm g3states.h + #else + g3states.h: mkg3states.c t4.h +         -${RM} g3states.h           ${CC} -o mkg3states ${CFLAGS} mkg3states.c           ./mkg3states > g3states.h || rm g3states.h + #endif      depend:: g3states.h