diff options
Diffstat (limited to 'plan9/sam/patches/patch-ad')
-rw-r--r-- | plan9/sam/patches/patch-ad | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/plan9/sam/patches/patch-ad b/plan9/sam/patches/patch-ad new file mode 100644 index 00000000000..d444b917162 --- /dev/null +++ b/plan9/sam/patches/patch-ad @@ -0,0 +1,119 @@ +*** sam/Makefile.orig Mon Jul 31 15:45:40 1995 +--- sam/Makefile Mon Jul 31 15:46:24 1995 +*************** +*** 1,18 **** + # Copyright (c) 1992 AT&T - All rights reserved. + # +! # Prototype Makefile for sam + # +- # define operating system. ONE of: +- # -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1 +- # -DHPUX -DAPOLLO -DCONVEX -DDYNIX +- # + # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified + # if your compiler supports posix-compatible compilation +! OS=-DIRIX -ansiposix + + # add -Iincludedir for any include directories that need to be searched + # for posix header files (for UMIPS, add -I/usr/include/posix) +! INCS=-I../include + + # Set the name of the environment variable containing the user's home directory + HOMEDIR=HOME +--- 1,17 ---- + # Copyright (c) 1992 AT&T - All rights reserved. + # +! # Prototype BSDi Makefile for sam +! # Courtesy of Boyd Roberts +! # +! # Define operating system type: -DBSDi + # + # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified + # if your compiler supports posix-compatible compilation +! OS=-DBSDi -O2 + + # add -Iincludedir for any include directories that need to be searched + # for posix header files (for UMIPS, add -I/usr/include/posix) +! INCS=-I../include -I/usr/include/posix + + # Set the name of the environment variable containing the user's home directory + HOMEDIR=HOME +*************** +*** 22,33 **** + # where sam is to be installed. SAMSAVEDIR is the name of the directory + # where the samsave file restoration script is stored. + RSAMNAME=sam +! TERMNAME=/v/bin/samterm +! SAMDIR=/usr/bin +! SAMSAVEDIR=/v/bin + + # Set TMP to a good place for tmp files (with lots of room) +! TMP=/usr/tmp + + # Set SHELLNAME and SHELLPATH to the name of a shell and the pathname + # of its executable +--- 21,32 ---- + # where sam is to be installed. SAMSAVEDIR is the name of the directory + # where the samsave file restoration script is stored. + RSAMNAME=sam +! TERMNAME=$(PREFIX)/bin/samterm +! SAMDIR=$(PREFIX)/bin +! SAMSAVEDIR=$(PREFIX)/bin + + # Set TMP to a good place for tmp files (with lots of room) +! TMP=/var/tmp + + # Set SHELLNAME and SHELLPATH to the name of a shell and the pathname + # of its executable +*************** +*** 37,43 **** + # Set RXNAME and RXPATHNAME to the name of the remote execution command + # and the pathname of its executable + RXNAME=rsh +! RXPATHNAME=/usr/bsd/rsh + + SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave + +--- 36,42 ---- + # Set RXNAME and RXPATHNAME to the name of the remote execution command + # and the pathname of its executable + RXNAME=rsh +! RXPATHNAME=/usr/bin/rsh + + SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave + +*************** +*** 68,76 **** + rm -f sam + + install: sam +! cp sam $(SAMDIR)/$(RSAMNAME) +! cp samsave $(SAMSAVEDIR)/samsave +! chmod +x samsave + + $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h + +--- 67,76 ---- + rm -f sam + + install: sam +! $(INSTALL) -c sam $(SAMDIR)/$(RSAMNAME) +! $(INSTALL) -c samsave $(SAMSAVEDIR)/samsave +! $(INSTALL) -c B.rc $(SAMDIR)/B +! chmod +x $(SAMSAVEDIR)/samsave + + $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h + +*** sam/B.rc.orig Mon Jul 31 15:45:31 1995 +--- sam/B.rc Mon Jul 31 15:47:10 1995 +*************** +*** 1,4 **** +! #!/bin/rc + + files=() + line='' +--- 1,4 ---- +! #!/usr/local/bin/rc + + files=() + line='' |