diff -ru lslk_1.29/Configure lslk_1.29osr/Configure --- lslk_1.29/Configure 2001-01-08 13:27:35.000000000 -0500 +++ lslk_1.29osr/Configure 2003-11-11 00:24:29.000000000 -0500 @@ -375,9 +375,12 @@ LSLK_VERS="42" ;; 3.2v5.0.*) - LSLK_CFGF="-belf" + # brian@aljex.com - ugly hack. + # just changed native cc assumptions to equivalent gcc ones + LSLK_CC="gcc" + LSLK_CFGF="" LSLK_CFGL="-lsocket" - LSLK_DEBUG="-O3 -Kspace" + LSLK_DEBUG="-O2 -s" LSLK_VERS="500" ;; *) diff -ru lslk_1.29/dialects/osr/Makefile lslk_1.29osr/dialects/osr/Makefile --- lslk_1.29/dialects/osr/Makefile 1996-08-27 11:47:19.000000000 -0400 +++ lslk_1.29osr/dialects/osr/Makefile 2003-11-11 00:27:58.000000000 -0500 @@ -34,21 +34,9 @@ rm -f machine.h.old new_machine.h install: all FRC - @echo '' - @echo 'Please write your own install rule. Lslk should be installed' - @echo 'setgid to the group that can can read /dev/kmem. Normally' - @echo 'that is the kmem group. Your install rule actions might look' - @echo 'something like this:' - @echo '' - @echo ' install -m 2755 -g kmem ${PROG} ' - @echo ' install -m 444 ${MAN} ' - @echo '' - @echo 'You may have to put additional values in , as required' - @echo 'by the install application in your version of Solaris. You' - @echo 'will have to set the appropriate destination for the lslk' - @echo 'executable in ; the appropriate destination' - @echo 'for the man page in .' - @echo '' + # brian@aljex.com + install -m 2755 -g mem lslk /usr/local/bin + install -m 444 lslk.8 /usr/local/man/man.8 version.h: FRC @echo Constructing version.h diff -ru lslk_1.29/dialects/osr/dlock.c lslk_1.29osr/dialects/osr/dlock.c --- lslk_1.29/dialects/osr/dlock.c 1999-11-10 15:01:08.000000000 -0500 +++ lslk_1.29osr/dialects/osr/dlock.c 2003-11-11 00:08:43.000000000 -0500 @@ -72,9 +72,10 @@ #if defined(HAS_NFS) _PROTOTYPE(static struct l_NFS_lock *alloc_l_NFS_lock,(char *hn)); _PROTOTYPE(static int lkup_NFS_lock,(struct inode *ik)); -_PROTOTYPE(static int open_kmem,(int nx)); _PROTOTYPE(static char *rd_clnt_hn,(netobj *c)); #endif /* defined(HAS_NFS) */ +_PROTOTYPE(static int open_kmem,(int nx)); + #if !defined(N_UNIX) _PROTOTYPE(static int is_boot,(char *p)); @@ -336,7 +337,11 @@ Exit(1); } for (err = i = 0; Nl[i].n_name[0]; i++) { +#if defined(HAS_NFS) if (i == X_LCKSVR) +#else /* !defined(HAS_NFS) */ + if (i == X_NXD) +#endif /* defined(HAS_NFS) */ continue; if (!Nl[i].n_value) { (void) fprintf(stderr, "%s: no nlist address for %s\n",