From 4a6b440781fce7e5e00b01f8e3b0026aef5b3705 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Mon, 14 Aug 1995 04:08:02 +0000 Subject: Various plan9 utilities. It's such a complete collection, I'm going to import it all at once! Submitted by: Eric L. Hernes --- editors/sam/files/patch-aa | 62 ++++++++++++++++++++++++++++++++++++++++ editors/sam/files/patch-ab | 46 ++++++++++++++++++++++++++++++ editors/sam/files/patch-ac | 71 ++++++++++++++++++++++++++++++++++++++++++++++ editors/sam/files/patch-ae | 23 +++++++++++++++ editors/sam/files/patch-af | 41 ++++++++++++++++++++++++++ 5 files changed, 243 insertions(+) create mode 100644 editors/sam/files/patch-aa create mode 100644 editors/sam/files/patch-ab create mode 100644 editors/sam/files/patch-ac create mode 100644 editors/sam/files/patch-ae create mode 100644 editors/sam/files/patch-af (limited to 'editors/sam/files') diff --git a/editors/sam/files/patch-aa b/editors/sam/files/patch-aa new file mode 100644 index 000000000000..6b5c32ede1dc --- /dev/null +++ b/editors/sam/files/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/files/patch-ab b/editors/sam/files/patch-ab new file mode 100644 index 000000000000..3ff1dcdce98c --- /dev/null +++ b/editors/sam/files/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/files/patch-ac b/editors/sam/files/patch-ac new file mode 100644 index 000000000000..00db47f4ac62 --- /dev/null +++ b/editors/sam/files/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/files/patch-ae b/editors/sam/files/patch-ae new file mode 100644 index 000000000000..95c677a84255 --- /dev/null +++ b/editors/sam/files/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/files/patch-af b/editors/sam/files/patch-af new file mode 100644 index 000000000000..ba87ef18a544 --- /dev/null +++ b/editors/sam/files/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 -- cgit v1.2.3