summaryrefslogtreecommitdiff
path: root/misc/tcb
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-11-24 16:43:14 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-11-24 16:43:14 +0000
commit9e32acae12fe0cf00c3de970a9656c92aa725caf (patch)
tree8c90db3544e1ba058d28dbcf0a596362097ecbd7 /misc/tcb
parentForgot another 0 byte file. (diff)
- console.h is spelled consio.h here.
- Fix union wait - Remove pointers to no longer existent web page PR: ports/45677 Submitted by: Volker Stolz <vs@foldr.org>
Notes
Notes: svn path=/head/; revision=71016
Diffstat (limited to 'misc/tcb')
-rw-r--r--misc/tcb/Makefile3
-rw-r--r--misc/tcb/files/patch-Makefile11
-rw-r--r--misc/tcb/files/patch-src-tcb.c20
-rw-r--r--misc/tcb/pkg-descr2
4 files changed, 32 insertions, 4 deletions
diff --git a/misc/tcb/Makefile b/misc/tcb/Makefile
index beb0b6bbbbbd..3368627c6cb8 100644
--- a/misc/tcb/Makefile
+++ b/misc/tcb/Makefile
@@ -8,8 +8,7 @@
PORTNAME= tcb
PORTVERSION= 1.4a
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
- http://www.osk.3web.ne.jp/~moody/tcbj/
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/file
MAINTAINER= ports@FreeBSD.org
diff --git a/misc/tcb/files/patch-Makefile b/misc/tcb/files/patch-Makefile
new file mode 100644
index 000000000000..b55db2dab316
--- /dev/null
+++ b/misc/tcb/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Sun Nov 24 15:48:55 2002
++++ Makefile Sun Nov 24 15:49:08 2002
+@@ -6,7 +6,7 @@
+
+ src/tcb: src/config.h
+ @echo 'Making tcb:'
+- @cd src; make; cd ..
++ @cd src; $(MAKE); cd ..
+
+ src/config.h: config.sh
+ @./config.sh $(USR_DIR) # $(USR_DIR): Debian (Linux)
diff --git a/misc/tcb/files/patch-src-tcb.c b/misc/tcb/files/patch-src-tcb.c
new file mode 100644
index 000000000000..9f07a5c3341d
--- /dev/null
+++ b/misc/tcb/files/patch-src-tcb.c
@@ -0,0 +1,20 @@
+--- src/tcb.c.orig Mon Nov 23 15:51:15 1998
++++ src/tcb.c Sun Nov 24 15:38:49 2002
+@@ -12,7 +12,7 @@
+ #include <sys/vt.h>
+ #include <sys/kd.h>
+ #else
+-#include <machine/console.h>
++#include <sys/consio.h>
+ #endif linux
+
+ static struct {
+@@ -574,7 +574,7 @@
+ void sig_child(int dummy)
+ {
+ int pid;
+- union wait status;
++ int status;
+
+ while ((pid = wait3((int*)&status, WNOHANG, (struct rusage *)0)) > 0) ;
+ }
diff --git a/misc/tcb/pkg-descr b/misc/tcb/pkg-descr
index 7452164651ad..9b9c5a26e8a5 100644
--- a/misc/tcb/pkg-descr
+++ b/misc/tcb/pkg-descr
@@ -1,4 +1,2 @@
Tcb is a file viewer that works on a terminal. It allows
view file in ASCII or HEX format.
-
-WWW: http://www.osk.3web.ne.jp/~moody/tcbj/