summaryrefslogtreecommitdiff
path: root/editors/sam/patches
diff options
context:
space:
mode:
Diffstat (limited to 'editors/sam/patches')
-rw-r--r--editors/sam/patches/patch-aa62
-rw-r--r--editors/sam/patches/patch-ab46
-rw-r--r--editors/sam/patches/patch-ac71
-rw-r--r--editors/sam/patches/patch-ad119
-rw-r--r--editors/sam/patches/patch-ae23
-rw-r--r--editors/sam/patches/patch-af41
6 files changed, 362 insertions, 0 deletions
diff --git a/editors/sam/patches/patch-aa b/editors/sam/patches/patch-aa
new file mode 100644
index 00000000000..6b5c32ede1d
--- /dev/null
+++ b/editors/sam/patches/patch-aa
@@ -0,0 +1,62 @@
+*** libXg/Makefile.orig Fri Jul 28 14:02:17 1995
+--- libXg/Makefile Fri Jul 21 15:03:43 1995
+***************
+*** 1,24 ****
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype Makefile for libXg
+ #
+- # 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
+! INCS=-I../include
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+! XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
+
+ # add name of library orderer - use ":" if none
+! RANLIB=:
+
+ # add name of librarian
+ AR=ar
+--- 1,23 ----
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype BSDi Makefile for libXg
+! # 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=-O2 -DBSDi
+
+ # add -Iincludedir for any include directories that need to be searched
+! INCS=-I../include -I/usr/X11R6/include
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+! XLIBS=/usr/X11/lib/libXt.a /usr/X11/lib/libX11.a
+
+ # add name of library orderer - use ":" if none
+! RANLIB=ranlib
+
+ # add name of librarian
+ AR=ar
+***************
+*** 50,56 ****
+ $(LIB): $(OBJS)
+ $(AR) rv $(LIB) $(OBJS)
+ $(RANLIB) $(LIB)
+-
+- $(LIB)(%.o): %.o
+
+ $(OBJS): ../include/libg.h libgint.h ../include/libc.h
+--- 49,53 ----
diff --git a/editors/sam/patches/patch-ab b/editors/sam/patches/patch-ab
new file mode 100644
index 00000000000..3ff1dcdce98
--- /dev/null
+++ b/editors/sam/patches/patch-ab
@@ -0,0 +1,46 @@
+*** libframe/Makefile.orig Fri Jul 28 14:08:32 1995
+--- libframe/Makefile Fri Jul 21 15:02:32 1995
+***************
+*** 1,21 ****
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype Makefile for libframe
+ #
+- # 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
+
+ # add name of library orderer - use ":" if none exists
+! RANLIB=:
+
+ # add name of library
+ AR=ar
+--- 1,20 ----
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype BSDi Makefile for libframe
+! # 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
+
+ # add name of library orderer - use ":" if none exists
+! RANLIB=ranlib
+
+ # add name of library
+ AR=ar
diff --git a/editors/sam/patches/patch-ac b/editors/sam/patches/patch-ac
new file mode 100644
index 00000000000..00db47f4ac6
--- /dev/null
+++ b/editors/sam/patches/patch-ac
@@ -0,0 +1,71 @@
+*** samterm/Makefile.orig Fri Jul 28 14:09:32 1995
+--- samterm/Makefile Fri Jul 21 15:30:09 1995
+***************
+*** 1,31 ****
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype Makefile for samterm
+ #
+- # 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
+
+ # SAMTERM contains the name of the file containing the samterm
+ # executable. SAMTERMDIR is the directory where it is installed.
+ SAMTERM=samterm
+! SAMTERMDIR=/v/bin
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+! XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
+
+ CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
+
+! LIBS=../libframe/libframe.a ../libXg/libXg.a
+ CC=cc
+
+ OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o
+--- 1,35 ----
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype BSDi Makefile for samterm
+! # 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
+
+ # SAMTERM contains the name of the file containing the samterm
+ # executable. SAMTERMDIR is the directory where it is installed.
+ SAMTERM=samterm
+! SAMTERMDIR=$(PREFIX)/bin
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+! #XLIBS= /usr/X11R6/lib/libXt.a \
+! # /usr/X11R6/lib/libSM.a \
+! # /usr/X11R6/lib/libICE.a \
+! # /usr/X11R6/lib/libX11.a
+!
+! XLIBS=-L/usr/X11R6/lib -lXt -lSM -lICE -lX11
+
+ CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
+
+! LIBS=../libframe/libframe.a ../libXg/libXg.a
+ CC=cc
+
+ OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o
diff --git a/editors/sam/patches/patch-ad b/editors/sam/patches/patch-ad
new file mode 100644
index 00000000000..d444b917162
--- /dev/null
+++ b/editors/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=''
diff --git a/editors/sam/patches/patch-ae b/editors/sam/patches/patch-ae
new file mode 100644
index 00000000000..95c677a8425
--- /dev/null
+++ b/editors/sam/patches/patch-ae
@@ -0,0 +1,23 @@
+*** include/u.h~ Fri Jul 21 15:01:18 1995
+--- include/u.h Fri Jul 21 16:47:00 1995
+***************
+*** 46,53 ****
+ #define NOFIFO /* turn off exstart in samterm/unix.c */
+ #endif /* UMIPS */
+
+! #ifdef SUNOS
+ typedef unsigned short ushort;
+ typedef unsigned long ulong;
+ extern char *strerror(int);
+ extern void *memmove(void*, const void*, size_t);
+--- 46,55 ----
+ #define NOFIFO /* turn off exstart in samterm/unix.c */
+ #endif /* UMIPS */
+
+! #if defined(SUNOS)
+! #ifndef __FreeBSD__
+ typedef unsigned short ushort;
++ #endif
+ typedef unsigned long ulong;
+ extern char *strerror(int);
+ extern void *memmove(void*, const void*, size_t);
diff --git a/editors/sam/patches/patch-af b/editors/sam/patches/patch-af
new file mode 100644
index 00000000000..ba87ef18a54
--- /dev/null
+++ b/editors/sam/patches/patch-af
@@ -0,0 +1,41 @@
+*** Makefile.orig Fri Aug 11 15:55:41 1995
+--- Makefile Fri Aug 11 16:08:35 1995
+***************
+*** 3,8 ****
+--- 3,17 ----
+ # master makefile for sam. configure sub-makefiles first.
+ #
+
++
++ MAN=man
++ MAN1=sam
++ MAN3=add balloc bitblt cachechars event frame graphics rgbpix rune
++ MAN4=font keyboard utf
++ MAN6=bitmap regexp
++ APP_DEFAULT_DIR=/usr/X11R6/lib/X11/app-defaults
++ AD=Sam
++
+ all: lXg lframe samdir samtermdir
+
+ lXg:
+***************
+*** 21,26 ****
+--- 30,47 ----
+ cd libframe; $(MAKE) install
+ cd sam; $(MAKE) install
+ cd samterm; $(MAKE) install
++ pwd
++ for i in $(MAN1); do cp doc/$$i.1 $(PREFIX)/$(MAN)/man1/$$i.1; done
++ for i in $(MAN3); do cp doc/$$i.3 $(PREFIX)/$(MAN)/man3/$$i.3; done
++ for i in $(MAN4); do cp doc/$$i.4 $(PREFIX)/$(MAN)/man4/$$i.4; done
++ for i in $(MAN6); do cp doc/$$i.6 $(PREFIX)/$(MAN)/man6/$$i.6; done
++ cp doc/$(AD).ad $(APP_DEFAULT_DIR)/$(AD)
++ strip $(PREFIX)/bin/sam
++ strip $(PREFIX)/bin/samterm
++ for i in $(MAN1); do gzip -9nf $(PREFIX)/$(MAN)/man1/$$i.1; done
++ for i in $(MAN3); do gzip -9nf $(PREFIX)/$(MAN)/man3/$$i.3; done
++ for i in $(MAN4); do gzip -9nf $(PREFIX)/$(MAN)/man4/$$i.4; done
++ for i in $(MAN6); do gzip -9nf $(PREFIX)/$(MAN)/man6/$$i.6; done
+
+ clean:
+ cd libXg; $(MAKE) clean