summaryrefslogtreecommitdiff
path: root/misc/team/files
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1995-07-01 17:57:54 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1995-07-01 17:57:54 +0000
commit14cc16693022b8b47dd05e40de9d00c1cebbf9ad (patch)
tree7b00d2aa6378c129fa3767a85ba9c1264a70884d /misc/team/files
parentAdd tin, convert Makefile along the way. (diff)
team - portable multi-buffered tape streaming utility
Notes
Notes: svn path=/head/; revision=1910
Diffstat (limited to 'misc/team/files')
-rw-r--r--misc/team/files/patch-a34
-rw-r--r--misc/team/files/patch-b28
2 files changed, 62 insertions, 0 deletions
diff --git a/misc/team/files/patch-a b/misc/team/files/patch-a
new file mode 100644
index 000000000000..2a8bd311e970
--- /dev/null
+++ b/misc/team/files/patch-a
@@ -0,0 +1,34 @@
+diff -u team-3.1/Makefile ./Makefile
+--- team-3.1/Makefile Sat Jul 1 17:33:24 1995
++++ ./Makefile Sat Jul 1 17:53:20 1995
+@@ -1,25 +1,8 @@
+-CFLAGS =-O
+-LDFLAGS =-s
++PROG= team
+
+-INSTX =install -m 0755 -s
+-INSTD =install -m 0644
++BINDIR= ${PREFIX}/bin
++MANDIR= ${PREFIX}/man/man
+
+-DEST=
++CFLAGS+= -DHAVE_PARAM_H
+
+-MI =$(DEST)/usr/
+-MD =$(DEST)/usr/
+-
+-M1X =1
+-
+-BIND =$(MD)bin/
+-MANI =$(MI)man
+-
+-MANI1 =$(MANI)$(M1X)/
+-
+-all: team
+-
+-clean::
+- rm -f team team.o
+-
+-$(BIND)team: team; $(INSTX) $? $@
+-$(MANI1)team.$(M1X): team.1; $(INSTD) $? $@
++.include <bsd.prog.mk>
diff --git a/misc/team/files/patch-b b/misc/team/files/patch-b
new file mode 100644
index 000000000000..293325e09a3c
--- /dev/null
+++ b/misc/team/files/patch-b
@@ -0,0 +1,28 @@
+diff -u team-3.1/team.c ./team.c
+--- team-3.1/team.c Sat Jul 1 17:33:24 1995
++++ ./team.c Sat Jul 1 17:54:05 1995
+@@ -85,6 +85,11 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+
++#ifdef HAVE_PARAM_H
++#include <sys/param.h>
++#endif
++
++
+ #ifdef sun
+ # undef F_SETLKW
+ #endif
+@@ -286,7 +291,12 @@
+ do
+ {
+ #if (defined i386 || defined sun)
++# if !(defined(BSD) && (BSD >= 199306))
+ extern char *(sys_errlist[]);
++# endif
++# if (defined(BSD) && (BSD >= 199306)) && __STDC__
++ const
++# endif
+ char *errmsg = sys_errlist[errno];
+ #else
+ char errmsg[32];