Subject: xv and Solaris 2.3

From: [email-masked] (Hans Werner Strube)
Date: Tue, 26 Apr 1994 15:18:54 GMT

I used the following fixes for xv-3.00 to make it under Solaris 2.3:

*** xv.h

286a287,291
> #ifdef SVR4
> #define HOLD_SIG         sighold(SIGALRM)
> #define RELEASE_SIG      sigrelse(SIGALRM)
> #define PAUSE_SIG        sigpause(SIGALRM)
> #else
289a295
> #endif

*** xcmap.c

11a12,14
> #ifdef SVR4
> #include <string.h>
> #else
12a16
> #endif

*** diff Makefile.std Makefile.sunos5

9c9,10
< CC = cc
---
> #CC = cc -Xs -DSYSV # fails on tiff/tif_fax3.c, therefore:
> CC = gcc -traditional -DSYSV -Dsparc
14c15
< CCOPTS = -O
---
> CCOPTS = -O -I/usr/openwin/include
38c39
< #UNIX = -DSVR4
---
> UNIX = -DSVR4
75c76
< #GS_PATH=-DGS_PATH=\"/pkg/bin/gs\"
---
> GS_PATH=-DGS_PATH=\"/dpi/bin/gs\"
77c78
< #GS_DEV=-DGS_DEV=\"pbmraw\"
---
> GS_DEV=-DGS_DEV=\"pbmraw\"
138c139
< #RAND = -DNO_RANDOM
---
> RAND = -DNO_RANDOM
193c194
< LIBS = -lX11 $(LIBJPEG) $(LIBTIFF) -lm
---
> LIBS = -R/usr/openwin/lib -L/usr/openwin/lib -lX11 $(LIBJPEG) $(LIBTIFF)\
 -lm -lnsl

--
 Hans Werner Strube          [email-masked]
 Drittes Physikalisches Institut,  Univ. Goettingen
 Buergerstr. 42-44,   D-37073 Goettingen,   Germany
 Phone: +49(551)39-7729        Fax: +49(551)39-7720