aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-11-25 00:43:14 +0800
committerobraun <obraun@FreeBSD.org>2002-11-25 00:43:14 +0800
commit4664eb5f95fe32cf5ad8a0d9e428a37a162cdef1 (patch)
treeca59cc8ac87ffdd72fd3e13ad57c845ff43dbd2a /misc
parent1558de8f2baf2bc4d1d4e22911d0da41194baf48 (diff)
downloadfreebsd-ports-gnome-4664eb5f95fe32cf5ad8a0d9e428a37a162cdef1.tar.gz
freebsd-ports-gnome-4664eb5f95fe32cf5ad8a0d9e428a37a162cdef1.tar.zst
freebsd-ports-gnome-4664eb5f95fe32cf5ad8a0d9e428a37a162cdef1.zip
- 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>
Diffstat (limited to 'misc')
-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/